Add ICU message format support
[chromium-blink-merge.git] / chrome / browser / geolocation / chrome_access_token_store.h
blob92d0791eda36b6beefa50d73070c33b852338295
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_
6 #define CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_
8 #include "base/memory/ref_counted.h"
9 #include "content/public/browser/access_token_store.h"
11 class PrefRegistrySimple;
13 // Creates a new access token store backed by the global chome prefs.
14 class ChromeAccessTokenStore : public content::AccessTokenStore {
15 public:
16 static void RegisterPrefs(PrefRegistrySimple* registry);
18 ChromeAccessTokenStore();
20 void LoadAccessTokens(const LoadAccessTokensCallbackType& request) override;
22 private:
23 ~ChromeAccessTokenStore() override;
25 // AccessTokenStore
26 void SaveAccessToken(const GURL& server_url,
27 const base::string16& access_token) override;
29 DISALLOW_COPY_AND_ASSIGN(ChromeAccessTokenStore);
32 #endif // CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_