summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/chrome_cookie_notification_details.h
blob: d54f280e5128cb08a890acdf5c49950b9b977e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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_