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

Unified Diff: chromeos/network/proxy/ui_proxy_config_service.h

Issue 2836453003: tray: Show warning in network tray when VPN or proxy used. (Closed)
Patch Set: Fixed patch set 3 errors. Created 3 years, 8 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: chromeos/network/proxy/ui_proxy_config_service.h
diff --git a/chromeos/network/proxy/ui_proxy_config_service.h b/chromeos/network/proxy/ui_proxy_config_service.h
index c3e1f508006ea438e34b816e9c96eab060e21e40..2db29ff9da57c4f9355040e0890d714ecef3759e 100644
--- a/chromeos/network/proxy/ui_proxy_config_service.h
+++ b/chromeos/network/proxy/ui_proxy_config_service.h
@@ -50,6 +50,10 @@ class CHROMEOS_EXPORT UIProxyConfigService {
void SetProxyConfig(const std::string& network_guid,
const UIProxyConfig& config);
+ // Returns true if there is a default network and it has a proxy configuration
+ // with mode == MODE_FIXED_SERVERS.
+ bool HasDefaultNetworkProxyConfigured();
+
private:
// Determines effective proxy config based on prefs from config tracker,
// |network| and if user is using shared proxies. The effective config is
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/network_state_informer.cc ('k') | chromeos/network/proxy/ui_proxy_config_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698