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

Unified Diff: chrome_frame/test/perf/chrome_frame_perftest.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_frame/test/mock_ie_event_sink_actions.h ('k') | chrome_frame/test/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/perf/chrome_frame_perftest.cc
===================================================================
--- chrome_frame/test/perf/chrome_frame_perftest.cc (revision 70328)
+++ chrome_frame/test/perf/chrome_frame_perftest.cc (working copy)
@@ -11,6 +11,7 @@
#include "chrome_tab.h" // Generated from chrome_tab.idl.
+#include "base/debug/trace_event_win.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/path_service.h"
@@ -18,11 +19,11 @@
#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
+#include "base/threading/platform_thread.h"
#include "base/time.h"
-#include "base/debug/trace_event_win.h"
#include "base/utf_string_conversions.h"
+#include "base/win/event_trace_consumer.h"
#include "base/win/event_trace_controller.h"
-#include "base/win/event_trace_consumer.h"
#include "base/win/registry.h"
#include "base/win/scoped_bstr.h"
#include "base/win/scoped_comptr.h"
@@ -32,7 +33,6 @@
#include "chrome/common/chrome_paths_internal.h"
#include "chrome/test/chrome_process_util.h"
#include "chrome/test/ui/ui_perf_test.h"
-
#include "chrome_frame/test_utils.h"
#include "chrome_frame/utils.h"
@@ -343,7 +343,7 @@
// TODO(beng): Can't shut down so quickly. Figure out why, and fix. If we
// do, we crash.
- PlatformThread::Sleep(50);
+ base::PlatformThread::Sleep(50);
}
std::string times;
@@ -810,7 +810,7 @@
PrintResults(test_name_.c_str());
CoFreeUnusedLibraries();
- PlatformThread::Sleep(100);
+ base::PlatformThread::Sleep(100);
}
void NavigateImpl(const std::string& url) {
« no previous file with comments | « chrome_frame/test/mock_ie_event_sink_actions.h ('k') | chrome_frame/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698