blob: d54f280e5128cb08a890acdf5c49950b9b977e04 [file] [log] [blame]
// 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_