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 #include "chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_pr ivate_api.h" | |
6 | |
7 #include "base/logging.h" | |
8 #include "content/public/browser/browser_thread.h" | |
9 | |
10 namespace extensions { | |
11 | |
12 WebrtcLoggingPrivateStartFunction::WebrtcLoggingPrivateStartFunction() {} | |
13 | |
14 WebrtcLoggingPrivateStartFunction::~WebrtcLoggingPrivateStartFunction() {} | |
15 | |
16 bool WebrtcLoggingPrivateStartFunction::RunImpl() { | |
17 scoped_ptr<api::webrtc_logging_private::Start::Params> params = | |
Finnur
2013/09/03 14:28:32
I thought we preferred...
scoped_ptr<foo> param(Cr
Henrik Grunell
2013/09/04 13:13:53
Absolutely. Fixed.
| |
18 api::webrtc_logging_private::Start::Params::Create(*args_); | |
19 EXTENSION_FUNCTION_VALIDATE(params.get()); | |
20 | |
21 // TODO(grunell): Implement. | |
22 NOTIMPLEMENTED(); | |
23 return false; | |
24 } | |
25 | |
26 WebrtcLoggingPrivateSetUploadOnRenderCloseFunction:: | |
27 WebrtcLoggingPrivateSetUploadOnRenderCloseFunction() {} | |
28 | |
29 WebrtcLoggingPrivateSetUploadOnRenderCloseFunction:: | |
30 ~WebrtcLoggingPrivateSetUploadOnRenderCloseFunction() {} | |
31 | |
32 bool WebrtcLoggingPrivateSetUploadOnRenderCloseFunction::RunImpl() { | |
33 scoped_ptr<api::webrtc_logging_private::SetUploadOnRenderClose::Params> | |
34 params = api::webrtc_logging_private::SetUploadOnRenderClose::Params:: | |
35 Create(*args_); | |
36 EXTENSION_FUNCTION_VALIDATE(params.get()); | |
37 | |
38 // TODO(grunell): Implement. | |
39 NOTIMPLEMENTED(); | |
40 return false; | |
41 } | |
42 | |
43 WebrtcLoggingPrivateStopFunction::WebrtcLoggingPrivateStopFunction() {} | |
44 | |
45 WebrtcLoggingPrivateStopFunction::~WebrtcLoggingPrivateStopFunction() {} | |
46 | |
47 bool WebrtcLoggingPrivateStopFunction::RunImpl() { | |
48 scoped_ptr<api::webrtc_logging_private::Stop::Params> params = | |
49 api::webrtc_logging_private::Stop::Params::Create(*args_); | |
50 EXTENSION_FUNCTION_VALIDATE(params.get()); | |
51 | |
52 // TODO(grunell): Implement. | |
53 NOTIMPLEMENTED(); | |
54 return false; | |
55 } | |
56 | |
57 } // namespace extensions | |
OLD | NEW |