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

Unified Diff: content/browser/geofencing/geofencing_dispatcher_host.cc

Issue 701953007: Expose mock geofencing service via testRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mention unifying bug in a comment Created 6 years 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/browser/geofencing/geofencing_dispatcher_host.cc
diff --git a/content/browser/geofencing/geofencing_dispatcher_host.cc b/content/browser/geofencing/geofencing_dispatcher_host.cc
index 5cae1136bc98afa4b8ae41cf5b22c2669524781d..4b8c865a2c14f469255aff7bce41bbe0dd5aacb5 100644
--- a/content/browser/geofencing/geofencing_dispatcher_host.cc
+++ b/content/browser/geofencing/geofencing_dispatcher_host.cc
@@ -32,6 +32,10 @@ bool GeofencingDispatcherHost::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_HANDLER(GeofencingHostMsg_UnregisterRegion, OnUnregisterRegion)
IPC_MESSAGE_HANDLER(GeofencingHostMsg_GetRegisteredRegions,
OnGetRegisteredRegions)
+ IPC_MESSAGE_FORWARD(GeofencingHostMsg_SetMockProvider, manager_.get(),
+ GeofencingManager::SetMockProvider)
+ IPC_MESSAGE_FORWARD(GeofencingHostMsg_SetMockPosition, manager_.get(),
+ GeofencingManager::SetMockPosition)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
« no previous file with comments | « content/browser/geofencing/geofencing_dispatcher_host.h ('k') | content/browser/geofencing/geofencing_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698