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

Unified Diff: net/proxy/proxy_config_service_android.h

Issue 540593002: Use scoped_refptr<SingleThreadTaskRunner> when initializing ProxyConfigService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 949ec426ebcf0dfd9d4710db8f4a12f8bdddf4f6..7033e9d1e9792a7327036cdbafab895404c7c988 100644
--- a/net/proxy/proxy_config_service_android.h
+++ b/net/proxy/proxy_config_service_android.h
@@ -48,8 +48,9 @@ class NET_EXPORT ProxyConfigServiceAndroid : public ProxyConfigService {
virtual void ProxySettingsChanged(JNIEnv*, jobject) = 0;
};
- ProxyConfigServiceAndroid(base::SequencedTaskRunner* network_task_runner,
- base::SequencedTaskRunner* jni_task_runner);
+ ProxyConfigServiceAndroid(
+ const scoped_refptr<base::SequencedTaskRunner>& network_task_runner,
+ const scoped_refptr<base::SequencedTaskRunner>& jni_task_runner);
virtual ~ProxyConfigServiceAndroid();
@@ -67,9 +68,10 @@ class NET_EXPORT ProxyConfigServiceAndroid : public ProxyConfigService {
class Delegate;
// For tests.
- ProxyConfigServiceAndroid(base::SequencedTaskRunner* network_task_runner,
- base::SequencedTaskRunner* jni_task_runner,
- GetPropertyCallback get_property_callback);
+ ProxyConfigServiceAndroid(
+ const scoped_refptr<base::SequencedTaskRunner>& network_task_runner,
+ const scoped_refptr<base::SequencedTaskRunner>& jni_task_runner,
+ GetPropertyCallback get_property_callback);
// For tests.
void ProxySettingsChanged();
« no previous file with comments | « content/shell/browser/shell_url_request_context_getter.cc ('k') | net/proxy/proxy_config_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698