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/test | |
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/test')
-rw-r--r-- | chrome/test/automation/automation_proxy_uitest.cc | 5 | ||||
-rw-r--r-- | chrome/test/startup/feature_startup_test.cc | 2 | ||||
-rw-r--r-- | chrome/test/startup/shutdown_test.cc | 2 | ||||
-rw-r--r-- | chrome/test/startup/startup_test.cc | 15 | ||||
-rw-r--r-- | chrome/test/tab_switching/tab_switching_test.cc | 2 |
5 files changed, 15 insertions, 11 deletions
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc index f329aed..28903ca 100644 --- a/chrome/test/automation/automation_proxy_uitest.cc +++ b/chrome/test/automation/automation_proxy_uitest.cc @@ -576,8 +576,9 @@ class AutomationProxyTest3 : public UITest { std::wstring CreateJSStringForDOMQuery(const std::wstring& id) { std::wstring jscript(L"window.domAutomationController"); - StringAppendF(&jscript, L".send(document.getElementById('%ls').nodeName);", - id.c_str()); + base::StringAppendF(&jscript, + L".send(document.getElementById('%ls').nodeName);", + id.c_str()); return jscript; } diff --git a/chrome/test/startup/feature_startup_test.cc b/chrome/test/startup/feature_startup_test.cc index aec3eab..a9480eb 100644 --- a/chrome/test/startup/feature_startup_test.cc +++ b/chrome/test/startup/feature_startup_test.cc @@ -35,7 +35,7 @@ class NewTabUIStartupTest : public UIPerfTest { bool important) { std::string times; for (int i = 0; i < kNumCycles; ++i) - StringAppendF(×, "%.2f,", timings[i].InMillisecondsF()); + base::StringAppendF(×, "%.2f,", timings[i].InMillisecondsF()); PrintResultList("new_tab", "", label, times, "ms", important); } diff --git a/chrome/test/startup/shutdown_test.cc b/chrome/test/startup/shutdown_test.cc index c92cc2f..6093305 100644 --- a/chrome/test/startup/shutdown_test.cc +++ b/chrome/test/startup/shutdown_test.cc @@ -107,7 +107,7 @@ class ShutdownTest : public UIPerfTest { std::string times; for (int i = 0; i < numCycles; ++i) - StringAppendF(×, "%.2f,", timings[i].InMillisecondsF()); + base::StringAppendF(×, "%.2f,", timings[i].InMillisecondsF()); PrintResultList(graph, "", trace, times, "ms", important); } }; diff --git a/chrome/test/startup/startup_test.cc b/chrome/test/startup/startup_test.cc index df381ab..1b36dcb2 100644 --- a/chrome/test/startup/startup_test.cc +++ b/chrome/test/startup/startup_test.cc @@ -202,8 +202,11 @@ class StartupTest : public UIPerfTest { } std::string times; - for (int i = 0; i < numCycles; ++i) - StringAppendF(×, "%.2f,", timings[i].end_to_end.InMillisecondsF()); + for (int i = 0; i < numCycles; ++i) { + base::StringAppendF(×, + "%.2f,", + timings[i].end_to_end.InMillisecondsF()); + } PrintResultList(graph, "", trace, times, "ms", important); if (num_tabs > 0) { @@ -213,13 +216,13 @@ class StartupTest : public UIPerfTest { times.clear(); name = name_base + "-start"; for (int i = 0; i < numCycles; ++i) - StringAppendF(×, "%.2f,", timings[i].first_start_ms); + base::StringAppendF(×, "%.2f,", timings[i].first_start_ms); PrintResultList(graph, "", name.c_str(), times, "ms", important); times.clear(); name = name_base + "-first"; for (int i = 0; i < numCycles; ++i) - StringAppendF(×, "%.2f,", timings[i].first_stop_ms); + base::StringAppendF(×, "%.2f,", timings[i].first_stop_ms); PrintResultList(graph, "", name.c_str(), times, "ms", important); if (nth_timed_tab > 0) { @@ -227,7 +230,7 @@ class StartupTest : public UIPerfTest { times.clear(); name = name_base + "-" + base::IntToString(nth_timed_tab); for (int i = 0; i < numCycles; ++i) - StringAppendF(×, "%.2f,", timings[i].nth_tab_stop_ms); + base::StringAppendF(×, "%.2f,", timings[i].nth_tab_stop_ms); PrintResultList(graph, "", name.c_str(), times, "ms", important); } @@ -236,7 +239,7 @@ class StartupTest : public UIPerfTest { times.clear(); name = name_base + "-all"; for (int i = 0; i < numCycles; ++i) - StringAppendF(×, "%.2f,", timings[i].last_stop_ms); + base::StringAppendF(×, "%.2f,", timings[i].last_stop_ms); PrintResultList(graph, "", name.c_str(), times, "ms", important); } } diff --git a/chrome/test/tab_switching/tab_switching_test.cc b/chrome/test/tab_switching/tab_switching_test.cc index 028642f..29776fd 100644 --- a/chrome/test/tab_switching/tab_switching_test.cc +++ b/chrome/test/tab_switching/tab_switching_test.cc @@ -66,7 +66,7 @@ class TabSwitchingUITest : public UIPerfTest { bool important) { std::string times; for (int i = 0; i < kNumCycles; ++i) - StringAppendF(×, "%.2f,", timings[i].InMillisecondsF()); + base::StringAppendF(×, "%.2f,", timings[i].InMillisecondsF()); PrintResultList("times", "", label, times, "ms", important); } |