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

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

Issue 629393002: Chromium side of geofencing event dispatching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@geofencing_serviceworker
Patch Set: nit Created 6 years, 2 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/browser/geofencing/geofencing_service_unittest.cc
diff --git a/content/browser/geofencing/geofencing_service_unittest.cc b/content/browser/geofencing/geofencing_service_unittest.cc
index 329fcaf7159606360f6124e392e5908645667bbd..25a93188d4e2c4a5c99525f76bcb3498ca6f9c2a 100644
--- a/content/browser/geofencing/geofencing_service_unittest.cc
+++ b/content/browser/geofencing/geofencing_service_unittest.cc
@@ -31,6 +31,8 @@ class MockGeofencingRegistrationDelegate
public:
MOCK_METHOD2(RegistrationFinished,
void(int64 geofencing_registration_id, GeofencingStatus status));
+ MOCK_METHOD1(RegionEntered, void(int64 geofencing_registration_id));
+ MOCK_METHOD1(RegionExited, void(int64 geofencing_registration_id));
};
class MockGeofencingProvider : public GeofencingProvider {
« no previous file with comments | « content/browser/geofencing/geofencing_registration_delegate.h ('k') | content/browser/service_worker/service_worker_version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698