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

Unified Diff: chrome/browser/password_manager/native_backend_gnome_x_unittest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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
Index: chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
diff --git a/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc b/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
index 393ecdb7134a16c5297177e528a11b29e73270df..25cce09e5f5d2558b560179950f6a5ac772f0d36 100644
--- a/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
+++ b/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
@@ -307,8 +307,9 @@ class NativeBackendGnomeTest : public testing::Test {
}
virtual void TearDown() {
- MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->PostTask(FROM_HERE,
+ base::MessageLoop::QuitClosure());
+ base::MessageLoop::current()->Run();
db_thread_.Stop();
}
@@ -320,11 +321,11 @@ class NativeBackendGnomeTest : public testing::Test {
// quit so we can get on with the rest of the test.
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
base::Bind(&PostQuitTask, &message_loop_));
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
- static void PostQuitTask(MessageLoop* loop) {
- loop->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ static void PostQuitTask(base::MessageLoop* loop) {
+ loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
void CheckUint32Attribute(const MockKeyringItem* item,
@@ -378,7 +379,7 @@ class NativeBackendGnomeTest : public testing::Test {
CheckStringAttribute(item, "application", app_string);
}
- MessageLoopForUI message_loop_;
+ base::MessageLoopForUI message_loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread db_thread_;

Powered by Google App Engine
This is Rietveld 408576698