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

Side by Side Diff: chrome/browser/extensions/api/copresence_private/copresence_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_COPRESENCE_PRIVATE_COPRESENCE_PRIVATE_API_ H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_PRIVATE_COPRESENCE_PRIVATE_API_ H_
6 #define CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_PRIVATE_COPRESENCE_PRIVATE_API_ H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_PRIVATE_COPRESENCE_PRIVATE_API_ H_
7 7
8 #include "chrome/browser/extensions/chrome_extension_function.h" 8 #include "chrome/browser/extensions/chrome_extension_function.h"
9 9
10 namespace copresence { 10 namespace copresence {
11 class WhispernetClient; 11 class WhispernetClient;
12 } 12 }
13 13
14 namespace extensions { 14 namespace extensions {
15 15
16 class CopresencePrivateFunction : public ChromeUIThreadExtensionFunction { 16 class CopresencePrivateFunction : public ChromeUIThreadExtensionFunction {
17 protected: 17 protected:
18 copresence::WhispernetClient* GetWhispernetClient(); 18 copresence::WhispernetClient* GetWhispernetClient();
19 virtual ~CopresencePrivateFunction() {} 19 virtual ~CopresencePrivateFunction() {}
20 }; 20 };
21 21
22 class CopresencePrivateSendFoundFunction : public CopresencePrivateFunction { 22 class CopresencePrivateSendFoundFunction : public CopresencePrivateFunction {
23 public: 23 public:
24 DECLARE_EXTENSION_FUNCTION("copresencePrivate.sendFound", 24 DECLARE_EXTENSION_FUNCTION("copresencePrivate.sendFound",
25 COPRESENCEPRIVATE_SENDFOUND); 25 COPRESENCEPRIVATE_SENDFOUND);
26 26
27 protected: 27 protected:
28 virtual ~CopresencePrivateSendFoundFunction() {} 28 virtual ~CopresencePrivateSendFoundFunction() {}
29 virtual ExtensionFunction::ResponseAction Run() OVERRIDE; 29 virtual ExtensionFunction::ResponseAction Run() override;
30 }; 30 };
31 31
32 class CopresencePrivateSendSamplesFunction : public CopresencePrivateFunction { 32 class CopresencePrivateSendSamplesFunction : public CopresencePrivateFunction {
33 public: 33 public:
34 DECLARE_EXTENSION_FUNCTION("copresencePrivate.sendSamples", 34 DECLARE_EXTENSION_FUNCTION("copresencePrivate.sendSamples",
35 COPRESENCEPRIVATE_SENDSAMPLES); 35 COPRESENCEPRIVATE_SENDSAMPLES);
36 36
37 protected: 37 protected:
38 virtual ~CopresencePrivateSendSamplesFunction() {} 38 virtual ~CopresencePrivateSendSamplesFunction() {}
39 virtual ExtensionFunction::ResponseAction Run() OVERRIDE; 39 virtual ExtensionFunction::ResponseAction Run() override;
40 }; 40 };
41 41
42 class CopresencePrivateSendDetectFunction : public CopresencePrivateFunction { 42 class CopresencePrivateSendDetectFunction : public CopresencePrivateFunction {
43 public: 43 public:
44 DECLARE_EXTENSION_FUNCTION("copresencePrivate.sendDetect", 44 DECLARE_EXTENSION_FUNCTION("copresencePrivate.sendDetect",
45 COPRESENCEPRIVATE_SENDDETECT); 45 COPRESENCEPRIVATE_SENDDETECT);
46 46
47 protected: 47 protected:
48 virtual ~CopresencePrivateSendDetectFunction() {} 48 virtual ~CopresencePrivateSendDetectFunction() {}
49 virtual ExtensionFunction::ResponseAction Run() OVERRIDE; 49 virtual ExtensionFunction::ResponseAction Run() override;
50 }; 50 };
51 51
52 class CopresencePrivateSendInitializedFunction 52 class CopresencePrivateSendInitializedFunction
53 : public CopresencePrivateFunction { 53 : public CopresencePrivateFunction {
54 public: 54 public:
55 DECLARE_EXTENSION_FUNCTION("copresencePrivate.sendInitialized", 55 DECLARE_EXTENSION_FUNCTION("copresencePrivate.sendInitialized",
56 COPRESENCEPRIVATE_SENDINITIALIZED); 56 COPRESENCEPRIVATE_SENDINITIALIZED);
57 57
58 protected: 58 protected:
59 virtual ~CopresencePrivateSendInitializedFunction() {} 59 virtual ~CopresencePrivateSendInitializedFunction() {}
60 virtual ExtensionFunction::ResponseAction Run() OVERRIDE; 60 virtual ExtensionFunction::ResponseAction Run() override;
61 }; 61 };
62 62
63 } // namespace extensions 63 } // namespace extensions
64 64
65 #endif // CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_PRIVATE_COPRESENCE_PRIVATE_A PI_H_ 65 #endif // CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_PRIVATE_COPRESENCE_PRIVATE_A PI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698