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..0500762869d557a01e8b475c76d7c770e4aa4856 100644 |
--- a/content/shell/renderer/test_runner/test_runner.h |
+++ b/content/shell/renderer/test_runner/test_runner.h |
@@ -510,6 +510,15 @@ 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. |
pfeldman
2014/12/10 08:59:52
Blank line above the comment please.
Marijn Kruisselbrink
2014/12/10 18:13:37
Done.
|
+ 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); |