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

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: nits 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
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geolocation/Geolocation.h
diff --git a/Source/modules/geolocation/Geolocation.h b/Source/modules/geolocation/Geolocation.h
index bb15240388a63491cee5b38d690cc1db7757238d..2ea8ac79122302dd903a8a144ed0ec2a647971fe 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() const;
+
GeoNotifierSet m_oneShots;
GeolocationWatchers m_watchers;
GeoNotifierSet m_pendingForPermissionNotifiers;
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698