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

Unified Diff: chrome/test/perf/dom_checker_uitest.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/gpu/gpu_pixel_browsertest.cc ('k') | chrome/test/perf/feature_startup_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/dom_checker_uitest.cc
diff --git a/chrome/test/perf/dom_checker_uitest.cc b/chrome/test/perf/dom_checker_uitest.cc
index f9662509033c6c76d7f7487a36be8c63f2b592f3..f22cce496190c30a3e0a6f2ad511c5640e71f57c 100644
--- a/chrome/test/perf/dom_checker_uitest.cc
+++ b/chrome/test/perf/dom_checker_uitest.cc
@@ -143,20 +143,24 @@ class DomCheckerTest : public UITest {
}
bool WaitUntilTestCompletes(TabProxy* tab) {
- return WaitUntilJavaScriptCondition(tab, L"",
+ return WaitUntilJavaScriptCondition(
+ tab,
+ std::wstring(),
L"window.domAutomationController.send(automation.IsDone());",
TestTimeouts::large_test_timeout());
}
bool GetTestCount(TabProxy* tab, int* test_count) {
- return tab->ExecuteAndExtractInt(L"",
+ return tab->ExecuteAndExtractInt(
+ std::wstring(),
L"window.domAutomationController.send(automation.GetTestCount());",
test_count);
}
bool GetTestsFailed(TabProxy* tab, ResultsSet* tests_failed) {
std::wstring json_wide;
- bool succeeded = tab->ExecuteAndExtractString(L"",
+ bool succeeded = tab->ExecuteAndExtractString(
+ std::wstring(),
L"window.domAutomationController.send("
L" JSON.stringify(automation.GetFailures()));",
&json_wide);
« no previous file with comments | « chrome/test/gpu/gpu_pixel_browsertest.cc ('k') | chrome/test/perf/feature_startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698