Index: content/public/test/layouttest_support.h |
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h |
index 4f8994a553fadf5a75f45a7b924d44bf016f3cd5..8e75dfefead4b97917abf9f153955b34e96254e0 100644 |
--- a/content/public/test/layouttest_support.h |
+++ b/content/public/test/layouttest_support.h |
@@ -96,6 +96,17 @@ void SetDeviceColorProfile(RenderView* render_view, const std::string& name); |
// Change the bluetooth test data while running a layout test. |
void SetBluetoothMockDataSetForTesting(const std::string& name); |
+// Enables mock geofencing service while running a layout test. |
+// |service_available| indicates if the mock service should mock geofencing |
+// being available or not. |
+void SetGeofencingMockProvider(bool service_available); |
+ |
+// Disables mock geofencing service while running a layout test. |
+void ClearGeofencingMockProvider(); |
+ |
+// Set the mock geofencing position while running a layout test. |
+void SetGeofencingMockPosition(double latitude, double longitude); |
+ |
// Enables or disables synchronous resize mode. When enabled, all window-sizing |
// machinery is short-circuited inside the renderer. This mode is necessary for |
// some tests that were written before browsers had multi-process architecture |