1 // Copyright (c) 2006-2008 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_
12 #include "net/base/cookie_monster.h"
14 namespace webkit_glue
{
18 explicit WebCookie(const net::CookieMonster::CanonicalCookie
& c
);
19 WebCookie(const std::string
& name
, const std::string
& value
,
20 const std::string
& domain
, const std::string
& path
, double expires
,
21 bool http_only
, bool secure
, bool session
);
36 // Cookie expires param if any.
39 // Cookie HTTPOnly param.
42 // Cookie secure param.
45 // Session cookie flag.
49 } // namespace webkit_glue
51 #endif // WEBKIT_GLUE_WEBCOOKIE_H_