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

Unified Diff: chrome/browser/browsing_data_cookie_helper_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/browsing_data_cookie_helper_unittest.cc
diff --git a/chrome/browser/browsing_data_cookie_helper_unittest.cc b/chrome/browser/browsing_data_cookie_helper_unittest.cc
index 13c3297a8881ab72d0bdf741f38fd4be4f13bd04..a3c5af9a24548c927a3a0dfd868ec79771fe003a 100644
--- a/chrome/browser/browsing_data_cookie_helper_unittest.cc
+++ b/chrome/browser/browsing_data_cookie_helper_unittest.cc
@@ -10,6 +10,7 @@
#include "base/synchronization/waitable_event.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/test_browser_thread.h"
+#include "net/cookies/canonical_cookie.h"
#include "net/cookies/parsed_cookie.h"
#include "net/url_request/url_request_context_getter.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -147,7 +148,7 @@ TEST_F(BrowsingDataCookieHelperTest, DeleteCookie) {
// Blocks until BrowsingDataCookieHelperTest::FetchCallback is notified.
MessageLoop::current()->Run();
- net::CookieMonster::CanonicalCookie cookie = cookie_list_[0];
+ net::CanonicalCookie cookie = cookie_list_[0];
cookie_helper->DeleteCookie(cookie);
cookie_helper->StartFetching(
@@ -197,8 +198,8 @@ TEST_F(BrowsingDataCookieHelperTest, CannedEmpty) {
net::CookieList cookies;
net::ParsedCookie pc("a=1");
- scoped_ptr<net::CookieMonster::CanonicalCookie> cookie(
- new net::CookieMonster::CanonicalCookie(url_google, pc));
+ scoped_ptr<net::CanonicalCookie> cookie(
+ new net::CanonicalCookie(url_google, pc));
cookies.push_back(*cookie);
helper->AddReadCookies(url_google, url_google, cookies);

Powered by Google App Engine
This is Rietveld 408576698