Index: content/shell/renderer/test_runner/test_runner.h |
diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h |
index f8b0b8f53ca612e4f9fe762fec70be3dcab72188..c7e4eeab64732998d0829ad636bd2c95b319c2e5 100644 |
--- a/content/shell/renderer/test_runner/test_runner.h |
+++ b/content/shell/renderer/test_runner/test_runner.h |
@@ -510,6 +510,17 @@ class TestRunner : public WebTestRunner, |
// Change the bluetooth test data while running a layout test. |
void SetBluetoothMockDataSet(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); |
+ |
// Calls setlocale(LC_ALL, ...) for a specified locale. |
// Resets between tests. |
void SetPOSIXLocale(const std::string& locale); |