summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api_stub.cc
blob: a47726a9a2568c6e5ece471920553f86ee33e991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// 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.
//
// Stub implementation used when WebRTC is not enabled.

#include "chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.h"

namespace extensions {

namespace {

const char kErrorNotSupported[] = "Not supported";

}  // namespace

bool WebrtcLoggingPrivateSetMetaDataFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateStartFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateSetUploadOnRenderCloseFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateStopFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateStoreFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateUploadStoredFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateUploadFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateDiscardFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateStartRtpDumpFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateStopRtpDumpFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateStartAudioDebugRecordingsFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateStopAudioDebugRecordingsFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

bool WebrtcLoggingPrivateGetLogsDirectoryFunction::RunAsync() {
  SetError(kErrorNotSupported);
  SendResponse(false);
  return false;
}

}  // namespace extensions