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

Side by Side Diff: chrome/browser/net/chrome_cookie_notification_details.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_
6 #define CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_ 6 #define CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_
7 7
8 #include "net/cookies/cookie_monster.h" 8 #include "net/cookies/cookie_monster.h"
9 9
10 namespace net {
11 class CanonicalCookie;
12 }
13
10 struct ChromeCookieDetails { 14 struct ChromeCookieDetails {
11 public: 15 public:
12 ChromeCookieDetails(const net::CookieMonster::CanonicalCookie* cookie_copy, 16 ChromeCookieDetails(const net::CanonicalCookie* cookie_copy,
13 bool is_removed, 17 bool is_removed,
14 net::CookieMonster::Delegate::ChangeCause cause) 18 net::CookieMonster::Delegate::ChangeCause cause)
15 : cookie(cookie_copy), 19 : cookie(cookie_copy),
16 removed(is_removed), 20 removed(is_removed),
17 cause(cause) { 21 cause(cause) {
18 } 22 }
19 23
20 const net::CookieMonster::CanonicalCookie* cookie; 24 const net::CanonicalCookie* cookie;
21 bool removed; 25 bool removed;
22 net::CookieMonster::Delegate::ChangeCause cause; 26 net::CookieMonster::Delegate::ChangeCause cause;
23 }; 27 };
24 28
25 #endif // CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_ 29 #endif // CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698