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

Unified Diff: chrome/browser/extensions/extension_proxy_api.h

Issue 6004003: Introduce a separate preference for 'proxy server mode' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit - alphabetize Created 10 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_proxy_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_proxy_api.h
diff --git a/chrome/browser/extensions/extension_proxy_api.h b/chrome/browser/extensions/extension_proxy_api.h
index 95be304d20857944f9fb8812f0039246aaeb4836..d645c44aac4d9837642c8ccc03b88f3b5eafbf01 100644
--- a/chrome/browser/extensions/extension_proxy_api.h
+++ b/chrome/browser/extensions/extension_proxy_api.h
@@ -33,14 +33,12 @@ class UseCustomProxySettingsFunction : public SyncExtensionFunction {
bool GetProxyServer(const DictionaryValue* dict, ProxyServer* proxy_server);
- bool ApplyAutoDetect(bool auto_detect);
+ bool ApplyMode(const std::string& mode);
bool ApplyPacScript(DictionaryValue* pac_dict);
bool ApplyProxyRules(DictionaryValue* proxy_rules);
- // Sends a notification that the given pref would like to change to the
- // indicated pref_value. This is mainly useful so the ExtensionPrefStore can
- // apply the requested change.
- void SendNotification(const char* pref_path, Value* pref_value);
+ // Takes ownership of |pref_value|.
+ void ApplyPreference(const char* pref_path, Value* pref_value);
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_proxy_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698