Index: chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api_stub.cc |
diff --git a/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api_stub.cc b/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api_stub.cc |
index 6a55645a0a29d96fd60160d1c3aca8072cbee832..836e06b19b73528bc7e4064a3364d2cb0134f5ec 100644 |
--- a/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api_stub.cc |
+++ b/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api_stub.cc |
@@ -14,93 +14,52 @@ const char kErrorNotSupported[] = "Not supported"; |
} // namespace |
-WebrtcLoggingPrivateSetMetaDataFunction:: |
-WebrtcLoggingPrivateSetMetaDataFunction() {} |
- |
-WebrtcLoggingPrivateSetMetaDataFunction:: |
-~WebrtcLoggingPrivateSetMetaDataFunction() {} |
- |
bool WebrtcLoggingPrivateSetMetaDataFunction::RunAsync() { |
SetError(kErrorNotSupported); |
SendResponse(false); |
return false; |
} |
-void WebrtcLoggingPrivateSetMetaDataFunction::SetMetaDataCallback( |
- bool success, const std::string& error_message) {} |
- |
-WebrtcLoggingPrivateStartFunction::WebrtcLoggingPrivateStartFunction() {} |
- |
-WebrtcLoggingPrivateStartFunction::~WebrtcLoggingPrivateStartFunction() {} |
- |
bool WebrtcLoggingPrivateStartFunction::RunAsync() { |
SetError(kErrorNotSupported); |
SendResponse(false); |
return false; |
} |
-void WebrtcLoggingPrivateStartFunction::StartCallback( |
- bool success, const std::string& error_message) {} |
- |
-WebrtcLoggingPrivateSetUploadOnRenderCloseFunction:: |
-WebrtcLoggingPrivateSetUploadOnRenderCloseFunction() {} |
- |
-WebrtcLoggingPrivateSetUploadOnRenderCloseFunction:: |
-~WebrtcLoggingPrivateSetUploadOnRenderCloseFunction() {} |
- |
bool WebrtcLoggingPrivateSetUploadOnRenderCloseFunction::RunAsync() { |
SetError(kErrorNotSupported); |
SendResponse(false); |
return false; |
} |
-WebrtcLoggingPrivateStopFunction::WebrtcLoggingPrivateStopFunction() {} |
- |
-WebrtcLoggingPrivateStopFunction::~WebrtcLoggingPrivateStopFunction() {} |
- |
bool WebrtcLoggingPrivateStopFunction::RunAsync() { |
SetError(kErrorNotSupported); |
SendResponse(false); |
return false; |
} |
-void WebrtcLoggingPrivateStopFunction::StopCallback( |
- bool success, const std::string& error_message) {} |
- |
-WebrtcLoggingPrivateUploadFunction::WebrtcLoggingPrivateUploadFunction() {} |
- |
-WebrtcLoggingPrivateUploadFunction::~WebrtcLoggingPrivateUploadFunction() {} |
- |
-bool WebrtcLoggingPrivateUploadFunction::RunAsync() { |
+bool WebrtcLoggingPrivateStoreFunction::RunAsync() { |
SetError(kErrorNotSupported); |
SendResponse(false); |
return false; |
} |
-void WebrtcLoggingPrivateUploadFunction::UploadCallback( |
- bool success, const std::string& report_id, |
- const std::string& error_message) { |
-} |
- |
-WebrtcLoggingPrivateDiscardFunction::WebrtcLoggingPrivateDiscardFunction() {} |
- |
-WebrtcLoggingPrivateDiscardFunction::~WebrtcLoggingPrivateDiscardFunction() {} |
- |
-bool WebrtcLoggingPrivateDiscardFunction::RunAsync() { |
+bool WebrtcLoggingPrivateUploadStoredFunction::RunAsync() { |
SetError(kErrorNotSupported); |
SendResponse(false); |
return false; |
} |
-void WebrtcLoggingPrivateDiscardFunction::DiscardCallback( |
- bool success, const std::string& error_message) {} |
- |
-WebrtcLoggingPrivateStartRtpDumpFunction:: |
- WebrtcLoggingPrivateStartRtpDumpFunction() { |
+bool WebrtcLoggingPrivateUploadFunction::RunAsync() { |
+ SetError(kErrorNotSupported); |
+ SendResponse(false); |
+ return false; |
} |
-WebrtcLoggingPrivateStartRtpDumpFunction:: |
- ~WebrtcLoggingPrivateStartRtpDumpFunction() { |
+bool WebrtcLoggingPrivateDiscardFunction::RunAsync() { |
+ SetError(kErrorNotSupported); |
+ SendResponse(false); |
+ return false; |
} |
bool WebrtcLoggingPrivateStartRtpDumpFunction::RunAsync() { |
@@ -109,28 +68,10 @@ bool WebrtcLoggingPrivateStartRtpDumpFunction::RunAsync() { |
return false; |
} |
-void WebrtcLoggingPrivateStartRtpDumpFunction::StartRtpDumpCallback( |
- bool success, |
- const std::string& error_message) { |
-} |
- |
-WebrtcLoggingPrivateStopRtpDumpFunction:: |
- WebrtcLoggingPrivateStopRtpDumpFunction() { |
-} |
- |
-WebrtcLoggingPrivateStopRtpDumpFunction:: |
- ~WebrtcLoggingPrivateStopRtpDumpFunction() { |
-} |
- |
bool WebrtcLoggingPrivateStopRtpDumpFunction::RunAsync() { |
SetError(kErrorNotSupported); |
SendResponse(false); |
return false; |
} |
-void WebrtcLoggingPrivateStopRtpDumpFunction::StopRtpDumpCallback( |
- bool success, |
- const std::string& error_message) { |
-} |
- |
} // namespace extensions |