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

Unified Diff: device/geolocation/mock_location_provider.h

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_arbitrator.cc ('k') | device/geolocation/mock_location_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/mock_location_provider.h
diff --git a/content/browser/geolocation/mock_location_provider.h b/device/geolocation/mock_location_provider.h
similarity index 86%
rename from content/browser/geolocation/mock_location_provider.h
rename to device/geolocation/mock_location_provider.h
index 7c3372e29190d115fdb3ecdb52765edf2948ce31..682b98da8b57d5978d54185f9c9cc403cc73ab5b 100644
--- a/content/browser/geolocation/mock_location_provider.h
+++ b/device/geolocation/mock_location_provider.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
-#define CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
+#ifndef DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
+#define DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
#include "base/compiler_specific.h"
@@ -11,10 +11,10 @@
#include "base/memory/ref_counted.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
-#include "content/browser/geolocation/location_provider_base.h"
-#include "content/public/common/geoposition.h"
+#include "device/geolocation/geoposition.h"
+#include "device/geolocation/location_provider_base.h"
-namespace content {
+namespace device {
// Mock implementation of a location provider for testing.
class MockLocationProvider : public LocationProviderBase {
@@ -59,6 +59,6 @@ LocationProvider* NewAutoFailMockLocationProvider();
// a permission request has been confirmed.
LocationProvider* NewAutoSuccessMockNetworkLocationProvider();
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
+#endif // DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
« no previous file with comments | « device/geolocation/mock_location_arbitrator.cc ('k') | device/geolocation/mock_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698