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

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

Issue 10103029: Add device location reporting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Forgot to exclude CrOS-only sources from build on other OSes. 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.h
diff --git a/content/browser/geolocation/mock_location_provider.h b/content/browser/geolocation/mock_location_provider.h
index 69411c3bade178ed9088511f99e2e7a076572c62..5155b7c6e606df6d5deaa0764fbe44c8fbee5aef 100644
--- a/content/browser/geolocation/mock_location_provider.h
+++ b/content/browser/geolocation/mock_location_provider.h
@@ -6,10 +6,9 @@
#define CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
#pragma once
-
-#include "base/memory/ref_counted.h"
+#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
-#include "base/threading/thread.h"
+#include "base/message_loop_proxy.h"
#include "content/browser/geolocation/location_provider.h"
#include "content/common/geoposition.h"
@@ -60,5 +59,9 @@ LocationProviderBase* NewAutoFailMockLocationProvider();
// the Network Location provider, in deferring making location updates until
// a permission request has been confirmed.
LocationProviderBase* NewAutoSuccessMockNetworkLocationProvider();
+// Similar to NewAutoFailMockLocationProvider but mimicks the behavior of
+// the Network Location provider, in deferring making location updates until
+// a permission request has been confirmed.
+LocationProviderBase* NewAutoFailMockNetworkLocationProvider();
#endif // CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698