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

Unified Diff: chrome/test/base/tracing.cc

Issue 10807047: Create content\public\test\test_utils.h to hold common test classes that are used by unit and brows… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months 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/base/testing_profile.cc ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/tracing.cc
===================================================================
--- chrome/test/base/tracing.cc (revision 147577)
+++ chrome/test/base/tracing.cc (working copy)
@@ -7,9 +7,9 @@
#include "base/debug/trace_event.h"
#include "base/memory/singleton.h"
#include "base/message_loop.h"
-#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/trace_controller.h"
#include "content/public/browser/trace_subscriber.h"
+#include "content/public/test/test_utils.h"
namespace {
@@ -38,7 +38,7 @@
return false;
// Wait for OnEndTracingComplete() to quit the message loop.
// OnTraceDataCollected may be called multiple times while blocking here.
- message_loop_runner_ = new ui_test_utils::MessageLoopRunner;
+ message_loop_runner_ = new content::MessageLoopRunner;
message_loop_runner_->Run();
trace_buffer_.Finish();
trace_buffer_.SetOutputCallback(TraceResultBuffer::OutputCallback());
@@ -64,7 +64,7 @@
// For collecting trace data asynchronously.
base::debug::TraceResultBuffer trace_buffer_;
- scoped_refptr<ui_test_utils::MessageLoopRunner> message_loop_runner_;
+ scoped_refptr<content::MessageLoopRunner> message_loop_runner_;
DISALLOW_COPY_AND_ASSIGN(InProcessTraceController);
};
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698