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

Unified Diff: webkit/glue/multipart_response_delegate.h

Issue 2896: This CB fixes the following issues:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/SConscript ('k') | webkit/glue/multipart_response_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/multipart_response_delegate.h
===================================================================
--- webkit/glue/multipart_response_delegate.h (revision 2387)
+++ webkit/glue/multipart_response_delegate.h (working copy)
@@ -72,6 +72,19 @@
void OnReceivedData(const char* data, int data_len);
void OnCompletedRequest();
+ // Returns the multi part boundary string from the Content-type header
+ // in the response.
+ // Returns true on success.
+ static bool ReadMultipartBoundary(const WebCore::ResourceResponse& response,
+ std::string* multipart_boundary);
+
+ // Returns the lower and higher content ranges from an individual multipart
+ // in a multipart response.
+ // Returns true on success.
+ static bool ReadContentRanges(const WebCore::ResourceResponse& response,
+ int* content_range_lower_bound,
+ int* content_range_upper_bound);
+
private:
// Pointers back to our owning object so we can make callbacks as we parse
// pieces of data.
« no previous file with comments | « webkit/glue/SConscript ('k') | webkit/glue/multipart_response_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698