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

Unified Diff: chrome/common/chrome_switches.cc

Issue 9317013: Add a centralized mechanism for whitelisting access to extension permissions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comments Created 8 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/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 808877eb0ea37c13c110b7ddcbe4e2469816ff6c..6ddfda166393184e5dedcacc989652589bd392bd 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -50,10 +50,6 @@ const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
// automation testing of the gallery.
const char kAllowScriptingGallery[] = "allow-scripting-gallery";
-// Specifies comma-separated list of extension ids to grant access to local
-// websocket proxy.
-const char kAllowWebSocketProxy[] = "allow-websocket-proxy";
-
// Allow compositing on chrome:// pages.
const char kAllowWebUICompositing[] = "allow-webui-compositing";
@@ -1189,6 +1185,9 @@ const char kUserDataDir[] = "user-data-dir";
// Prints version information and quits.
const char kVersion[] = "version";
+// Adds the given extension ID to all the permission whitelists.
+const char kWhitelistedExtensionID[] = "whitelisted-extension-id";
+
// Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to
// use Chromium's network stack to fetch, and V8 to evaluate.
const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver";

Powered by Google App Engine
This is Rietveld 408576698