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

Unified Diff: third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h

Issue 2379823003: Move MHTML file writing out of the renderer main thread. (Closed)
Patch Set: Address reviewer comments. Created 4 years, 2 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 | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
index 1dc5c5c13cd9952289f339dd7a9f7e56f3ed1b1d..c538d24ea77f782ad44c205bd3ecf02df7218935 100644
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
@@ -61,7 +61,7 @@ class PLATFORM_EXPORT MHTMLArchive final
static void generateMHTMLHeader(const String& boundary,
const String& title,
const String& mimeType,
- SharedBuffer& outputBuffer);
+ Vector<char>& outputBuffer);
// Serializes SerializedResource as an MHTML part and appends it in
// |outputBuffer|.
@@ -76,7 +76,7 @@ class PLATFORM_EXPORT MHTMLArchive final
const String& contentID,
EncodingPolicy,
const SerializedResource&,
- SharedBuffer& outputBuffer);
+ Vector<char>& outputBuffer);
// Generates an MHTML footer and appends it to |outputBuffer|.
//
@@ -84,7 +84,7 @@ class PLATFORM_EXPORT MHTMLArchive final
// generateMHTMLPart and generateMHTMLFooter calls that belong to the same
// MHTML document (see also rfc1341, section 7.2.1, "boundary" description).
static void generateMHTMLFooter(const String& boundary,
- SharedBuffer& outputBuffer);
+ Vector<char>& outputBuffer);
typedef HeapHashMap<String, Member<ArchiveResource>> SubArchiveResources;
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698