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

Unified Diff: device/geolocation/location_arbitrator_impl_unittest.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/location_arbitrator_impl.cc ('k') | device/geolocation/location_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/location_arbitrator_impl_unittest.cc
diff --git a/content/browser/geolocation/location_arbitrator_impl_unittest.cc b/device/geolocation/location_arbitrator_impl_unittest.cc
similarity index 97%
rename from content/browser/geolocation/location_arbitrator_impl_unittest.cc
rename to device/geolocation/location_arbitrator_impl_unittest.cc
index 7363cdb10c7b0cd20c01ec29880198997f58ad9b..fec25bf3d570d232f3f0914e9bfcec38d9d744ca 100644
--- a/content/browser/geolocation/location_arbitrator_impl_unittest.cc
+++ b/device/geolocation/location_arbitrator_impl_unittest.cc
@@ -2,23 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/geolocation/location_arbitrator_impl.h"
+#include "device/geolocation/location_arbitrator_impl.h"
#include <memory>
#include "base/bind.h"
#include "base/memory/ptr_util.h"
-#include "content/browser/geolocation/fake_access_token_store.h"
-#include "content/browser/geolocation/mock_location_provider.h"
-#include "content/public/browser/geolocation_delegate.h"
-#include "content/public/common/geoposition.h"
-#include "content/test/test_content_browser_client.h"
+#include "device/geolocation/fake_access_token_store.h"
+#include "device/geolocation/geolocation_delegate.h"
+#include "device/geolocation/geoposition.h"
+#include "device/geolocation/mock_location_provider.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
using ::testing::NiceMock;
-namespace content {
+namespace device {
class MockLocationObserver {
public:
@@ -440,4 +439,4 @@ TEST_F(GeolocationLocationArbitratorTest, TwoOneShotsIsNewPositionBetter) {
CheckLastPositionInfo(3, 139, 150);
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/location_arbitrator_impl.cc ('k') | device/geolocation/location_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698