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

Unified Diff: chrome/browser/extensions/extension_proxy_api_helpers.cc

Issue 8869003: Move the "extension" namespace from extension_api.json into extension_api_extension.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/extensions/extension_proxy_api_helpers.cc
diff --git a/chrome/browser/extensions/extension_proxy_api_helpers.cc b/chrome/browser/extensions/extension_proxy_api_helpers.cc
index 6a9e14b274e09ebd9bb887a1d803859597b42e6e..0cf738b34fb2932f4f7bdfd6fc1e2fe3de366aec 100644
--- a/chrome/browser/extensions/extension_proxy_api_helpers.cc
+++ b/chrome/browser/extensions/extension_proxy_api_helpers.cc
@@ -64,7 +64,7 @@ bool GetProxyModeFromExtensionPref(const DictionaryValue* proxy_config,
std::string proxy_mode;
// We can safely assume that this is ASCII due to the allowed enumeration
- // values specified in extension_api.json.
+ // values specified in api/.
proxy_config->GetStringASCII(keys::kProxyConfigMode, &proxy_mode);
if (!ProxyPrefs::StringToProxyMode(proxy_mode, out)) {
LOG(ERROR) << "Invalid mode for proxy settings: " << proxy_mode;
@@ -154,7 +154,7 @@ bool GetProxyServer(const DictionaryValue* proxy_server,
std::string scheme_string; // optional.
// We can safely assume that this is ASCII due to the allowed enumeration
- // values specified in extension_api.json.
+ // values specified in api/.
proxy_server->GetStringASCII(keys::kProxyConfigRuleScheme, &scheme_string);
net::ProxyServer::Scheme scheme =

Powered by Google App Engine
This is Rietveld 408576698