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

Side by Side Diff: chrome/browser/chromeos/extensions/info_private_api.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h 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) 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_CHROMEOS_EXTENSIONS_INFO_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_INFO_PRIVATE_API_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INFO_PRIVATE_API_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_INFO_PRIVATE_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "extensions/browser/extension_function.h" 11 #include "extensions/browser/extension_function.h"
12 12
13 namespace base { 13 namespace base {
14 class Value; 14 class Value;
15 } 15 }
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 class ChromeosInfoPrivateGetFunction : public AsyncExtensionFunction { 19 class ChromeosInfoPrivateGetFunction : public AsyncExtensionFunction {
20 public: 20 public:
21 ChromeosInfoPrivateGetFunction(); 21 ChromeosInfoPrivateGetFunction();
22 22
23 protected: 23 protected:
24 virtual ~ChromeosInfoPrivateGetFunction(); 24 virtual ~ChromeosInfoPrivateGetFunction();
25 25
26 virtual bool RunAsync() OVERRIDE; 26 virtual bool RunAsync() override;
27 27
28 private: 28 private:
29 // Returns a newly allocate value, or null. 29 // Returns a newly allocate value, or null.
30 base::Value* GetValue(const std::string& property_name); 30 base::Value* GetValue(const std::string& property_name);
31 31
32 // Gets boolean |pref| value from PrefService. 32 // Gets boolean |pref| value from PrefService.
33 bool GetBooleanPrefValue(const char* pref); 33 bool GetBooleanPrefValue(const char* pref);
34 34
35 DECLARE_EXTENSION_FUNCTION("chromeosInfoPrivate.get", CHROMEOSINFOPRIVATE_GET) 35 DECLARE_EXTENSION_FUNCTION("chromeosInfoPrivate.get", CHROMEOSINFOPRIVATE_GET)
36 }; 36 };
37 37
38 class ChromeosInfoPrivateSetFunction : public SyncExtensionFunction { 38 class ChromeosInfoPrivateSetFunction : public SyncExtensionFunction {
39 public: 39 public:
40 ChromeosInfoPrivateSetFunction(); 40 ChromeosInfoPrivateSetFunction();
41 41
42 protected: 42 protected:
43 virtual ~ChromeosInfoPrivateSetFunction(); 43 virtual ~ChromeosInfoPrivateSetFunction();
44 44
45 virtual bool RunSync() OVERRIDE; 45 virtual bool RunSync() override;
46 46
47 private: 47 private:
48 DECLARE_EXTENSION_FUNCTION("chromeosInfoPrivate.set", CHROMEOSINFOPRIVATE_SET) 48 DECLARE_EXTENSION_FUNCTION("chromeosInfoPrivate.set", CHROMEOSINFOPRIVATE_SET)
49 }; 49 };
50 50
51 51
52 } // namespace extensions 52 } // namespace extensions
53 53
54 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INFO_PRIVATE_API_H_ 54 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_INFO_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/first_run_private_api.h ('k') | chrome/browser/chromeos/extensions/input_method_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698