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

Unified Diff: chrome/browser/permissions/permission_manager.h

Issue 2612993002: Make geolocation API and X-Geo header access consistent (Closed)
Patch Set: Fix wups Created 3 years, 11 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: chrome/browser/permissions/permission_manager.h
diff --git a/chrome/browser/permissions/permission_manager.h b/chrome/browser/permissions/permission_manager.h
index bc7e0406f875793d7595f14bc956f43f5f0a0806..7dacc1dc49b72a2f7fba34e2cae9da8f677963dc 100644
--- a/chrome/browser/permissions/permission_manager.h
+++ b/chrome/browser/permissions/permission_manager.h
@@ -28,6 +28,16 @@ class PermissionManager : public KeyedService,
public content::PermissionManager,
public content_settings::Observer {
public:
+ // A field trial used to enable the global permissions kill switch.
+ // This is public so permissions that don't yet inherit from
+ // PermissionContextBase can use it.
+ static const char kPermissionsKillSwitchFieldStudy[];
+
+ // The field trial param to enable the global permissions kill switch.
+ // This is public so permissions that don't yet inherit from
+ // PermissionContextBase can use it.
+ static const char kPermissionsKillSwitchBlockedValue[];
+
static PermissionManager* Get(Profile* profile);
explicit PermissionManager(Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698