atom_access_token_store.h 823 B

1234567891011121314151617181920212223242526272829
  1. // Copyright (c) 2014 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ATOM_BROWSER_ATOM_ACCESS_TOKEN_STORE_H_
  5. #define ATOM_BROWSER_ATOM_ACCESS_TOKEN_STORE_H_
  6. #include "device/geolocation/access_token_store.h"
  7. namespace atom {
  8. class AtomAccessTokenStore : public device::AccessTokenStore {
  9. public:
  10. AtomAccessTokenStore() = default;
  11. // device::AccessTokenStore:
  12. void LoadAccessTokens(const LoadAccessTokensCallback& callback) override {}
  13. void SaveAccessToken(const GURL& server_url,
  14. const base::string16& access_token) override {}
  15. private:
  16. ~AtomAccessTokenStore() override = default;
  17. DISALLOW_COPY_AND_ASSIGN(AtomAccessTokenStore);
  18. };
  19. } // namespace atom
  20. #endif // ATOM_BROWSER_ATOM_ACCESS_TOKEN_STORE_H_