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

Side by Side Diff: chrome/browser/extensions/api/preferences_private/preferences_private_api.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_EXTENSIONS_API_PREFERENCES_PRIVATE_PREFERENCES_PRIVATE_AP I_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PREFERENCES_PRIVATE_PREFERENCES_PRIVATE_AP I_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_PREFERENCES_PRIVATE_PREFERENCES_PRIVATE_AP I_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_PREFERENCES_PRIVATE_PREFERENCES_PRIVATE_AP I_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/extensions/chrome_extension_function.h" 9 #include "chrome/browser/extensions/chrome_extension_function.h"
10 #include "chrome/browser/sync/profile_sync_service_observer.h" 10 #include "chrome/browser/sync/profile_sync_service_observer.h"
11 #include "extensions/browser/extension_function.h" 11 #include "extensions/browser/extension_function.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 class PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction 15 class PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction
16 : public ChromeAsyncExtensionFunction, public ProfileSyncServiceObserver { 16 : public ChromeAsyncExtensionFunction, public ProfileSyncServiceObserver {
17 public: 17 public:
18 DECLARE_EXTENSION_FUNCTION( 18 DECLARE_EXTENSION_FUNCTION(
19 "preferencesPrivate.getSyncCategoriesWithoutPassphrase", 19 "preferencesPrivate.getSyncCategoriesWithoutPassphrase",
20 PREFERENCESPRIVATE_GETSYNCCATEGORIESWITHOUTPASSPHRASE) 20 PREFERENCESPRIVATE_GETSYNCCATEGORIESWITHOUTPASSPHRASE)
21 21
22 PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction(); 22 PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction();
23 23
24 protected: 24 protected:
25 virtual ~PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction(); 25 virtual ~PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction();
26 26
27 private: 27 private:
28 // ProfileSyncServiceObserver: 28 // ProfileSyncServiceObserver:
29 virtual void OnStateChanged() OVERRIDE; 29 virtual void OnStateChanged() override;
30 30
31 // ExtensionFunction: 31 // ExtensionFunction:
32 virtual bool RunAsync() OVERRIDE; 32 virtual bool RunAsync() override;
33 33
34 DISALLOW_COPY_AND_ASSIGN( 34 DISALLOW_COPY_AND_ASSIGN(
35 PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction); 35 PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction);
36 }; 36 };
37 37
38 } // namespace extensions 38 } // namespace extensions
39 39
40 #endif // CHROME_BROWSER_EXTENSIONS_API_PREFERENCES_PRIVATE_PREFERENCES_PRIVATE _API_H_ 40 #endif // CHROME_BROWSER_EXTENSIONS_API_PREFERENCES_PRIVATE_PREFERENCES_PRIVATE _API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698