root/chrome/browser/net/chrome_cookie_notification_details.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_
#define CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_

#include "net/cookies/cookie_monster.h"

namespace net {
class CanonicalCookie;
}

struct ChromeCookieDetails {
 public:
  ChromeCookieDetails(const net::CanonicalCookie* cookie_copy,
                      bool is_removed,
                      net::CookieMonster::Delegate::ChangeCause cause)
      : cookie(cookie_copy),
        removed(is_removed),
        cause(cause) {
  }

  const net::CanonicalCookie* cookie;
  bool removed;
  net::CookieMonster::Delegate::ChangeCause cause;
};

#endif  // CHROME_BROWSER_NET_CHROME_COOKIE_NOTIFICATION_DETAILS_H_

/* [<][>][^][v][top][bottom][index][help] */