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

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

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/network/FormData.h ('k') | Source/platform/network/ResourceError.cpp » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All Rights Reserved. 3 * Copyright (C) 2011 Apple Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #ifndef HTTPRequest_h 32 #ifndef HTTPRequest_h
33 #define HTTPRequest_h 33 #define HTTPRequest_h
34 34
35 #include "platform/PlatformExport.h" 35 #include "platform/PlatformExport.h"
36 #include "platform/network/HTTPHeaderMap.h" 36 #include "platform/network/HTTPHeaderMap.h"
37 #include "platform/network/HTTPParsers.h" 37 #include "platform/network/HTTPParsers.h"
38 #include "weborigin/KURL.h" 38 #include "platform/weborigin/KURL.h"
39 #include "wtf/PassRefPtr.h" 39 #include "wtf/PassRefPtr.h"
40 #include "wtf/RefCounted.h" 40 #include "wtf/RefCounted.h"
41 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 class PLATFORM_EXPORT HTTPRequest : public RefCounted<HTTPRequest> { 45 class PLATFORM_EXPORT HTTPRequest : public RefCounted<HTTPRequest> {
46 public: 46 public:
47 static PassRefPtr<HTTPRequest> create() { return adoptRef(new HTTPRequest()) ; } 47 static PassRefPtr<HTTPRequest> create() { return adoptRef(new HTTPRequest()) ; }
48 static PassRefPtr<HTTPRequest> create(const String& requestMethod, const KUR L& url, HTTPVersion version) { return adoptRef(new HTTPRequest(requestMethod, ur l, version)); } 48 static PassRefPtr<HTTPRequest> create(const String& requestMethod, const KUR L& url, HTTPVersion version) { return adoptRef(new HTTPRequest(requestMethod, ur l, version)); }
(...skipping 24 matching lines...) Expand all
73 KURL m_url; 73 KURL m_url;
74 HTTPVersion m_httpVersion; 74 HTTPVersion m_httpVersion;
75 String m_requestMethod; 75 String m_requestMethod;
76 HTTPHeaderMap m_headerFields; 76 HTTPHeaderMap m_headerFields;
77 Vector<unsigned char> m_body; 77 Vector<unsigned char> m_body;
78 }; 78 };
79 79
80 } // namespace WebCore 80 } // namespace WebCore
81 81
82 #endif // HTTPRequest_h 82 #endif // HTTPRequest_h
OLDNEW
« no previous file with comments | « Source/platform/network/FormData.h ('k') | Source/platform/network/ResourceError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698