summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_config_service_mac.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-01 18:20:14 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-01 18:20:14 +0000
commit0378bf4edc40686bac06c8e14bd25fdb3f9cfb28 (patch)
treeee5543b43dd9743d75e1aa8f16692dcfca6c813f /net/proxy/proxy_config_service_mac.cc
parentd028296ec1c0fdfbd40e2390ca3121de7055295d (diff)
downloadchromium_src-0378bf4edc40686bac06c8e14bd25fdb3f9cfb28.zip
chromium_src-0378bf4edc40686bac06c8e14bd25fdb3f9cfb28.tar.gz
chromium_src-0378bf4edc40686bac06c8e14bd25fdb3f9cfb28.tar.bz2
Move base/mac_util.h to base/mac and use the base::mac namespace.
Fix up callers to use the new location & namespace. Remove includes from  files where it wasn't necessary. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6046009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_config_service_mac.cc')
-rw-r--r--net/proxy/proxy_config_service_mac.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/proxy/proxy_config_service_mac.cc b/net/proxy/proxy_config_service_mac.cc
index c6faa27..3dacf77 100644
--- a/net/proxy/proxy_config_service_mac.cc
+++ b/net/proxy/proxy_config_service_mac.cc
@@ -8,7 +8,7 @@
#include <SystemConfiguration/SystemConfiguration.h>
#include "base/logging.h"
-#include "base/mac_util.h"
+#include "base/mac/mac_util.h"
#include "base/mac/scoped_cftyperef.h"
#include "base/sys_string_conversions.h"
#include "net/base/net_errors.h"
@@ -27,7 +27,7 @@ const int kPollIntervalSec = 5;
bool GetBoolFromDictionary(CFDictionaryRef dict,
CFStringRef key,
bool default_value) {
- CFNumberRef number = (CFNumberRef)mac_util::GetValueFromDictionary(
+ CFNumberRef number = (CFNumberRef)base::mac::GetValueFromDictionary(
dict, key, CFNumberGetTypeID());
if (!number)
return default_value;
@@ -59,7 +59,7 @@ void GetCurrentProxyConfig(ProxyConfig* config) {
if (GetBoolFromDictionary(config_dict.get(),
kSCPropNetProxiesProxyAutoConfigEnable,
false)) {
- CFStringRef pac_url_ref = (CFStringRef)mac_util::GetValueFromDictionary(
+ CFStringRef pac_url_ref = (CFStringRef)base::mac::GetValueFromDictionary(
config_dict.get(),
kSCPropNetProxiesProxyAutoConfigURLString,
CFStringGetTypeID());
@@ -129,7 +129,7 @@ void GetCurrentProxyConfig(ProxyConfig* config) {
// proxy bypass list
CFArrayRef bypass_array_ref =
- (CFArrayRef)mac_util::GetValueFromDictionary(
+ (CFArrayRef)base::mac::GetValueFromDictionary(
config_dict.get(),
kSCPropNetProxiesExceptionsList,
CFArrayGetTypeID());