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

Unified Diff: content/browser/geolocation/mock_location_provider.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: content/browser/geolocation/mock_location_provider.h
diff --git a/device/geolocation/mock_location_provider.h b/content/browser/geolocation/mock_location_provider.h
similarity index 86%
rename from device/geolocation/mock_location_provider.h
rename to content/browser/geolocation/mock_location_provider.h
index 682b98da8b57d5978d54185f9c9cc403cc73ab5b..7c3372e29190d115fdb3ecdb52765edf2948ce31 100644
--- a/device/geolocation/mock_location_provider.h
+++ b/content/browser/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 DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
-#define DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
+#ifndef CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
+#define CONTENT_BROWSER_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 "device/geolocation/geoposition.h"
-#include "device/geolocation/location_provider_base.h"
+#include "content/browser/geolocation/location_provider_base.h"
+#include "content/public/common/geoposition.h"
-namespace device {
+namespace content {
// 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 device
+} // namespace content
-#endif // DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
+#endif // CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
« no previous file with comments | « content/browser/geolocation/mock_location_arbitrator.cc ('k') | content/browser/geolocation/mock_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698