We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / content / common / cookie_data.h
blob21dd022778c599f46d9574c9f589e2fd2b421a65
1 // Copyright (c) 2013 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.
5 #ifndef CONTENT_COMMON_COOKIE_DATA_H_
6 #define CONTENT_COMMON_COOKIE_DATA_H_
8 #include <string>
10 #include "content/common/content_export.h"
12 namespace net {
13 class CanonicalCookie;
16 namespace content {
18 struct CONTENT_EXPORT CookieData {
19 CookieData();
20 explicit CookieData(const net::CanonicalCookie& c);
21 ~CookieData();
23 // Cookie name.
24 std::string name;
26 // Cookie value.
27 std::string value;
29 // Cookie domain.
30 std::string domain;
32 // Cookie path.
33 std::string path;
35 // Cookie expires param if any.
36 double expires;
38 // Cookie HTTPOnly param.
39 bool http_only;
41 // Cookie secure param.
42 bool secure;
44 // Session cookie flag.
45 bool session;
48 } // namespace content
50 #endif // CONTENT_COMMON_COOKIE_DATA_H_