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

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

Issue 10882010: Add iOS support to ProxyService (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added related files from chrome/browser/net Created 8 years, 4 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_
6 #define NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_
7
8 #include "net/proxy/polling_proxy_config_service.h"
9
10 namespace base {
11 class SingleThreadTaskRunner;
12 } // namespace base
13
14 namespace net {
15
16 class ProxyConfigServiceIOS : public PollingProxyConfigService {
17 public:
18 // Constructs a ProxyConfigService that watches the iOS system proxy settings.
19 // This instance is expected to be operated and deleted on the IO thread
20 // (however it may be constructed from a different thread).
21 explicit ProxyConfigServiceIOS(
22 base::SingleThreadTaskRunner* io_thread_task_runner);
23 virtual ~ProxyConfigServiceIOS();
24
25 private:
26 // The thread that we expect to be operated on.
27 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_;
28
29 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceIOS);
30 };
31
32 } // namespace net
33
34 #endif // NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698