Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 1166a7f31c04fbf2c8ea7305a92023145c11118f..1494170a95839931bf70c1b0475b4286193739f4 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -141,8 +141,6 @@ |
#include "components/variations/variations_switches.h" |
#include "components/version_info/version_info.h" |
#include "content/public/browser/browser_thread.h" |
-#include "content/public/browser/geolocation_delegate.h" |
-#include "content/public/browser/geolocation_provider.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/notification_service.h" |
@@ -153,6 +151,8 @@ |
#include "content/public/common/content_features.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/main_function_params.h" |
+#include "device/geolocation/geolocation_delegate.h" |
+#include "device/geolocation/geolocation_provider.h" |
#include "grit/platform_locale_settings.h" |
#include "media/base/media_resources.h" |
#include "net/base/net_module.h" |
@@ -274,11 +274,11 @@ using content::BrowserThread; |
namespace { |
// A provider of Geolocation services to override AccessTokenStore. |
-class ChromeGeolocationDelegate : public content::GeolocationDelegate { |
+class ChromeGeolocationDelegate : public device::GeolocationDelegate { |
public: |
ChromeGeolocationDelegate() = default; |
- scoped_refptr<content::AccessTokenStore> CreateAccessTokenStore() final { |
+ scoped_refptr<device::AccessTokenStore> CreateAccessTokenStore() final { |
return new ChromeAccessTokenStore(); |
} |
@@ -1217,7 +1217,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() { |
// ChromeOS needs ResourceBundle::InitSharedInstance to be called before this. |
browser_process_->PreCreateThreads(); |
- content::GeolocationProvider::SetGeolocationDelegate( |
+ device::GeolocationProvider::SetGeolocationDelegate( |
new ChromeGeolocationDelegate()); |
return content::RESULT_CODE_NORMAL_EXIT; |