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

Unified Diff: device/geolocation/network_location_request.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
« no previous file with comments | « device/geolocation/network_location_request.h ('k') | device/geolocation/wifi_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/network_location_request.cc
diff --git a/content/browser/geolocation/network_location_request.cc b/device/geolocation/network_location_request.cc
similarity index 98%
rename from content/browser/geolocation/network_location_request.cc
rename to device/geolocation/network_location_request.cc
index 18b052691b57dbd034abd4b3b549e41394c3fd84..cb6eaf62219776917470c8dbce5f454e74c59667 100644
--- a/content/browser/geolocation/network_location_request.cc
+++ b/device/geolocation/network_location_request.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_request.h"
+#include "device/geolocation/network_location_request.h"
#include <stdint.h>
@@ -17,8 +17,8 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
-#include "content/browser/geolocation/location_arbitrator_impl.h"
-#include "content/public/common/geoposition.h"
+#include "device/geolocation/geoposition.h"
+#include "device/geolocation/location_arbitrator_impl.h"
#include "google_apis/google_api_keys.h"
#include "net/base/escape.h"
#include "net/base/load_flags.h"
@@ -26,7 +26,7 @@
#include "net/url_request/url_request_context_getter.h"
#include "net/url_request/url_request_status.h"
-namespace content {
+namespace device {
namespace {
const char kAccessTokenString[] = "accessToken";
@@ -424,4 +424,4 @@ bool ParseServerResponse(const std::string& response_body,
} // namespace
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/network_location_request.h ('k') | device/geolocation/wifi_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698