OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBRTC_LOGGING_PRIVATE_WEBRTC_LOGGING_PRIV
ATE_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_WEBRTC_LOGGING_PRIVATE_WEBRTC_LOGGING_PRIV
ATE_API_H_ |
| 7 |
| 8 #include "chrome/browser/extensions/extension_function.h" |
| 9 #include "chrome/common/extensions/api/webrtc_logging_private.h" |
| 10 |
| 11 namespace extensions { |
| 12 |
| 13 class WebrtcLoggingPrivateStartFunction : public AsyncExtensionFunction { |
| 14 public: |
| 15 DECLARE_EXTENSION_FUNCTION("webrtcLoggingPrivate.start", |
| 16 WEBRTCLOGGINGPRIVATE_START) |
| 17 WebrtcLoggingPrivateStartFunction(); |
| 18 |
| 19 private: |
| 20 virtual ~WebrtcLoggingPrivateStartFunction(); |
| 21 |
| 22 // ExtensionFunction overrides. |
| 23 virtual bool RunImpl() OVERRIDE; |
| 24 }; |
| 25 |
| 26 class WebrtcLoggingPrivateSetUploadOnRenderCloseFunction |
| 27 : public AsyncExtensionFunction { |
| 28 public: |
| 29 DECLARE_EXTENSION_FUNCTION("webrtcLoggingPrivate.setUploadOnRenderClose", |
| 30 WEBRTCLOGGINGPRIVATE_SETUPLOADONRENDERCLOSE) |
| 31 WebrtcLoggingPrivateSetUploadOnRenderCloseFunction(); |
| 32 |
| 33 private: |
| 34 virtual ~WebrtcLoggingPrivateSetUploadOnRenderCloseFunction(); |
| 35 |
| 36 // ExtensionFunction overrides. |
| 37 virtual bool RunImpl() OVERRIDE; |
| 38 }; |
| 39 |
| 40 class WebrtcLoggingPrivateStopFunction : public AsyncExtensionFunction { |
| 41 public: |
| 42 DECLARE_EXTENSION_FUNCTION("webrtcLoggingPrivate.stop", |
| 43 WEBRTCLOGGINGPRIVATE_STOP) |
| 44 WebrtcLoggingPrivateStopFunction(); |
| 45 |
| 46 private: |
| 47 virtual ~WebrtcLoggingPrivateStopFunction(); |
| 48 |
| 49 // ExtensionFunction overrides. |
| 50 virtual bool RunImpl() OVERRIDE; |
| 51 }; |
| 52 |
| 53 } // namespace extensions |
| 54 |
| 55 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBRTC_LOGGING_PRIVATE_WEBRTC_LOGGING_P
RIVATE_API_H_ |
OLD | NEW |