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

Unified Diff: content/test/layouttest_support.cc

Issue 1972733002: Delete geofencing implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test expectations Created 4 years, 7 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/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 5b5a0f617c4929612aa3251b00489b13afa4242f..1516856643f34abf573a1039138239335eab3601 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -18,7 +18,6 @@
#include "content/browser/bluetooth/bluetooth_dispatcher_host.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
-#include "content/child/geofencing/web_geofencing_provider_impl.h"
#include "content/common/site_isolation_policy.h"
#include "content/public/common/page_state.h"
#include "content/public/renderer/renderer_gamepad_provider.h"
@@ -367,24 +366,6 @@ void SetBluetoothAdapter(int render_process_id,
dispatcher_host->SetBluetoothAdapterForTesting(std::move(adapter));
}
-void SetGeofencingMockProvider(bool service_available) {
- static_cast<WebGeofencingProviderImpl*>(
- RenderThreadImpl::current()->blink_platform_impl()->geofencingProvider())
- ->SetMockProvider(service_available);
-}
-
-void ClearGeofencingMockProvider() {
- static_cast<WebGeofencingProviderImpl*>(
- RenderThreadImpl::current()->blink_platform_impl()->geofencingProvider())
- ->ClearMockProvider();
-}
-
-void SetGeofencingMockPosition(double latitude, double longitude) {
- static_cast<WebGeofencingProviderImpl*>(
- RenderThreadImpl::current()->blink_platform_impl()->geofencingProvider())
- ->SetMockPosition(latitude, longitude);
-}
-
void UseSynchronousResizeMode(RenderView* render_view, bool enable) {
static_cast<RenderViewImpl*>(render_view)->
UseSynchronousResizeModeForTesting(enable);

Powered by Google App Engine
This is Rietveld 408576698