Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: chrome/browser/geolocation/chrome_access_token_store.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_ 5 #ifndef CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_
6 #define CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_ 6 #define CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/browser/geolocation/access_token_store.h" 10 #include "content/browser/geolocation/access_token_store.h"
11 11
12 class PrefService; 12 class PrefService;
13 13
14 // Creates a new access token store backed by the global chome prefs. 14 // Creates a new access token store backed by the global chome prefs.
15 class ChromeAccessTokenStore : public AccessTokenStore { 15 class ChromeAccessTokenStore : public AccessTokenStore {
16 public: 16 public:
17 static void RegisterPrefs(PrefService* prefs); 17 static void RegisterPrefs(PrefService* prefs);
18 18
19 ChromeAccessTokenStore(); 19 ChromeAccessTokenStore();
20 20
21 private: 21 private:
22 void LoadDictionaryStoreInUIThread( 22 void LoadDictionaryStoreInUIThread(
23 scoped_refptr<CancelableRequest<LoadAccessTokensCallbackType> > request); 23 scoped_refptr<CancelableRequest<LoadAccessTokensCallbackType> > request);
24 24
25 // AccessTokenStore 25 // AccessTokenStore
26 virtual void DoLoadAccessTokens( 26 virtual void DoLoadAccessTokens(
27 scoped_refptr<CancelableRequest<LoadAccessTokensCallbackType> > request); 27 scoped_refptr<CancelableRequest<LoadAccessTokensCallbackType> > request)
28 OVERRIDE;
28 virtual void SaveAccessToken( 29 virtual void SaveAccessToken(
29 const GURL& server_url, const string16& access_token); 30 const GURL& server_url, const string16& access_token) OVERRIDE;
30 31
31 DISALLOW_COPY_AND_ASSIGN(ChromeAccessTokenStore); 32 DISALLOW_COPY_AND_ASSIGN(ChromeAccessTokenStore);
32 }; 33 };
33 34
34 #endif // CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_ 35 #endif // CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698