OLD | NEW |
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 { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // This will go away once we check in the code for the CopresenceAPI BCK | |
64 // service which lets us inject a whispernet client. | |
65 void SetWhispernetClientForTesting(copresence::WhispernetClient* client); | |
66 | |
67 } // namespace extensions | 63 } // namespace extensions |
68 | 64 |
69 #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_ |
OLD | NEW |