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

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

Issue 387020: Upstreaming WebKit.gyp (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
« no previous file with comments | « webkit/glue/mimetype_unittest.cc ('k') | webkit/glue/multipart_response_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A delegate class of WebURLLoaderImpl that handles multipart/x-mixed-replace 5 // A delegate class of WebURLLoaderImpl that handles multipart/x-mixed-replace
6 // data. We special case multipart/x-mixed-replace because WebCore expects a 6 // data. We special case multipart/x-mixed-replace because WebCore expects a
7 // separate didReceiveResponse for each new message part. 7 // separate didReceiveResponse for each new message part.
8 // 8 //
9 // Most of the logic and edge case handling are based on the Mozilla's 9 // Most of the logic and edge case handling are based on the Mozilla's
10 // implementation in netwerk/streamconv/converters/nsMultiMixedConv.cpp. 10 // implementation in netwerk/streamconv/converters/nsMultiMixedConv.cpp.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 * the provisions above, a recipient may use your version of this file under 44 * the provisions above, a recipient may use your version of this file under
45 * the terms of any one of the MPL, the GPL or the LGPL. 45 * the terms of any one of the MPL, the GPL or the LGPL.
46 * 46 *
47 * ***** END LICENSE BLOCK ***** */ 47 * ***** END LICENSE BLOCK ***** */
48 48
49 #ifndef WEBKIT_GLUE_MULTIPART_RESPONSE_DELEGATE_H_ 49 #ifndef WEBKIT_GLUE_MULTIPART_RESPONSE_DELEGATE_H_
50 #define WEBKIT_GLUE_MULTIPART_RESPONSE_DELEGATE_H_ 50 #define WEBKIT_GLUE_MULTIPART_RESPONSE_DELEGATE_H_
51 51
52 #include <string> 52 #include <string>
53 53
54 #include "webkit/api/public/WebURLResponse.h" 54 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
55 55
56 namespace WebKit { 56 namespace WebKit {
57 class WebURLLoader; 57 class WebURLLoader;
58 class WebURLLoaderClient; 58 class WebURLLoaderClient;
59 } 59 }
60 60
61 namespace webkit_glue { 61 namespace webkit_glue {
62 62
63 // Used by unit tests to access private members. 63 // Used by unit tests to access private members.
64 class MultipartResponseDelegateTester; 64 class MultipartResponseDelegateTester;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 bool processing_headers_; 126 bool processing_headers_;
127 127
128 // true when we're done sending information. At that point, we stop 128 // true when we're done sending information. At that point, we stop
129 // processing AddData requests. 129 // processing AddData requests.
130 bool stop_sending_; 130 bool stop_sending_;
131 }; 131 };
132 132
133 } // namespace webkit_glue 133 } // namespace webkit_glue
134 134
135 #endif 135 #endif
OLDNEW
« no previous file with comments | « webkit/glue/mimetype_unittest.cc ('k') | webkit/glue/multipart_response_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698