1 // Copyright (c) 2012 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 // A struct for managing data being dropped on a webview. This represents a
6 // union of all the types of data that can be dropped in a platform neutral
9 #ifndef WEBKIT_GLUE_WEBCOOKIE_H_
10 #define WEBKIT_GLUE_WEBCOOKIE_H_
14 #include "webkit/glue/webkit_glue_export.h"
17 class CanonicalCookie
;
20 namespace webkit_glue
{
22 struct WEBKIT_GLUE_EXPORT WebCookie
{
24 explicit WebCookie(const net::CanonicalCookie
& c
);
25 WebCookie(const std::string
& name
, const std::string
& value
,
26 const std::string
& domain
, const std::string
& path
, double expires
,
27 bool http_only
, bool secure
, bool session
);
42 // Cookie expires param if any.
45 // Cookie HTTPOnly param.
48 // Cookie secure param.
51 // Session cookie flag.
55 } // namespace webkit_glue
57 #endif // WEBKIT_GLUE_WEBCOOKIE_H_