OLD | NEW |
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_ |
OLD | NEW |