Home | History | Annotate | Download | only in net
      1 // Copyright (c) 2010 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 #pragma once
      8 
      9 #include "net/base/cookie_monster.h"
     10 
     11 struct ChromeCookieDetails {
     12  public:
     13   ChromeCookieDetails(const net::CookieMonster::CanonicalCookie* cookie_copy,
     14                       bool is_removed,
     15                       net::CookieMonster::Delegate::ChangeCause cause)
     16       : cookie(cookie_copy),
     17         removed(is_removed),
     18         cause(cause) {
     19   }
     20 
     21   const net::CookieMonster::CanonicalCookie* cookie;
     22   bool removed;
     23   net::CookieMonster::Delegate::ChangeCause cause;
     24 };
     25 
     26 #endif  // CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_
     27