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

Unified Diff: third_party/WebKit/public/web/WebPageSerializer.h

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/public/web/WebPageSerializer.h
diff --git a/third_party/WebKit/public/web/WebPageSerializer.h b/third_party/WebKit/public/web/WebPageSerializer.h
index 7a59b6a82effd69af7bdc65276308c23c32360ba..bb23274bc2f9e377832c8fd0dc528130c0c1c0bb 100644
--- a/third_party/WebKit/public/web/WebPageSerializer.h
+++ b/third_party/WebKit/public/web/WebPageSerializer.h
@@ -103,10 +103,13 @@ public:
// individual chunks of data to be saved.
// The parameter urlsToLocalPaths contains a mapping between original URLs
// of saved resources and corresponding local file paths.
+ // The parameter framesToLocalPaths contains a mapping between frames and
+ // corresponding local file paths.
BLINK_EXPORT static bool serialize(
WebLocalFrame*,
WebPageSerializerClient*,
- const WebVector<std::pair<WebURL, WebString>>& urlsToLocalPaths);
+ const WebVector<std::pair<WebURL, WebString>>& urlsToLocalPaths,
+ const WebVector<std::pair<WebFrame*, WebString>>& framesToLocalPaths);
// FIXME: The following are here for unit testing purposes. Consider
// changing the unit tests instead.

Powered by Google App Engine
This is Rietveld 408576698