Fix playing of 8-bit sample files via webaudio.
[chromium-blink-merge.git] / webkit / glue / webcookie.h
blob11411d8ade0007fd303de18d464381643b7f3ae0
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.
4 //
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
7 // way.
9 #ifndef WEBKIT_GLUE_WEBCOOKIE_H_
10 #define WEBKIT_GLUE_WEBCOOKIE_H_
12 #include "net/base/cookie_monster.h"
14 namespace webkit_glue {
16 struct WebCookie {
17 WebCookie();
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);
22 ~WebCookie();
24 // Cookie name.
25 std::string name;
27 // Cookie value.
28 std::string value;
30 // Cookie domain.
31 std::string domain;
33 // Cookie path.
34 std::string path;
36 // Cookie expires param if any.
37 double expires;
39 // Cookie HTTPOnly param.
40 bool http_only;
42 // Cookie secure param.
43 bool secure;
45 // Session cookie flag.
46 bool session;
49 } // namespace webkit_glue
51 #endif // WEBKIT_GLUE_WEBCOOKIE_H_