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

Unified Diff: device/geolocation/mock_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
« no previous file with comments | « device/geolocation/mock_location_provider.h ('k') | device/geolocation/network_location_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/mock_location_provider.cc
diff --git a/content/browser/geolocation/mock_location_provider.cc b/device/geolocation/mock_location_provider.cc
similarity index 97%
rename from content/browser/geolocation/mock_location_provider.cc
rename to device/geolocation/mock_location_provider.cc
index 55b79a6b3520b0b2cf4cb244947f90ccec0827b7..8190c5a2483530f7ba10bc79cdb679f60ee92d17 100644
--- a/content/browser/geolocation/mock_location_provider.cc
+++ b/device/geolocation/mock_location_provider.cc
@@ -5,7 +5,7 @@
// This file implements a mock location provider and the factory functions for
// various ways of creating it.
-#include "content/browser/geolocation/mock_location_provider.h"
+#include "device/geolocation/mock_location_provider.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -15,7 +15,7 @@
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_task_runner_handle.h"
-namespace content {
+namespace device {
MockLocationProvider::MockLocationProvider()
: state_(STOPPED),
@@ -121,4 +121,4 @@ LocationProvider* NewAutoSuccessMockNetworkLocationProvider() {
return new AutoMockLocationProvider(true, true);
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/mock_location_provider.h ('k') | device/geolocation/network_location_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698