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

Unified Diff: net/proxy/proxy_config_service_android.h

Issue 26763005: android: Use new proxy from PROXY_CHANGE intent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Document arguments to ProxySettingsChanged Created 7 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: 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 3ddbaebe78e9ead4b3e73567bbb7a74c784f587e..de579e9964693ec1233fab0559a3c2019aaa2f30 100644
--- a/net/proxy/proxy_config_service_android.h
+++ b/net/proxy/proxy_config_service_android.h
@@ -39,8 +39,9 @@ class NET_EXPORT ProxyConfigServiceAndroid : public ProxyConfigService {
virtual ~JNIDelegate() {}
// Called from Java (on JNI thread) to signal that the proxy settings have
- // changed.
- virtual void ProxySettingsChanged(JNIEnv*, jobject) = 0;
+ // changed. The string and int arguments (the host/port pair for the proxy)
+ // are either a host/port pair or ("", 0) to indicate "no proxy".
+ virtual void ProxySettingsChanged(JNIEnv*, jobject, jstring, jint) = 0;
};
ProxyConfigServiceAndroid(base::SequencedTaskRunner* network_task_runner,

Powered by Google App Engine
This is Rietveld 408576698