summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/service')
-rw-r--r--chrome/service/cloud_print/cloud_print_url_fetcher.cc2
-rw-r--r--chrome/service/net/service_url_request_context.cc14
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;
}