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

Unified Diff: chrome/test/reliability/page_load_test.cc

Issue 3056029: Move the number conversions from string_util to a new file.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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/page_cycler/page_cycler_test.cc ('k') | chrome/test/startup/startup_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/reliability/page_load_test.cc
===================================================================
--- chrome/test/reliability/page_load_test.cc (revision 54340)
+++ chrome/test/reliability/page_load_test.cc (working copy)
@@ -627,10 +627,10 @@
if (parsed_command_line.HasSwitch(kStartPageSwitch)) {
ASSERT_TRUE(parsed_command_line.HasSwitch(kEndPageSwitch));
ASSERT_TRUE(
- StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
+ base::StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
kStartPageSwitch)), &g_start_page));
ASSERT_TRUE(
- StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
+ base::StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
kEndPageSwitch)), &g_end_page));
ASSERT_TRUE(g_start_page > 0 && g_end_page > 0);
ASSERT_TRUE(g_start_page < g_end_page);
@@ -645,14 +645,14 @@
if (parsed_command_line.HasSwitch(kStartIndexSwitch)) {
ASSERT_TRUE(
- StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
+ base::StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
kStartIndexSwitch)), &g_start_index));
ASSERT_GT(g_start_index, 0);
}
if (parsed_command_line.HasSwitch(kEndIndexSwitch)) {
ASSERT_TRUE(
- StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
+ base::StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
kEndIndexSwitch)), &g_end_index));
ASSERT_GT(g_end_index, 0);
}
@@ -664,7 +664,7 @@
if (parsed_command_line.HasSwitch(kIterationSwitch)) {
ASSERT_TRUE(
- StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
+ base::StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
kIterationSwitch)), &g_iterations));
ASSERT_GT(g_iterations, 0);
}
@@ -685,7 +685,7 @@
if (parsed_command_line.HasSwitch(kTimeoutSwitch)) {
ASSERT_TRUE(
- StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
+ base::StringToInt(WideToUTF16(parsed_command_line.GetSwitchValue(
kTimeoutSwitch)), &g_timeout_ms));
ASSERT_GT(g_timeout_ms, 0);
}
« no previous file with comments | « chrome/test/page_cycler/page_cycler_test.cc ('k') | chrome/test/startup/startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698