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

Unified Diff: chrome/test/memory_test/memory_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/live_sync/live_sync_test.cc ('k') | chrome/test/mini_installer_test/chrome_mini_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/memory_test/memory_test.cc
===================================================================
--- chrome/test/memory_test/memory_test.cc (revision 70328)
+++ chrome/test/memory_test/memory_test.cc (working copy)
@@ -9,6 +9,7 @@
#include "base/path_service.h"
#include "base/process_util.h"
#include "base/string_util.h"
+#include "base/threading/platform_thread.h"
#include "chrome/browser/net/url_fixer_upper.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_paths.h"
@@ -148,7 +149,7 @@
SCOPED_TRACE(url);
if (url == "<PAUSE>") { // Special command to delay on this page
- PlatformThread::Sleep(2000);
+ base::PlatformThread::Sleep(2000);
continue;
}
@@ -197,7 +198,7 @@
// A new window will not load a url if requested too soon. The window
// stays on the new tab page instead.
- PlatformThread::Sleep(200);
+ base::PlatformThread::Sleep(200);
active_window = window_count - 1;
window = automation()->GetBrowserWindow(active_window);
@@ -224,7 +225,7 @@
// TODO(mbelshe): Bug 2953
// The automation crashes periodically if we cycle too quickly.
// To make these tests more reliable, slowing them down a bit.
- PlatformThread::Sleep(100);
+ base::PlatformThread::Sleep(100);
}
size_t stop_size = base::GetSystemCommitCharge();
« no previous file with comments | « chrome/test/live_sync/live_sync_test.cc ('k') | chrome/test/mini_installer_test/chrome_mini_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698