• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_
6 #define CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_
7 
8 #include "net/cookies/cookie_monster.h"
9 
10 namespace net {
11 class CanonicalCookie;
12 }
13 
14 struct ChromeCookieDetails {
15  public:
ChromeCookieDetailsChromeCookieDetails16   ChromeCookieDetails(const net::CanonicalCookie* cookie_copy,
17                       bool is_removed,
18                       net::CookieMonster::Delegate::ChangeCause cause)
19       : cookie(cookie_copy),
20         removed(is_removed),
21         cause(cause) {
22   }
23 
24   const net::CanonicalCookie* cookie;
25   bool removed;
26   net::CookieMonster::Delegate::ChangeCause cause;
27 };
28 
29 #endif  // CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_
30