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 { | 10 namespace net { |
11 class CanonicalCookie; | 11 class CanonicalCookie; |
12 } | 12 } |
13 | 13 |
14 struct ChromeCookieDetails { | 14 struct ChromeCookieDetails { |
15 public: | 15 public: |
16 ChromeCookieDetails(const net::CanonicalCookie* cookie_copy, | 16 ChromeCookieDetails(const net::CanonicalCookie* cookie_copy, |
17 bool is_removed, | 17 bool is_removed, |
18 net::CookieMonster::Delegate::ChangeCause cause) | 18 net::CookieMonster::Delegate::ChangeCause cause) |
19 : cookie(cookie_copy), | 19 : cookie(cookie_copy), |
20 removed(is_removed), | 20 removed(is_removed), |
21 cause(cause) { | 21 cause(cause) { |
22 } | 22 } |
23 | 23 |
24 const net::CanonicalCookie* cookie; | 24 const net::CanonicalCookie* cookie; |
25 bool removed; | 25 bool removed; |
26 net::CookieMonster::Delegate::ChangeCause cause; | 26 net::CookieMonsterDelegate::ChangeCause cause; |
27 }; | 27 }; |
28 | 28 |
29 #endif // CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_ | 29 #endif // CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_ |
OLD | NEW |