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

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

Issue 19625002: Use a direct include of the message_loop header in net/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
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_ios.h" 5 #include "net/proxy/proxy_config_service_ios.h"
6 6
7 #include <CoreFoundation/CoreFoundation.h> 7 #include <CoreFoundation/CoreFoundation.h>
8 #include <CFNetwork/CFProxySupport.h> 8 #include <CFNetwork/CFProxySupport.h>
9 9
10 #include "base/message_loop.h"
11 #include "base/mac/foundation_util.h" 10 #include "base/mac/foundation_util.h"
12 #include "base/mac/scoped_cftyperef.h" 11 #include "base/mac/scoped_cftyperef.h"
12 #include "base/message_loop/message_loop.h"
13 #include "base/strings/sys_string_conversions.h" 13 #include "base/strings/sys_string_conversions.h"
14 #include "net/proxy/proxy_config.h" 14 #include "net/proxy/proxy_config.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 namespace { 18 namespace {
19 19
20 const int kPollIntervalSec = 10; 20 const int kPollIntervalSec = 10;
21 21
22 // Utility function to pull out a boolean value from a dictionary and return it, 22 // Utility function to pull out a boolean value from a dictionary and return it,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 ProxyConfigServiceIOS::ProxyConfigServiceIOS() 101 ProxyConfigServiceIOS::ProxyConfigServiceIOS()
102 : PollingProxyConfigService(base::TimeDelta::FromSeconds(kPollIntervalSec), 102 : PollingProxyConfigService(base::TimeDelta::FromSeconds(kPollIntervalSec),
103 GetCurrentProxyConfig) { 103 GetCurrentProxyConfig) {
104 } 104 }
105 105
106 ProxyConfigServiceIOS::~ProxyConfigServiceIOS() { 106 ProxyConfigServiceIOS::~ProxyConfigServiceIOS() {
107 } 107 }
108 108
109 } // namespace net 109 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/proxy_config_service_android_unittest.cc ('k') | net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698