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

Unified Diff: chrome/browser/chromeos/policy/device_status_collector.h

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
Index: chrome/browser/chromeos/policy/device_status_collector.h
diff --git a/chrome/browser/chromeos/policy/device_status_collector.h b/chrome/browser/chromeos/policy/device_status_collector.h
index 02e53b0acdfa70f117c48d8e67af7db10764265f..580b6b42e608b638e0775c2f1484527dfd895246 100644
--- a/chrome/browser/chromeos/policy/device_status_collector.h
+++ b/chrome/browser/chromeos/policy/device_status_collector.h
@@ -23,8 +23,8 @@
#include "base/timer/timer.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
#include "chromeos/system/version_loader.h"
-#include "device/geolocation/geolocation_provider.h"
-#include "device/geolocation/geoposition.h"
+#include "content/public/browser/geolocation_provider.h"
+#include "content/public/common/geoposition.h"
#include "policy/proto/device_management_backend.pb.h"
#include "ui/base/idle/idle.h"
@@ -53,8 +53,8 @@ class DeviceStatusCollector {
// TODO(bartfab): Remove this once crbug.com/125931 is addressed and a proper
// way to mock geolocation exists.
typedef base::Callback<void(
- const device::GeolocationProvider::LocationUpdateCallback& callback)>
- LocationUpdateRequester;
+ const content::GeolocationProvider::LocationUpdateCallback& callback)>
+ LocationUpdateRequester;
using VolumeInfoFetcher = base::Callback<
std::vector<enterprise_management::VolumeInfo>(
@@ -188,8 +188,8 @@ class DeviceStatusCollector {
void ScheduleGeolocationUpdateRequest();
- // device::GeolocationUpdateCallback implementation.
- void ReceiveGeolocationUpdate(const device::Geoposition&);
+ // content::GeolocationUpdateCallback implementation.
+ void ReceiveGeolocationUpdate(const content::Geoposition&);
// Callback invoked to update our cached disk information.
void ReceiveVolumeInfo(
@@ -228,7 +228,7 @@ class DeviceStatusCollector {
std::string os_version_;
std::string firmware_version_;
- device::Geoposition position_;
+ content::Geoposition position_;
// Cached disk volume information.
std::vector<enterprise_management::VolumeInfo> volume_info_;
@@ -270,7 +270,7 @@ class DeviceStatusCollector {
// way to mock geolocation exists.
LocationUpdateRequester location_update_requester_;
- std::unique_ptr<device::GeolocationProvider::Subscription>
+ std::unique_ptr<content::GeolocationProvider::Subscription>
geolocation_subscription_;
// Cached values of the reporting settings from the device policy.
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chromeos/policy/device_status_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698