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

Unified Diff: content/test/test_render_frame_host.cc

Issue 2038843003: bluetooth: Don't call methods of WebContentsImpl while it's being destroyed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address moar comments Created 4 years, 6 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/test/test_render_frame_host.cc
diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc
index ba1051775fbecdc8ed151ff39513378144b6e617..6a6bf03c04ffefa12e55f23f577600f799e644fa 100644
--- a/content/test/test_render_frame_host.cc
+++ b/content/test/test_render_frame_host.cc
@@ -5,6 +5,7 @@
#include "content/test/test_render_frame_host.h"
#include "base/guid.h"
+#include "content/browser/bluetooth/frame_connected_bluetooth_devices.h"
#include "content/browser/frame_host/frame_tree.h"
#include "content/browser/frame_host/navigation_handle_impl.h"
#include "content/browser/frame_host/navigation_request.h"
@@ -373,6 +374,11 @@ void TestRenderFrameHost::SendRendererInitiatedNavigationRequest(
}
}
+void TestRenderFrameHost::SetFrameConnectedBluetoothDevices(
+ std::unique_ptr<FrameConnectedBluetoothDevices> connected_devices) {
+ connected_devices_ = std::move(connected_devices);
+}
+
void TestRenderFrameHost::DidChangeOpener(int opener_routing_id) {
OnDidChangeOpener(opener_routing_id);
}
« content/test/test_render_frame_host.h ('K') | « content/test/test_render_frame_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698