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

Side by Side Diff: chrome/browser/extensions/api/cloud_print_private/cloud_print_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 (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_EXTENSIONS_API_CLOUD_PRINT_PRIVATE_CLOUD_PRINT_PRIVATE_AP I_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CLOUD_PRINT_PRIVATE_CLOUD_PRINT_PRIVATE_AP I_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_CLOUD_PRINT_PRIVATE_CLOUD_PRINT_PRIVATE_AP I_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_CLOUD_PRINT_PRIVATE_CLOUD_PRINT_PRIVATE_AP I_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 public: 51 public:
52 DECLARE_EXTENSION_FUNCTION("cloudPrintPrivate.setupConnector", 52 DECLARE_EXTENSION_FUNCTION("cloudPrintPrivate.setupConnector",
53 CLOUDPRINTPRIVATE_SETUPCONNECTOR) 53 CLOUDPRINTPRIVATE_SETUPCONNECTOR)
54 54
55 CloudPrintPrivateSetupConnectorFunction(); 55 CloudPrintPrivateSetupConnectorFunction();
56 56
57 protected: 57 protected:
58 virtual ~CloudPrintPrivateSetupConnectorFunction(); 58 virtual ~CloudPrintPrivateSetupConnectorFunction();
59 59
60 // ExtensionFunction: 60 // ExtensionFunction:
61 virtual bool RunAsync() OVERRIDE; 61 virtual bool RunAsync() override;
62 }; 62 };
63 63
64 class CloudPrintPrivateGetHostNameFunction 64 class CloudPrintPrivateGetHostNameFunction
65 : public ChromeAsyncExtensionFunction { 65 : public ChromeAsyncExtensionFunction {
66 public: 66 public:
67 DECLARE_EXTENSION_FUNCTION("cloudPrintPrivate.getHostName", 67 DECLARE_EXTENSION_FUNCTION("cloudPrintPrivate.getHostName",
68 CLOUDPRINTPRIVATE_GETHOSTNAME) 68 CLOUDPRINTPRIVATE_GETHOSTNAME)
69 69
70 CloudPrintPrivateGetHostNameFunction(); 70 CloudPrintPrivateGetHostNameFunction();
71 71
72 protected: 72 protected:
73 virtual ~CloudPrintPrivateGetHostNameFunction(); 73 virtual ~CloudPrintPrivateGetHostNameFunction();
74 74
75 // ExtensionFunction: 75 // ExtensionFunction:
76 virtual bool RunAsync() OVERRIDE; 76 virtual bool RunAsync() override;
77 }; 77 };
78 78
79 class CloudPrintPrivateGetPrintersFunction 79 class CloudPrintPrivateGetPrintersFunction
80 : public ChromeAsyncExtensionFunction { 80 : public ChromeAsyncExtensionFunction {
81 public: 81 public:
82 DECLARE_EXTENSION_FUNCTION("cloudPrintPrivate.getPrinters", 82 DECLARE_EXTENSION_FUNCTION("cloudPrintPrivate.getPrinters",
83 CLOUDPRINTPRIVATE_GETPRINTERS) 83 CLOUDPRINTPRIVATE_GETPRINTERS)
84 84
85 CloudPrintPrivateGetPrintersFunction(); 85 CloudPrintPrivateGetPrintersFunction();
86 86
87 protected: 87 protected:
88 virtual ~CloudPrintPrivateGetPrintersFunction(); 88 virtual ~CloudPrintPrivateGetPrintersFunction();
89 89
90 private: 90 private:
91 void SendResults(const std::vector<std::string>& printers); 91 void SendResults(const std::vector<std::string>& printers);
92 92
93 // ExtensionFunction: 93 // ExtensionFunction:
94 virtual bool RunAsync() OVERRIDE; 94 virtual bool RunAsync() override;
95 }; 95 };
96 96
97 class CloudPrintPrivateGetClientIdFunction 97 class CloudPrintPrivateGetClientIdFunction
98 : public ChromeAsyncExtensionFunction { 98 : public ChromeAsyncExtensionFunction {
99 public: 99 public:
100 DECLARE_EXTENSION_FUNCTION("cloudPrintPrivate.getClientId", 100 DECLARE_EXTENSION_FUNCTION("cloudPrintPrivate.getClientId",
101 CLOUDPRINTPRIVATE_GETCLIENTID); 101 CLOUDPRINTPRIVATE_GETCLIENTID);
102 102
103 CloudPrintPrivateGetClientIdFunction(); 103 CloudPrintPrivateGetClientIdFunction();
104 104
105 protected: 105 protected:
106 virtual ~CloudPrintPrivateGetClientIdFunction(); 106 virtual ~CloudPrintPrivateGetClientIdFunction();
107 107
108 // ExtensionFunction: 108 // ExtensionFunction:
109 virtual bool RunAsync() OVERRIDE; 109 virtual bool RunAsync() override;
110 }; 110 };
111 111
112 } // namespace extensions 112 } // namespace extensions
113 113
114 #endif // CHROME_BROWSER_EXTENSIONS_API_CLOUD_PRINT_PRIVATE_CLOUD_PRINT_PRIVATE _API_H_ 114 #endif // CHROME_BROWSER_EXTENSIONS_API_CLOUD_PRINT_PRIVATE_CLOUD_PRINT_PRIVATE _API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698