summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-28 22:08:16 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-28 22:08:16 +0000
commitb3a25098c4a6895e1acd139146d618094dbd4df8 (patch)
treea344a722e481f117b63e701ba26108339dd7296f /chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc
parent3d8ab9f85ac4bd6e49213ab5bfbd1e620e24d261 (diff)
downloadchromium_src-b3a25098c4a6895e1acd139146d618094dbd4df8.zip
chromium_src-b3a25098c4a6895e1acd139146d618094dbd4df8.tar.gz
chromium_src-b3a25098c4a6895e1acd139146d618094dbd4df8.tar.bz2
chrome: Use base::MessageLoop. (Part 3)
This CL updates chrome/browser/* other than chrome/browser/ui which is in another CL. BUG=236029 TBR=brettw Review URL: https://chromiumcodereview.appspot.com/14113053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc')
-rw-r--r--chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc16
1 files changed, 8 insertions, 8 deletions
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 be0879b..a54b9bd 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) {