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

Side by Side Diff: Source/core/platform/network/HTTPParsers.h

Issue 19762007: core/platform: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 months 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * Copyright (C) 2011 Apple Inc. All Rights Reserved. 4 * Copyright (C) 2011 Apple Inc. All Rights Reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 14 matching lines...) Expand all
25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef HTTPParsers_h 31 #ifndef HTTPParsers_h
32 #define HTTPParsers_h 32 #define HTTPParsers_h
33 33
34 #include "core/page/ContentSecurityPolicy.h" 34 #include "core/page/ContentSecurityPolicy.h"
35 #include <wtf/Forward.h> 35 #include "wtf/Forward.h"
36 #include <wtf/Vector.h> 36 #include "wtf/Vector.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class HTTPHeaderMap; 40 class HTTPHeaderMap;
41 class ResourceResponseBase; 41 class ResourceResponseBase;
42 42
43 typedef enum { 43 typedef enum {
44 ContentDispositionNone, 44 ContentDispositionNone,
45 ContentDispositionInline, 45 ContentDispositionInline,
46 ContentDispositionAttachment, 46 ContentDispositionAttachment,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // Parsing Complete HTTP Messages. 82 // Parsing Complete HTTP Messages.
83 enum HTTPVersion { Unknown, HTTP_1_0, HTTP_1_1 }; 83 enum HTTPVersion { Unknown, HTTP_1_0, HTTP_1_1 };
84 size_t parseHTTPRequestLine(const char* data, size_t length, String& failureReas on, String& method, String& url, HTTPVersion&); 84 size_t parseHTTPRequestLine(const char* data, size_t length, String& failureReas on, String& method, String& url, HTTPVersion&);
85 size_t parseHTTPHeader(const char* data, size_t length, String& failureReason, A tomicString& nameStr, String& valueStr); 85 size_t parseHTTPHeader(const char* data, size_t length, String& failureReason, A tomicString& nameStr, String& valueStr);
86 size_t parseHTTPRequestBody(const char* data, size_t length, Vector<unsigned cha r>& body); 86 size_t parseHTTPRequestBody(const char* data, size_t length, Vector<unsigned cha r>& body);
87 87
88 } 88 }
89 89
90 #endif 90 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/network/HTTPHeaderMap.h ('k') | Source/core/platform/network/HTTPParsers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698