Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: webkit/glue/webcookie.h

Issue 294025: DevTools: Implement raw cookies access for inspector. (Closed)
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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.
8
9 #ifndef WEBKIT_GLUE_WEBCOOKIE_H_
10 #define WEBKIT_GLUE_WEBCOOKIE_H_
11
12 #include <string>
13
14 namespace webkit_glue {
15
16 struct WebCookie {
17
18 WebCookie(const std::string& name, const std::string& value,
19 const std::string& domain, const std::string& path, double expires,
20 bool http_only, bool secure, bool session)
21 : name(name),
22 value(value),
23 domain(domain),
24 path(path),
25 expires(expires),
26 http_only(http_only),
27 secure(secure),
28 session(session) {
29 }
30
31 // For default constructions.
32 WebCookie() :
33 expires(0),
34 http_only(false),
35 secure(false),
36 session(false) {
37 }
38
39 // Cookie name.
40 std::string name;
41
42 // Cookie value.
43 std::string value;
44
45 // Cookie domain.
46 std::string domain;
47
48 // Cookie path.
49 std::string path;
50
51 // Cookie expires param if any.
52 double expires;
53
54 // Cookie HTTPOnly param.
55 bool http_only;
56
57 // Cookie secure param.
58 bool secure;
59
60 // Session cookie flag.
61 bool session;
62 };
63
64 } // namespace webkit_glue
65
66 #endif // WEBKIT_GLUE_WEBCOOKIE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698