Index: net/proxy/proxy_config_service_android.h |
diff --git a/net/proxy/proxy_config_service_android.h b/net/proxy/proxy_config_service_android.h |
index d642d37c73e4f8312f3a17eb7136527b498f4aa0..cb15bc51f66c63548bb7f5dc579544e0b0414b3b 100644 |
--- a/net/proxy/proxy_config_service_android.h |
+++ b/net/proxy/proxy_config_service_android.h |
@@ -64,6 +64,11 @@ class NET_EXPORT ProxyConfigServiceAndroid : public ProxyConfigService { |
// Register JNI bindings. |
static bool Register(JNIEnv* env); |
+ // Android provides a local HTTP proxy that does PAC resolution. When this |
+ // setting is enabled, the proxy config service ignores the PAC URL and uses |
+ // the local proxy for all proxy resolution. |
+ void set_exclude_pac_url(bool enabled); |
+ |
// ProxyConfigService: |
// Called only on the network thread. |
virtual void AddObserver(Observer* observer) override; |