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

Unified Diff: chrome/browser/browsing_data/browsing_data_cookie_helper_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/browsing_data/browsing_data_cookie_helper_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc
index be0879bd6722120d1727211fb008c97567934f59..a54b9bdc0916bb22e508c6b04cfd1d2175e7f121 100644
--- a/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc
@@ -94,7 +94,7 @@ class BrowsingDataCookieHelperTest : public testing::Test {
EXPECT_EQ("B", it->Name());
ASSERT_TRUE(++it == cookies.end());
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void DomainCookieCallback(const net::CookieList& cookies) {
@@ -114,7 +114,7 @@ class BrowsingDataCookieHelperTest : public testing::Test {
EXPECT_EQ("2", it->Value());
ASSERT_TRUE(++it == cookies.end());
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void DeleteCallback(const net::CookieList& cookies) {
@@ -126,7 +126,7 @@ class BrowsingDataCookieHelperTest : public testing::Test {
EXPECT_EQ("B", it->Name());
ASSERT_TRUE(++it == cookies.end());
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void CannedUniqueCallback(const net::CookieList& cookies) {
@@ -209,7 +209,7 @@ class BrowsingDataCookieHelperTest : public testing::Test {
}
protected:
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
scoped_ptr<content::TestBrowserThread> ui_thread_;
scoped_ptr<content::TestBrowserThread> io_thread_;
scoped_ptr<TestingProfile> testing_profile_;
@@ -227,7 +227,7 @@ TEST_F(BrowsingDataCookieHelperTest, FetchData) {
base::Unretained(this)));
// Blocks until BrowsingDataCookieHelperTest::FetchCallback is notified.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
TEST_F(BrowsingDataCookieHelperTest, DomainCookie) {
@@ -240,7 +240,7 @@ TEST_F(BrowsingDataCookieHelperTest, DomainCookie) {
base::Unretained(this)));
// Blocks until BrowsingDataCookieHelperTest::FetchCallback is notified.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
TEST_F(BrowsingDataCookieHelperTest, DeleteCookie) {
@@ -253,7 +253,7 @@ TEST_F(BrowsingDataCookieHelperTest, DeleteCookie) {
base::Unretained(this)));
// Blocks until BrowsingDataCookieHelperTest::FetchCallback is notified.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
net::CanonicalCookie cookie = cookie_list_[0];
cookie_helper->DeleteCookie(cookie);
@@ -261,7 +261,7 @@ TEST_F(BrowsingDataCookieHelperTest, DeleteCookie) {
cookie_helper->StartFetching(
base::Bind(&BrowsingDataCookieHelperTest::DeleteCallback,
base::Unretained(this)));
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
TEST_F(BrowsingDataCookieHelperTest, CannedDomainCookie) {
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698