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

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

Issue 10103029: Add device location reporting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments addressed. Also added lots of includes to IWYU. Created 8 years, 8 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.cc
diff --git a/content/browser/geolocation/mock_location_provider.cc b/content/browser/geolocation/mock_location_provider.cc
index fc9abd3c6972e99645e851d294d863425d9b8b3b..9ede5e73f1f6618cbacd9c9fc0899010de0a6301 100644
--- a/content/browser/geolocation/mock_location_provider.cc
+++ b/content/browser/geolocation/mock_location_provider.cc
@@ -130,3 +130,7 @@ LocationProviderBase* NewAutoFailMockLocationProvider() {
LocationProviderBase* NewAutoSuccessMockNetworkLocationProvider() {
return new AutoMockLocationProvider(true, true);
}
+
+LocationProviderBase* NewAutoFailMockNetworkLocationProvider() {
+ return new AutoMockLocationProvider(false, true);
+}

Powered by Google App Engine
This is Rietveld 408576698