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

Unified Diff: net/proxy/proxy_service.h

Issue 6597070: Allow ProxyConfigService to report "no configuration set" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment Created 9 years, 9 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: net/proxy/proxy_service.h
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h
index 72b76efc0c3a96c0c90a407951a6c98b72e8a188..f561b631da8bca062c47bfa2c61d2ccea126560b 100644
--- a/net/proxy/proxy_service.h
+++ b/net/proxy/proxy_service.h
@@ -13,11 +13,11 @@
#include "base/scoped_ptr.h"
#include "base/synchronization/waitable_event.h"
#include "net/base/completion_callback.h"
-#include "net/base/network_change_notifier.h"
#include "net/base/net_log.h"
+#include "net/base/network_change_notifier.h"
#include "net/proxy/proxy_config_service.h"
-#include "net/proxy/proxy_server.h"
#include "net/proxy/proxy_info.h"
+#include "net/proxy/proxy_server.h"
class GURL;
class MessageLoop;
@@ -285,7 +285,9 @@ class ProxyService : public base::RefCountedThreadSafe<ProxyService>,
virtual void OnIPAddressChanged();
// ProxyConfigService::Observer
- virtual void OnProxyConfigChanged(const ProxyConfig& config);
+ virtual void OnProxyConfigChanged(
+ const ProxyConfig& config,
+ ProxyConfigService::ConfigAvailability availability);
scoped_ptr<ProxyConfigService> config_service_;
scoped_ptr<ProxyResolver> resolver_;

Powered by Google App Engine
This is Rietveld 408576698