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

Side by Side Diff: extensions/browser/api/system_display/system_display_api.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_
6 #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ 6 #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "extensions/browser/extension_function.h" 10 #include "extensions/browser/extension_function.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 class SystemDisplayGetInfoFunction : public SyncExtensionFunction { 14 class SystemDisplayGetInfoFunction : public SyncExtensionFunction {
15 public: 15 public:
16 DECLARE_EXTENSION_FUNCTION("system.display.getInfo", SYSTEM_DISPLAY_GETINFO); 16 DECLARE_EXTENSION_FUNCTION("system.display.getInfo", SYSTEM_DISPLAY_GETINFO);
17 17
18 protected: 18 protected:
19 virtual ~SystemDisplayGetInfoFunction() {} 19 virtual ~SystemDisplayGetInfoFunction() {}
20 virtual bool RunSync() OVERRIDE; 20 virtual bool RunSync() override;
21 }; 21 };
22 22
23 class SystemDisplaySetDisplayPropertiesFunction : public SyncExtensionFunction { 23 class SystemDisplaySetDisplayPropertiesFunction : public SyncExtensionFunction {
24 public: 24 public:
25 DECLARE_EXTENSION_FUNCTION("system.display.setDisplayProperties", 25 DECLARE_EXTENSION_FUNCTION("system.display.setDisplayProperties",
26 SYSTEM_DISPLAY_SETDISPLAYPROPERTIES); 26 SYSTEM_DISPLAY_SETDISPLAYPROPERTIES);
27 27
28 protected: 28 protected:
29 virtual ~SystemDisplaySetDisplayPropertiesFunction() {} 29 virtual ~SystemDisplaySetDisplayPropertiesFunction() {}
30 virtual bool RunSync() OVERRIDE; 30 virtual bool RunSync() override;
31 }; 31 };
32 32
33 } // namespace extensions 33 } // namespace extensions
34 34
35 #endif // EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ 35 #endif // EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/system_cpu/system_cpu_api.h ('k') | extensions/browser/api/system_info/system_info_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698