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

Side by Side Diff: chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.h

Issue 23885002: Add WebRTC logging extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fix. Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
(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_
Finnur 2013/09/03 14:28:32 We've been asked to add an OWNERS file for the API
Henrik Grunell 2013/09/04 13:13:53 Done. Put myself there.
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
Finnur 2013/09/03 14:28:32 I know this isn't pertinent (yet), but what is the
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698