Index: content/shell/browser/shell_content_browser_client.cc |
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc |
index 2587b1e4ba0da6790891220056b75662d47baf0b..2f522b40a170f9f3114f70b9f8ebe073237fdd0c 100644 |
--- a/content/shell/browser/shell_content_browser_client.cc |
+++ b/content/shell/browser/shell_content_browser_client.cc |
@@ -17,7 +17,6 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "build/build_config.h" |
#include "content/public/browser/client_certificate_delegate.h" |
-#include "content/public/browser/geolocation_delegate.h" |
#include "content/public/browser/page_navigator.h" |
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/resource_dispatcher_host.h" |
@@ -27,7 +26,6 @@ |
#include "content/public/common/web_preferences.h" |
#include "content/public/test/test_mojo_app.h" |
#include "content/shell/browser/shell.h" |
-#include "content/shell/browser/shell_access_token_store.h" |
#include "content/shell/browser/shell_browser_context.h" |
#include "content/shell/browser/shell_browser_main_parts.h" |
#include "content/shell/browser/shell_devtools_manager_delegate.h" |
@@ -119,20 +117,6 @@ int GetCrashSignalFD(const base::CommandLine& command_line) { |
} |
#endif // defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
-// A provider of services for Geolocation. |
-class ShellGeolocationDelegate : public content::GeolocationDelegate { |
- public: |
- ShellGeolocationDelegate() {} |
- |
- scoped_refptr<AccessTokenStore> CreateAccessTokenStore() final { |
- return new ShellAccessTokenStore( |
- ShellContentBrowserClient::Get()->browser_context()); |
- } |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(ShellGeolocationDelegate); |
-}; |
- |
} // namespace |
ShellContentBrowserClient* ShellContentBrowserClient::Get() { |
@@ -364,8 +348,4 @@ ShellBrowserContext* |
return shell_browser_main_parts_->off_the_record_browser_context(); |
} |
-GeolocationDelegate* ShellContentBrowserClient::CreateGeolocationDelegate() { |
- return new ShellGeolocationDelegate(); |
-} |
- |
} // namespace content |