Index: blimp/engine/app/blimp_content_browser_client.cc |
diff --git a/blimp/engine/app/blimp_content_browser_client.cc b/blimp/engine/app/blimp_content_browser_client.cc |
index 90ea2f52e4c78637305c63ea9346ec75d5085f3b..2afbe417c63db231c4f2c3d2f7719addb45fcc8b 100644 |
--- a/blimp/engine/app/blimp_content_browser_client.cc |
+++ b/blimp/engine/app/blimp_content_browser_client.cc |
@@ -5,33 +5,12 @@ |
#include "blimp/engine/app/blimp_content_browser_client.h" |
#include "blimp/engine/app/blimp_browser_main_parts.h" |
#include "blimp/engine/app/settings_manager.h" |
-#include "blimp/engine/feature/geolocation/blimp_location_provider.h" |
#include "blimp/engine/mojo/blob_channel_service.h" |
-#include "content/public/browser/geolocation_delegate.h" |
#include "services/shell/public/cpp/interface_registry.h" |
namespace blimp { |
namespace engine { |
-namespace { |
-// A provider of services needed by Geolocation. |
-class BlimpGeolocationDelegate : public content::GeolocationDelegate { |
- public: |
- BlimpGeolocationDelegate() = default; |
- |
- bool UseNetworkLocationProviders() final { return false; } |
- |
- std::unique_ptr<content::LocationProvider> OverrideSystemLocationProvider() |
- final { |
- return base::WrapUnique(new BlimpLocationProvider()); |
- } |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(BlimpGeolocationDelegate); |
-}; |
- |
-} // anonymous namespace |
- |
BlimpContentBrowserClient::BlimpContentBrowserClient() {} |
BlimpContentBrowserClient::~BlimpContentBrowserClient() {} |
@@ -60,11 +39,6 @@ BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() { |
return blimp_browser_main_parts_->GetBrowserContext(); |
} |
-content::GeolocationDelegate* |
-BlimpContentBrowserClient::CreateGeolocationDelegate() { |
- return new BlimpGeolocationDelegate(); |
-} |
- |
void BlimpContentBrowserClient::ExposeInterfacesToRenderer( |
shell::InterfaceRegistry* registry, |
content::RenderProcessHost* render_process_host) { |