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

Unified Diff: content/public/test/test_browser_thread.cc

Issue 14335017: content: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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 | « content/public/test/render_view_test.cc ('k') | content/public/test/test_renderer_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_thread.cc
diff --git a/content/public/test/test_browser_thread.cc b/content/public/test/test_browser_thread.cc
index 6920ce0b6d931fc7b916b15edd7b05bd2dcc3d57..f024a21c948f3fb8bf4abd790ca344ded4562da5 100644
--- a/content/public/test/test_browser_thread.cc
+++ b/content/public/test/test_browser_thread.cc
@@ -19,10 +19,9 @@ class TestBrowserThreadImpl : public BrowserThreadImpl {
}
TestBrowserThreadImpl(BrowserThread::ID identifier,
- MessageLoop* message_loop)
+ base::MessageLoop* message_loop)
: BrowserThreadImpl(identifier, message_loop),
- notification_service_(NULL) {
- }
+ notification_service_(NULL) {}
virtual ~TestBrowserThreadImpl() {
Stop();
@@ -50,9 +49,8 @@ TestBrowserThread::TestBrowserThread(BrowserThread::ID identifier)
}
TestBrowserThread::TestBrowserThread(BrowserThread::ID identifier,
- MessageLoop* message_loop)
- : impl_(new TestBrowserThreadImpl(identifier, message_loop)) {
-}
+ base::MessageLoop* message_loop)
+ : impl_(new TestBrowserThreadImpl(identifier, message_loop)) {}
TestBrowserThread::~TestBrowserThread() {
Stop();
@@ -64,7 +62,7 @@ bool TestBrowserThread::Start() {
bool TestBrowserThread::StartIOThread() {
base::Thread::Options options;
- options.message_loop_type = MessageLoop::TYPE_IO;
+ options.message_loop_type = base::MessageLoop::TYPE_IO;
return impl_->StartWithOptions(options);
}
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/public/test/test_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698