| 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 a663336be69686cf8e72c15b0cf0b33a488cc04b..313bd3b0ae970269799d721bcda33655e90b7d53 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc
|
| @@ -110,23 +110,21 @@ class BrowsingDataCookieHelperTest : public testing::Test {
|
| }
|
|
|
| void CreateCookiesForTest() {
|
| - scoped_refptr<net::CookieMonster> cookie_monster =
|
| - testing_profile_->GetCookieMonster();
|
| - cookie_monster->SetCookieWithOptionsAsync(
|
| + net::CookieStore* cookie_store = testing_profile_->GetCookieStore();
|
| + cookie_store->SetCookieWithOptionsAsync(
|
| GURL("http://www.google.com"), "A=1", net::CookieOptions(),
|
| net::CookieMonster::SetCookiesCallback());
|
| - cookie_monster->SetCookieWithOptionsAsync(
|
| + cookie_store->SetCookieWithOptionsAsync(
|
| GURL("http://www.gmail.google.com"), "B=1", net::CookieOptions(),
|
| net::CookieMonster::SetCookiesCallback());
|
| }
|
|
|
| void CreateCookiesForDomainCookieTest() {
|
| - scoped_refptr<net::CookieMonster> cookie_monster =
|
| - testing_profile_->GetCookieMonster();
|
| - cookie_monster->SetCookieWithOptionsAsync(
|
| + net::CookieStore* cookie_store = testing_profile_->GetCookieStore();
|
| + cookie_store->SetCookieWithOptionsAsync(
|
| GURL("http://www.google.com"), "A=1", net::CookieOptions(),
|
| net::CookieMonster::SetCookiesCallback());
|
| - cookie_monster->SetCookieWithOptionsAsync(
|
| + cookie_store->SetCookieWithOptionsAsync(
|
| GURL("http://www.google.com"), "A=2; Domain=.www.google.com ",
|
| net::CookieOptions(), net::CookieMonster::SetCookiesCallback());
|
| }
|
|
|