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

Unified Diff: chrome/test/ui/ui_test.cc

Issue 6001010: Move platform_thread to base/threading and put in the base namespace. I left ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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/ui/run_all_unittests.cc ('k') | chrome/test/webdriver/commands/find_element_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ui_test.cc
===================================================================
--- chrome/test/ui/ui_test.cc (revision 70328)
+++ chrome/test/ui/ui_test.cc (working copy)
@@ -21,13 +21,13 @@
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/path_service.h"
-#include "base/platform_thread.h"
#include "base/process_util.h"
#include "base/scoped_ptr.h"
#include "base/scoped_temp_dir.h"
#include "base/string_number_conversions.h"
#include "base/string_split.h"
#include "base/test/test_file_util.h"
+#include "base/threading/platform_thread.h"
#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
@@ -212,7 +212,7 @@
if (wait_for_initial_loads_)
ASSERT_TRUE(automation_proxy_->WaitForInitialLoads());
else
- PlatformThread::Sleep(sleep_timeout_ms());
+ base::PlatformThread::Sleep(sleep_timeout_ms());
EXPECT_TRUE(automation()->SetFilteredInet(ShouldFilterInet()));
}
@@ -1021,7 +1021,7 @@
for (int i = 0; i < 10; i++) {
if (file_util::EvictFileFromSystemCache(path))
return true;
- PlatformThread::Sleep(sleep_timeout_ms() / 10);
+ base::PlatformThread::Sleep(sleep_timeout_ms() / 10);
}
return false;
}
@@ -1046,7 +1046,7 @@
file_util::GetFileInfo(generated_file, &previous);
exist = true;
}
- PlatformThread::Sleep(sleep_timeout_ms() / kCycles);
+ base::PlatformThread::Sleep(sleep_timeout_ms() / kCycles);
}
EXPECT_TRUE(exist);
« no previous file with comments | « chrome/test/ui/run_all_unittests.cc ('k') | chrome/test/webdriver/commands/find_element_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698