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

Unified Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 years, 5 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
« no previous file with comments | « chromecast/browser/DEPS ('k') | chromecast/browser/geolocation/cast_access_token_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_browser_main_parts.cc
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc
index 2849dfdbbc95cc875a00704422a88d961a6b3208..216fc2c4e80a7e926d15de3f2b2b4e5edafeee98 100644
--- a/chromecast/browser/cast_browser_main_parts.cc
+++ b/chromecast/browser/cast_browser_main_parts.cc
@@ -50,11 +50,11 @@
#include "components/prefs/pref_registry_simple.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/child_process_security_policy.h"
+#include "content/public/browser/geolocation_delegate.h"
+#include "content/public/browser/geolocation_provider.h"
#include "content/public/browser/gpu_data_manager.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/common/content_switches.h"
-#include "device/geolocation/geolocation_delegate.h"
-#include "device/geolocation/geolocation_provider.h"
#include "gpu/command_buffer/service/gpu_switches.h"
#include "media/base/media.h"
#include "ui/compositor/compositor_switches.h"
@@ -188,12 +188,12 @@ namespace shell {
namespace {
// A provider of services for Geolocation.
-class CastGeolocationDelegate : public device::GeolocationDelegate {
+class CastGeolocationDelegate : public content::GeolocationDelegate {
public:
explicit CastGeolocationDelegate(CastBrowserContext* context)
: context_(context) {}
- scoped_refptr<device::AccessTokenStore> CreateAccessTokenStore() override {
+ scoped_refptr<content::AccessTokenStore> CreateAccessTokenStore() override {
return new CastAccessTokenStore(context_);
}
@@ -470,7 +470,7 @@ void CastBrowserMainParts::PreMainMessageLoopRun() {
#endif
::media::InitializeMediaLibrary();
- device::GeolocationProvider::SetGeolocationDelegate(
+ content::GeolocationProvider::SetGeolocationDelegate(
new CastGeolocationDelegate(cast_browser_process_->browser_context()));
// Initializing metrics service and network delegates must happen after cast
« no previous file with comments | « chromecast/browser/DEPS ('k') | chromecast/browser/geolocation/cast_access_token_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698