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

Side by Side Diff: net/proxy/proxy_config_service_android.cc

Issue 11191047: Upstream Android-specific net/ changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/proxy/proxy_config_service_android.h ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/proxy/proxy_config_service_android.h" 5 #include "net/proxy/proxy_config_service_android.h"
6 6
7 #include <sys/system_properties.h> 7 #include <sys/system_properties.h>
8 8
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 ProxyConfigServiceAndroid::GetLatestProxyConfig(ProxyConfig* config) { 316 ProxyConfigServiceAndroid::GetLatestProxyConfig(ProxyConfig* config) {
317 return delegate_->GetLatestProxyConfig(config); 317 return delegate_->GetLatestProxyConfig(config);
318 } 318 }
319 319
320 ProxyConfigServiceAndroid::ProxyConfigServiceAndroid( 320 ProxyConfigServiceAndroid::ProxyConfigServiceAndroid(
321 base::SequencedTaskRunner* network_task_runner, 321 base::SequencedTaskRunner* network_task_runner,
322 base::SequencedTaskRunner* jni_task_runner, 322 base::SequencedTaskRunner* jni_task_runner,
323 GetPropertyCallback get_property_callback) 323 GetPropertyCallback get_property_callback)
324 : delegate_(new Delegate( 324 : delegate_(new Delegate(
325 network_task_runner, jni_task_runner, get_property_callback)) { 325 network_task_runner, jni_task_runner, get_property_callback)) {
326 delegate_->SetupJNI();
326 delegate_->FetchInitialConfig(); 327 delegate_->FetchInitialConfig();
327 } 328 }
328 329
329 void ProxyConfigServiceAndroid::ProxySettingsChanged() { 330 void ProxyConfigServiceAndroid::ProxySettingsChanged() {
330 delegate_->ProxySettingsChanged(); 331 delegate_->ProxySettingsChanged();
331 } 332 }
332 333
333 } // namespace net 334 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/proxy_config_service_android.h ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698