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

Unified Diff: Source/modules/geolocation/Geolocation.h

Issue 620003005: Record whether Geolocation is accessed from a secure origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@screen_orientation_use_counter
Patch Set: Created 6 years, 2 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/Geolocation.h
diff --git a/Source/modules/geolocation/Geolocation.h b/Source/modules/geolocation/Geolocation.h
index bb15240388a63491cee5b38d690cc1db7757238d..b2473d5c25a7b0f7b800d0264fe69b05b11cdc3a 100644
--- a/Source/modules/geolocation/Geolocation.h
+++ b/Source/modules/geolocation/Geolocation.h
@@ -164,6 +164,11 @@ private:
// position, the set is then cleared. The oneshots are removed everywhere.
void makeCachedPositionCallbacks();
+ // Record whether the origin trying to access Geolocation would be allowed
+ // to access a feature that can only be accessed by secure origins.
+ // See http://goo.gl/lq4gCo
+ void RecordOriginTypeAccess();
Peter Beverloo 2014/10/02 14:58:24 nit: Should start with a lower-case character per
mlamouri (slow - plz ping) 2014/10/02 15:44:54 Done.
+
GeoNotifierSet m_oneShots;
GeolocationWatchers m_watchers;
GeoNotifierSet m_pendingForPermissionNotifiers;

Powered by Google App Engine
This is Rietveld 408576698