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

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

Issue 2731293004: Move the writing of the MHTML footer to the browser process. (Closed)
Patch Set: Created 3 years, 9 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
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 c538d24ea77f782ad44c205bd3ecf02df7218935..362fbd0f4812641ed7756d6b4b3845f5185e05bc 100644
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
@@ -78,13 +78,14 @@ class PLATFORM_EXPORT MHTMLArchive final
const SerializedResource&,
Vector<char>& outputBuffer);
- // Generates an MHTML footer and appends it to |outputBuffer|.
+ // Generates an MHTML footer and appends it to |outputBuffer| for testing
+ // purposes.
//
// Same |boundary| needs to used for all generateMHTMLHeader and
// 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,
- Vector<char>& outputBuffer);
+ static void generateMHTMLFooterForTesting(const String& boundary,
+ Vector<char>& outputBuffer);
typedef HeapHashMap<String, Member<ArchiveResource>> SubArchiveResources;

Powered by Google App Engine
This is Rietveld 408576698