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

Unified Diff: chrome/browser/net/cookie_policy_browsertest.cc

Issue 7713034: HostContentSettingsMap refactoring. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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/net/cookie_policy_browsertest.cc
diff --git a/chrome/browser/net/cookie_policy_browsertest.cc b/chrome/browser/net/cookie_policy_browsertest.cc
index 251ae6907db4dddcc26c761488cabe734889e3b7..91aea67f37237e8ac6488996bbb398425b1f08d5 100644
--- a/chrome/browser/net/cookie_policy_browsertest.cc
+++ b/chrome/browser/net/cookie_policy_browsertest.cc
@@ -70,7 +70,7 @@ class CookiePolicyBrowserTest : public InProcessBrowserTest {
IN_PROC_BROWSER_TEST_F(CookiePolicyBrowserTest, AllowFirstPartyCookies) {
ASSERT_TRUE(test_server()->Start());
- browser()->profile()->GetHostContentSettingsMap()->
+ browser()->profile()->GetCookieContentSettings()->
SetBlockThirdPartyCookies(true);
GURL url(test_server()->GetURL("set-cookie?cookie1"));
@@ -90,7 +90,7 @@ IN_PROC_BROWSER_TEST_F(CookiePolicyBrowserTest,
AllowFirstPartyCookiesRedirect) {
ASSERT_TRUE(test_server()->Start());
- browser()->profile()->GetHostContentSettingsMap()->
+ browser()->profile()->GetCookieContentSettings()->
SetBlockThirdPartyCookies(true);
GURL url(test_server()->GetURL("server-redirect?"));

Powered by Google App Engine
This is Rietveld 408576698