This source file includes following definitions.
- WebrtcLoggingPrivateSetMetaDataFunction
- WebrtcLoggingPrivateSetMetaDataFunction
- RunImpl
- SetMetaDataCallback
- RunImpl
- StartCallback
- WebrtcLoggingPrivateSetUploadOnRenderCloseFunction
- WebrtcLoggingPrivateSetUploadOnRenderCloseFunction
- RunImpl
- RunImpl
- StopCallback
- RunImpl
- UploadCallback
- RunImpl
- DiscardCallback
#include "chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.h"
namespace extensions {
namespace {
const char kErrorNotSupported[] = "Not supported";
}
WebrtcLoggingPrivateSetMetaDataFunction::
WebrtcLoggingPrivateSetMetaDataFunction() {}
WebrtcLoggingPrivateSetMetaDataFunction::
~WebrtcLoggingPrivateSetMetaDataFunction() {}
bool WebrtcLoggingPrivateSetMetaDataFunction::RunImpl() {
SetError(kErrorNotSupported);
SendResponse(false);
return false;
}
void WebrtcLoggingPrivateSetMetaDataFunction::SetMetaDataCallback(
bool success, const std::string& error_message) {}
WebrtcLoggingPrivateStartFunction::WebrtcLoggingPrivateStartFunction() {}
WebrtcLoggingPrivateStartFunction::~WebrtcLoggingPrivateStartFunction() {}
bool WebrtcLoggingPrivateStartFunction::RunImpl() {
SetError(kErrorNotSupported);
SendResponse(false);
return false;
}
void WebrtcLoggingPrivateStartFunction::StartCallback(
bool success, const std::string& error_message) {}
WebrtcLoggingPrivateSetUploadOnRenderCloseFunction::
WebrtcLoggingPrivateSetUploadOnRenderCloseFunction() {}
WebrtcLoggingPrivateSetUploadOnRenderCloseFunction::
~WebrtcLoggingPrivateSetUploadOnRenderCloseFunction() {}
bool WebrtcLoggingPrivateSetUploadOnRenderCloseFunction::RunImpl() {
SetError(kErrorNotSupported);
SendResponse(false);
return false;
}
WebrtcLoggingPrivateStopFunction::WebrtcLoggingPrivateStopFunction() {}
WebrtcLoggingPrivateStopFunction::~WebrtcLoggingPrivateStopFunction() {}
bool WebrtcLoggingPrivateStopFunction::RunImpl() {
SetError(kErrorNotSupported);
SendResponse(false);
return false;
}
void WebrtcLoggingPrivateStopFunction::StopCallback(
bool success, const std::string& error_message) {}
WebrtcLoggingPrivateUploadFunction::WebrtcLoggingPrivateUploadFunction() {}
WebrtcLoggingPrivateUploadFunction::~WebrtcLoggingPrivateUploadFunction() {}
bool WebrtcLoggingPrivateUploadFunction::RunImpl() {
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::RunImpl() {
SetError(kErrorNotSupported);
SendResponse(false);
return false;
}
void WebrtcLoggingPrivateDiscardFunction::DiscardCallback(
bool success, const std::string& error_message) {}
}