Index: chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc |
diff --git a/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc b/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a9acb4d72e011a772d921a242b8af84090f9ad94 |
--- /dev/null |
+++ b/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc |
@@ -0,0 +1,59 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.h" |
+ |
+#include "base/logging.h" |
+#include "content/public/browser/browser_thread.h" |
+ |
+namespace extensions { |
+ |
+namespace Start = api::webrtc_logging_private::Start; |
+namespace SetUploadOnRenderClose = |
+ api::webrtc_logging_private::SetUploadOnRenderClose; |
+namespace Stop = api::webrtc_logging_private::Stop; |
+ |
+WebrtcLoggingPrivateStartFunction::WebrtcLoggingPrivateStartFunction() {} |
+ |
+WebrtcLoggingPrivateStartFunction::~WebrtcLoggingPrivateStartFunction() {} |
+ |
+bool WebrtcLoggingPrivateStartFunction::RunImpl() { |
+ scoped_ptr<Start::Params> params(Start::Params::Create(*args_)); |
+ EXTENSION_FUNCTION_VALIDATE(params.get()); |
+ |
+ // TODO(grunell): Implement. |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+WebrtcLoggingPrivateSetUploadOnRenderCloseFunction:: |
+WebrtcLoggingPrivateSetUploadOnRenderCloseFunction() {} |
+ |
+WebrtcLoggingPrivateSetUploadOnRenderCloseFunction:: |
+~WebrtcLoggingPrivateSetUploadOnRenderCloseFunction() {} |
+ |
+bool WebrtcLoggingPrivateSetUploadOnRenderCloseFunction::RunImpl() { |
+ scoped_ptr<SetUploadOnRenderClose::Params> params( |
+ SetUploadOnRenderClose::Params::Create(*args_)); |
+ EXTENSION_FUNCTION_VALIDATE(params.get()); |
+ |
+ // TODO(grunell): Implement. |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+WebrtcLoggingPrivateStopFunction::WebrtcLoggingPrivateStopFunction() {} |
+ |
+WebrtcLoggingPrivateStopFunction::~WebrtcLoggingPrivateStopFunction() {} |
+ |
+bool WebrtcLoggingPrivateStopFunction::RunImpl() { |
+ scoped_ptr<Stop::Params> params(Stop::Params::Create(*args_)); |
+ EXTENSION_FUNCTION_VALIDATE(params.get()); |
+ |
+ // TODO(grunell): Implement. |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+} // namespace extensions |