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

Unified Diff: content/browser/geolocation/location_arbitrator_impl_unittest.cc

Issue 11412194: Cleanup: MockGeolocationArbitrator for GeolocationProvider tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make suggested changes. Created 8 years, 1 month 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/location_arbitrator_impl_unittest.cc
diff --git a/content/browser/geolocation/location_arbitrator_unittest.cc b/content/browser/geolocation/location_arbitrator_impl_unittest.cc
similarity index 98%
rename from content/browser/geolocation/location_arbitrator_unittest.cc
rename to content/browser/geolocation/location_arbitrator_impl_unittest.cc
index ae4a84ea6376a48e602653bf0da2f5344d22b68f..b385f868d952b7acf468783b2ddb5b88a0fe18a9 100644
--- a/content/browser/geolocation/location_arbitrator_unittest.cc
+++ b/content/browser/geolocation/location_arbitrator_impl_unittest.cc
@@ -5,7 +5,7 @@
#include "base/memory/scoped_ptr.h"
#include "content/browser/geolocation/fake_access_token_store.h"
#include "content/browser/geolocation/geolocation_observer.h"
-#include "content/browser/geolocation/location_arbitrator.h"
+#include "content/browser/geolocation/location_arbitrator_impl.h"
#include "content/browser/geolocation/location_provider.h"
#include "content/browser/geolocation/mock_location_provider.h"
#include "content/public/common/geoposition.h"
@@ -61,12 +61,12 @@ void SetReferencePosition(MockLocationProvider* provider) {
namespace {
-class TestingGeolocationArbitrator : public GeolocationArbitrator {
+class TestingGeolocationArbitrator : public GeolocationArbitratorImpl {
public:
TestingGeolocationArbitrator(
GeolocationObserver* observer,
AccessTokenStore* access_token_store)
- : GeolocationArbitrator(observer),
+ : GeolocationArbitratorImpl(observer),
cell_(NULL),
gps_(NULL),
access_token_store_(access_token_store) {
@@ -130,7 +130,7 @@ class GeolocationLocationArbitratorTest : public testing::Test {
base::TimeDelta SwitchOnFreshnessCliff() {
// Add 1, to ensure it meets any greater-than test.
return base::TimeDelta::FromMilliseconds(
- GeolocationArbitrator::kFixStaleTimeoutMilliseconds + 1);
+ GeolocationArbitratorImpl::kFixStaleTimeoutMilliseconds + 1);
}
MockLocationProvider* cell() {
« no previous file with comments | « content/browser/geolocation/location_arbitrator_impl.cc ('k') | content/browser/geolocation/location_arbitrator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698