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

Unified Diff: Source/modules/geolocation/testing/InternalsGeolocation.h

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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: Source/modules/geolocation/testing/InternalsGeolocation.h
diff --git a/Source/modules/geolocation/testing/InternalsGeolocation.h b/Source/modules/geolocation/testing/InternalsGeolocation.h
index 08b837bc7bb2fd4a8c71874b938d00ec4c99a85a..c76656758e24ef55a23e6a0e4754b5f7a33212d6 100644
--- a/Source/modules/geolocation/testing/InternalsGeolocation.h
+++ b/Source/modules/geolocation/testing/InternalsGeolocation.h
@@ -42,11 +42,11 @@ class Internals;
class InternalsGeolocation {
public:
- static void setGeolocationClientMock(Internals*, Document*);
- static void setGeolocationPosition(Internals*, Document*, double latitude, double longitude, double accuracy);
- static void setGeolocationPositionUnavailableError(Internals*, Document*, const String& message);
- static void setGeolocationPermission(Internals*, Document*, bool allowed);
- static int numberOfPendingGeolocationPermissionRequests(Internals*, Document*);
+ static void setGeolocationClientMock(Internals&, Document*);
+ static void setGeolocationPosition(Internals&, Document*, double latitude, double longitude, double accuracy);
+ static void setGeolocationPositionUnavailableError(Internals&, Document*, const String& message);
+ static void setGeolocationPermission(Internals&, Document*, bool allowed);
+ static int numberOfPendingGeolocationPermissionRequests(Internals&, Document*);
private:
static GeolocationClientMock* geolocationClient(Document*);

Powered by Google App Engine
This is Rietveld 408576698