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

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

Issue 524773004: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 3 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
« no previous file with comments | « Source/platform/network/FormData.h ('k') | Source/platform/network/ResourceLoadTiming.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19 matching lines...) Expand all
30 30
31 #ifndef HTTPParsers_h 31 #ifndef HTTPParsers_h
32 #define HTTPParsers_h 32 #define HTTPParsers_h
33 33
34 #include "platform/PlatformExport.h" 34 #include "platform/PlatformExport.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 blink { 38 namespace blink {
39 39
40 class HTTPHeaderMap;
41 class ResourceResponseBase;
42
43 typedef enum { 40 typedef enum {
44 ContentDispositionNone, 41 ContentDispositionNone,
45 ContentDispositionInline, 42 ContentDispositionInline,
46 ContentDispositionAttachment, 43 ContentDispositionAttachment,
47 ContentDispositionOther 44 ContentDispositionOther
48 } ContentDispositionType; 45 } ContentDispositionType;
49 46
50 enum ContentTypeOptionsDisposition { 47 enum ContentTypeOptionsDisposition {
51 ContentTypeOptionsNone, 48 ContentTypeOptionsNone,
52 ContentTypeOptionsNosniff 49 ContentTypeOptionsNosniff
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 105
109 // Parsing Complete HTTP Messages. 106 // Parsing Complete HTTP Messages.
110 enum HTTPVersion { Unknown, HTTP_1_0, HTTP_1_1 }; 107 enum HTTPVersion { Unknown, HTTP_1_0, HTTP_1_1 };
111 PLATFORM_EXPORT size_t parseHTTPRequestLine(const char* data, size_t length, Str ing& failureReason, String& method, String& url, HTTPVersion&); 108 PLATFORM_EXPORT size_t parseHTTPRequestLine(const char* data, size_t length, Str ing& failureReason, String& method, String& url, HTTPVersion&);
112 PLATFORM_EXPORT size_t parseHTTPHeader(const char* data, size_t length, String& failureReason, AtomicString& nameStr, AtomicString& valueStr); 109 PLATFORM_EXPORT size_t parseHTTPHeader(const char* data, size_t length, String& failureReason, AtomicString& nameStr, AtomicString& valueStr);
113 PLATFORM_EXPORT size_t parseHTTPRequestBody(const char* data, size_t length, Vec tor<unsigned char>& body); 110 PLATFORM_EXPORT size_t parseHTTPRequestBody(const char* data, size_t length, Vec tor<unsigned char>& body);
114 111
115 } 112 }
116 113
117 #endif 114 #endif
OLDNEW
« no previous file with comments | « Source/platform/network/FormData.h ('k') | Source/platform/network/ResourceLoadTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698