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

Unified Diff: third_party/WebKit/Source/web/WebPageSerializer.cpp

Issue 1502563004: Save-Page-As-Complete-Html: Each frame links to a distinct local file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-url-deduping-for-frame-and-adding-save-item-id
Patch Set: Rebasing... Created 5 years 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/web/WebPageSerializer.cpp
diff --git a/third_party/WebKit/Source/web/WebPageSerializer.cpp b/third_party/WebKit/Source/web/WebPageSerializer.cpp
index 48441a08048fc1b8d2bdb290acef211b75a00590..1d3fc6a1acbac04a86b4701e64626725e1340081 100644
--- a/third_party/WebKit/Source/web/WebPageSerializer.cpp
+++ b/third_party/WebKit/Source/web/WebPageSerializer.cpp
@@ -209,9 +209,10 @@ WebData WebPageSerializer::generateMHTMLFooter(const WebString& boundary)
bool WebPageSerializer::serialize(
WebLocalFrame* frame,
WebPageSerializerClient* client,
- const WebVector<std::pair<WebURL, WebString>>& urlsToLocalPaths)
+ const WebVector<std::pair<WebURL, WebString>>& urlsToLocalPaths,
+ const WebVector<std::pair<WebFrame*, WebString>>& framesToLocalPaths)
{
- WebPageSerializerImpl serializerImpl(frame, client, urlsToLocalPaths);
+ WebPageSerializerImpl serializerImpl(frame, client, urlsToLocalPaths, framesToLocalPaths);
return serializerImpl.serialize();
}

Powered by Google App Engine
This is Rietveld 408576698