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

Unified Diff: chrome/browser/chromeos/proxy_cros_settings_provider.h

Issue 8102019: redesign and reimplement proxy config service and tracker, revise proxy ui on cros (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/chromeos/proxy_cros_settings_provider.h
===================================================================
--- chrome/browser/chromeos/proxy_cros_settings_provider.h (revision 103881)
+++ chrome/browser/chromeos/proxy_cros_settings_provider.h (working copy)
@@ -21,20 +21,18 @@
virtual bool HandlesSetting(const std::string& path) const OVERRIDE;
// Set the current network whose proxy settings will be displayed and possibly
- // edited on.
- void SetCurrentNetwork(const std::string& network);
+ // edited on, with current user profile.
+ void SetCurrentNetworkWithProfile(const std::string& network,
+ Profile* profile);
// Make the active network the current one whose proxy settings will be
- // displayed and possibly edited on.
- void MakeActiveNetworkCurrent();
+ // displayed and possibly edited on, with current user profile.
+ void MakeActiveNetworkCurrentWithProfile(Profile* profile);
// Returns name of current network that has been set via SetCurrentNetwork or
// MakeActiveNetworkCurrent.
const std::string& GetCurrentNetworkName() const;
- // Returns true if user has selected to use shared proxies.
- bool IsUsingSharedProxies() const;
-
private:
// CrosSettingsProvider implementation.
virtual void DoSet(const std::string& path, Value* value) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698