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

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

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/net.gyp ('k') | net/proxy/proxy_config_service_android.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 #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_ANDROID_H_ 5 #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_ANDROID_H_
6 #define NET_PROXY_PROXY_CONFIG_SERVICE_ANDROID_H_ 6 #define NET_PROXY_PROXY_CONFIG_SERVICE_ANDROID_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // ProxyConfigService: 54 // ProxyConfigService:
55 // Called only on the network thread. 55 // Called only on the network thread.
56 virtual void AddObserver(Observer* observer) OVERRIDE; 56 virtual void AddObserver(Observer* observer) OVERRIDE;
57 virtual void RemoveObserver(Observer* observer) OVERRIDE; 57 virtual void RemoveObserver(Observer* observer) OVERRIDE;
58 virtual ConfigAvailability GetLatestProxyConfig(ProxyConfig* config) OVERRIDE; 58 virtual ConfigAvailability GetLatestProxyConfig(ProxyConfig* config) OVERRIDE;
59 59
60 private: 60 private:
61 friend class ProxyConfigServiceAndroidTestBase; 61 friend class ProxyConfigServiceAndroidTestBase;
62 class Delegate; 62 class Delegate;
63 63
64
65 // For tests. 64 // For tests.
66 ProxyConfigServiceAndroid(base::SequencedTaskRunner* network_task_runner, 65 ProxyConfigServiceAndroid(base::SequencedTaskRunner* network_task_runner,
67 base::SequencedTaskRunner* jni_task_runner, 66 base::SequencedTaskRunner* jni_task_runner,
68 GetPropertyCallback get_property_callback); 67 GetPropertyCallback get_property_callback);
69 68
70 // For tests. 69 // For tests.
71 void ProxySettingsChanged(); 70 void ProxySettingsChanged();
72 71
73 scoped_refptr<Delegate> delegate_; 72 scoped_refptr<Delegate> delegate_;
74 73
75 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceAndroid); 74 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceAndroid);
76 }; 75 };
77 76
78 } // namespace net 77 } // namespace net
79 78
80 #endif // NET_PROXY_PROXY_CONFIG_SERVICE_ANDROID_H_ 79 #endif // NET_PROXY_PROXY_CONFIG_SERVICE_ANDROID_H_
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/proxy/proxy_config_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698