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

Unified Diff: chrome/test/webdriver/commands/find_element_commands.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/ui_test.cc ('k') | chrome/test/webdriver/server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/commands/find_element_commands.cc
===================================================================
--- chrome/test/webdriver/commands/find_element_commands.cc (revision 70328)
+++ chrome/test/webdriver/commands/find_element_commands.cc (working copy)
@@ -8,6 +8,7 @@
#include <string>
#include "base/string_number_conversions.h"
+#include "base/threading/platform_thread.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "third_party/webdriver/atoms.h"
@@ -100,7 +101,7 @@
int64 elapsed_time = (base::Time::Now() - start_time).InMilliseconds();
done = done || elapsed_time > session_->implicit_wait();
- PlatformThread::Sleep(50); // Prevent a busy loop that eats the cpu.
+ base::PlatformThread::Sleep(50); // Prevent a busy loop that eats the cpu.
}
response->set_value(result);
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome/test/webdriver/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698