Removing flow to demote App Launcher to App Host, so app_host.exe can be deleted...
[chromium-blink-merge.git] / webkit / glue / webcookie.h
blob4d3d24480753c65626b344b7369b5edd9b9269f9
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.
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 <string>
14 #include "webkit/glue/webkit_glue_export.h"
16 namespace net {
17 class CanonicalCookie;
20 namespace webkit_glue {
22 struct WEBKIT_GLUE_EXPORT WebCookie {
23 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);
28 ~WebCookie();
30 // Cookie name.
31 std::string name;
33 // Cookie value.
34 std::string value;
36 // Cookie domain.
37 std::string domain;
39 // Cookie path.
40 std::string path;
42 // Cookie expires param if any.
43 double expires;
45 // Cookie HTTPOnly param.
46 bool http_only;
48 // Cookie secure param.
49 bool secure;
51 // Session cookie flag.
52 bool session;
55 } // namespace webkit_glue
57 #endif // WEBKIT_GLUE_WEBCOOKIE_H_