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

Unified Diff: device/geolocation/network_location_provider.cc

Issue 2192683002: Reland 2:Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ignore size_t_to_int truncation warning 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: device/geolocation/network_location_provider.cc
diff --git a/content/browser/geolocation/network_location_provider.cc b/device/geolocation/network_location_provider.cc
similarity index 98%
rename from content/browser/geolocation/network_location_provider.cc
rename to device/geolocation/network_location_provider.cc
index 0c6e6db4c74c94a275935c450ccc8782facf7228..0e2ae184c498f2919957748516dc0c93c196dcc3 100644
--- a/content/browser/geolocation/network_location_provider.cc
+++ b/device/geolocation/network_location_provider.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/geolocation/network_location_provider.h"
+#include "device/geolocation/network_location_provider.h"
#include "base/bind.h"
#include "base/location.h"
@@ -10,9 +10,9 @@
#include "base/strings/utf_string_conversions.h"
#include "base/threading/thread_task_runner_handle.h"
#include "base/time/time.h"
-#include "content/public/browser/access_token_store.h"
+#include "device/geolocation/access_token_store.h"
-namespace content {
+namespace device {
namespace {
// The maximum period of time we'll wait for a complete set of wifi data
// before sending the request.
@@ -270,4 +270,4 @@ bool NetworkLocationProvider::IsStarted() const {
return wifi_data_provider_manager_ != nullptr;
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/network_location_provider.h ('k') | device/geolocation/network_location_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698