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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: updated test code Created 3 years, 11 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
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index ec2b31856cfffdf0834764223b0b543cc43458b1..478c881fb2526aa8b3e2841d3fe02faaa2e8311d 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -549,6 +549,10 @@ void BlinkTestRunner::SendBluetoothManualChooserEvent(
argument));
}
+void BlinkTestRunner::ResetBluetoothAllowedDevicesMap() {
+ Send(new ShellViewHostMsg_ResetBluetoothAllowedDevicesMap(routing_id()));
+}
+
void BlinkTestRunner::SetFocus(blink::WebView* web_view, bool focus) {
RenderView* render_view = RenderView::FromWebView(web_view);
if (render_view) // Check whether |web_view| has been already closed.

Powered by Google App Engine
This is Rietveld 408576698