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_ |