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 c1c93722647626deb741080236ed192711943f6d..5479438dec086cec56306e35bbab4b429c7377ac 100644 |
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h |
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h |
@@ -77,8 +77,12 @@ public: |
// Same |boundary| needs to used for all generateMHTMLHeader and |
// generateMHTMLPart and generateMHTMLFooter calls that belong to the same |
// MHTML document (see also generateMHTMLBoundary method). |
+ // |
+ // If |contentID| is non-empty, then it will be used as a Content-ID header. |
+ // See rfc2557 - section 8.3 - "Use of the Content-ID header and CID URLs". |
static void generateMHTMLPart( |
- const String& boundary, EncodingPolicy, const SerializedResource&, |
+ const String& boundary, const String& contentID, |
+ EncodingPolicy, const SerializedResource&, |
SharedBuffer& outputBuffer); |
// Generates an MHTML footer and appends it to |outputBuffer|. |