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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings_unittest.cc

Issue 10785017: Move CanonicalCookie into separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing include Created 8 years, 5 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/content_settings/tab_specific_content_settings_unittest.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc b/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc
index 1bd27f0680c5bae3278b193006651b2f323958fb..922c06b06882d810033695bde870b44d79ec0739 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc
@@ -8,7 +8,8 @@
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/test_browser_thread.h"
-#include "net/cookies/cookie_monster.h"
+#include "net/cookies/canonical_cookie.h"
+#include "net/cookies/cookie_options.h"
#include "net/cookies/parsed_cookie.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -190,9 +191,8 @@ TEST_F(TabSpecificContentSettingsTest, SiteDataObserver) {
blocked_by_policy);
net::CookieList cookie_list;
net::ParsedCookie parsed_cookie("CookieName=CookieValue");
- scoped_ptr<net::CookieMonster::CanonicalCookie> cookie(
- net::CookieMonster::CanonicalCookie::Create(GURL("http://google.com"),
- parsed_cookie));
+ scoped_ptr<net::CanonicalCookie> cookie(
+ net::CanonicalCookie::Create(GURL("http://google.com"), parsed_cookie));
cookie_list.push_back(*cookie);
content_settings.OnCookiesRead(GURL("http://google.com"),
GURL("http://google.com"),

Powered by Google App Engine
This is Rietveld 408576698