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

Unified Diff: chrome/test/automation/tab_proxy.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/automation/proxy_launcher.cc ('k') | chrome/test/live_sync/live_sync_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/tab_proxy.cc
===================================================================
--- chrome/test/automation/tab_proxy.cc (revision 70328)
+++ chrome/test/automation/tab_proxy.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "base/string16.h"
+#include "base/threading/platform_thread.h"
#include "base/utf_string_conversions.h"
#include "chrome/common/automation_messages.h"
#include "chrome/common/json_value_serializer.h"
@@ -363,7 +364,7 @@
int wait_timeout) {
int intervals = std::max(wait_timeout / automation::kSleepTime, 1);
for (int i = 0; i < intervals; ++i) {
- PlatformThread::Sleep(automation::kSleepTime);
+ base::PlatformThread::Sleep(automation::kSleepTime);
bool succeeded = GetConstrainedWindowCount(new_count);
if (!succeeded)
return false;
@@ -391,7 +392,7 @@
int wait_timeout) {
int intervals = std::max(wait_timeout / automation::kSleepTime, 1);
for (int i = 0; i < intervals; ++i) {
- PlatformThread::Sleep(automation::kSleepTime);
+ base::PlatformThread::Sleep(automation::kSleepTime);
int new_count = -1;
bool succeeded = GetBlockedPopupCount(&new_count);
if (!succeeded)
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | chrome/test/live_sync/live_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698