diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-15 12:11:11 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-15 12:11:11 +0000 |
commit | a77fa2dc9cb9a10a31688a1bb24a9101194d51af (patch) | |
tree | 9be37414818cd5be282ec26ee0d0f9b8c186ea29 /chrome/service | |
parent | 055d7f268366be957e83bff0dfb2a7f5fcf3f3a7 (diff) | |
download | chromium_src-a77fa2dc9cb9a10a31688a1bb24a9101194d51af.zip chromium_src-a77fa2dc9cb9a10a31688a1bb24a9101194d51af.tar.gz chromium_src-a77fa2dc9cb9a10a31688a1bb24a9101194d51af.tar.bz2 |
base: Get rid of 'using' declaration of StringAppendF.
Update the callers to append base:: in the calls to StringAppendF.
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/4974001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service')
-rw-r--r-- | chrome/service/cloud_print/cloud_print_url_fetcher.cc | 2 | ||||
-rw-r--r-- | chrome/service/net/service_url_request_context.cc | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/chrome/service/cloud_print/cloud_print_url_fetcher.cc b/chrome/service/cloud_print/cloud_print_url_fetcher.cc index 3c1e859..8996a0a 100644 --- a/chrome/service/cloud_print/cloud_print_url_fetcher.cc +++ b/chrome/service/cloud_print/cloud_print_url_fetcher.cc @@ -148,7 +148,7 @@ URLRequestContextGetter* CloudPrintURLFetcher::GetRequestContextGetter() { new ServiceURLRequestContextGetter(); // Now set up the user agent for cloudprint. std::string user_agent = getter->user_agent(); - StringAppendF(&user_agent, " %s", kCloudPrintUserAgent); + base::StringAppendF(&user_agent, " %s", kCloudPrintUserAgent); getter->set_user_agent(user_agent); return getter; } diff --git a/chrome/service/net/service_url_request_context.cc b/chrome/service/net/service_url_request_context.cc index 1df288d..c7268f5 100644 --- a/chrome/service/net/service_url_request_context.cc +++ b/chrome/service/net/service_url_request_context.cc @@ -55,7 +55,7 @@ std::string BuildOSCpuInfo() { } #endif - StringAppendF( + base::StringAppendF( &os_cpu, #if defined(OS_WIN) "Windows NT %d.%d", @@ -91,12 +91,12 @@ std::string MakeUserAgentForServiceProcess() { std::string extra_version_info; if (!version_info.IsOfficialBuild()) extra_version_info = "-devel"; - StringAppendF(&user_agent, - "Chrome Service %s(%s)%s %s ", - version_info.Version().c_str(), - version_info.LastChange().c_str(), - extra_version_info.c_str(), - BuildOSCpuInfo().c_str()); + base::StringAppendF(&user_agent, + "Chrome Service %s(%s)%s %s ", + version_info.Version().c_str(), + version_info.LastChange().c_str(), + extra_version_info.c_str(), + BuildOSCpuInfo().c_str()); return user_agent; } |