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

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

Issue 701953007: Expose mock geofencing service via testRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.h
diff --git a/content/browser/geofencing/geofencing_dispatcher_host.h b/content/browser/geofencing/geofencing_dispatcher_host.h
index 40ed3a8487b52c7735a57d4460978d99440c49a9..237e1ba12f87279e8ac07fb31a23afce6515d109 100644
--- a/content/browser/geofencing/geofencing_dispatcher_host.h
+++ b/content/browser/geofencing/geofencing_dispatcher_host.h
@@ -5,7 +5,7 @@
#ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_
#define CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_
-#include "content/common/geofencing_status.h"
+#include "content/common/geofencing_types.h"
#include "content/public/browser/browser_message_filter.h"
namespace blink {
@@ -39,6 +39,11 @@ class GeofencingDispatcherHost : public BrowserMessageFilter {
void OnGetRegisteredRegions(int thread_id,
int request_id,
int64 service_worker_registration_id);
+ void OnSetMockProvider(int64 service_worker_registration_id,
+ GeofencingMockState mock_state);
+ void OnSetMockPosition(int64 service_worker_registration_id,
+ double latitude,
+ double longitude);
void RegisterRegionCompleted(int thread_id,
int request_id,

Powered by Google App Engine
This is Rietveld 408576698