Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2901)

Unified Diff: content/shell/renderer/test_runner/test_runner.cc

Issue 1095233005: Remove TestRunner.SetMIDISysexPermission shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_midiclientmock
Patch Set: rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index 03cfc5cda25e0ba17ca8c4d37428712f862fd088..f227aa106360ab975e7ee7b0d76fa3348985ea9a 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -276,7 +276,6 @@ class TestRunnerBindings : public gin::Wrappable<TestRunnerBindings> {
v8::Handle<v8::Function> callback);
void SetPOSIXLocale(const std::string& locale);
void SetMIDIAccessorResult(bool result);
- void SetMIDISysexPermission(bool value);
void GrantWebNotificationPermission(gin::Arguments* args);
void ClearWebNotificationPermissions();
void SimulateWebNotificationClick(const std::string& title);
@@ -523,8 +522,6 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder(
.SetMethod("setPOSIXLocale", &TestRunnerBindings::SetPOSIXLocale)
.SetMethod("setMIDIAccessorResult",
&TestRunnerBindings::SetMIDIAccessorResult)
- .SetMethod("setMIDISysexPermission",
- &TestRunnerBindings::SetMIDISysexPermission)
.SetMethod("grantWebNotificationPermission",
&TestRunnerBindings::GrantWebNotificationPermission)
.SetMethod("clearWebNotificationPermissions",
@@ -1323,9 +1320,6 @@ void TestRunnerBindings::SetMIDIAccessorResult(bool result) {
runner_->SetMIDIAccessorResult(result);
}
-void TestRunnerBindings::SetMIDISysexPermission(bool value) {
-}
-
void TestRunnerBindings::GrantWebNotificationPermission(gin::Arguments* args) {
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698