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

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

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/public/browser/access_token_store.h" 9 #include "content/public/browser/access_token_store.h"
10 10
11 class PrefRegistrySimple; 11 class PrefRegistrySimple;
12 12
13 // Creates a new access token store backed by the global chome prefs. 13 // Creates a new access token store backed by the global chome prefs.
14 class ChromeAccessTokenStore : public content::AccessTokenStore { 14 class ChromeAccessTokenStore : public content::AccessTokenStore {
15 public: 15 public:
16 static void RegisterPrefs(PrefRegistrySimple* registry); 16 static void RegisterPrefs(PrefRegistrySimple* registry);
17 17
18 ChromeAccessTokenStore(); 18 ChromeAccessTokenStore();
19 19
20 virtual void LoadAccessTokens( 20 void LoadAccessTokens(const LoadAccessTokensCallbackType& request) override;
21 const LoadAccessTokensCallbackType& request) override;
22 21
23 private: 22 private:
24 virtual ~ChromeAccessTokenStore(); 23 ~ChromeAccessTokenStore() override;
25 24
26 // AccessTokenStore 25 // AccessTokenStore
27 virtual void SaveAccessToken( 26 void SaveAccessToken(const GURL& server_url,
28 const GURL& server_url, const base::string16& access_token) override; 27 const base::string16& access_token) override;
29 28
30 DISALLOW_COPY_AND_ASSIGN(ChromeAccessTokenStore); 29 DISALLOW_COPY_AND_ASSIGN(ChromeAccessTokenStore);
31 }; 30 };
32 31
33 #endif // CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_ 32 #endif // CHROME_BROWSER_GEOLOCATION_CHROME_ACCESS_TOKEN_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/font_family_cache_unittest.cc ('k') | chrome/browser/geolocation/geolocation_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698