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

Unified Diff: trunk/public/web/WebPageSerializer.h

Issue 107233005: Revert 164094 "This review merges the two existing page serializ..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 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
« no previous file with comments | « trunk/Source/web/web.gypi ('k') | trunk/public/web/WebPageSerializerClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/public/web/WebPageSerializer.h
===================================================================
--- trunk/public/web/WebPageSerializer.h (revision 164117)
+++ trunk/public/web/WebPageSerializer.h (working copy)
@@ -89,12 +89,20 @@
// The parameter localDirectoryName is relative path of directory which
// contain all saved auxiliary files included all sub frames and resources.
BLINK_EXPORT static bool serialize(WebFrame*,
- bool recursive,
- WebPageSerializerClient*,
- const WebVector<WebURL>& links,
- const WebVector<WebString>& localPaths,
- const WebString& localDirectoryName);
+ bool recursive,
+ WebPageSerializerClient*,
+ const WebVector<WebURL>& links,
+ const WebVector<WebString>& localPaths,
+ const WebString& localDirectoryName);
+ // Retrieve all the resource for the passed view, including the main frame
+ // and sub-frames. Returns true if all resources were retrieved
+ // successfully.
+ BLINK_EXPORT static bool retrieveAllResources(WebView*,
+ const WebVector<WebCString>& supportedSchemes,
+ WebVector<WebURL>* resources,
+ WebVector<WebURL>* frames);
+
// FIXME: The following are here for unit testing purposes. Consider
// changing the unit tests instead.
Property changes on: trunk/public/web/WebPageSerializer.h
___________________________________________________________________
Modified: svn:eol-style
- LF
+ native
« no previous file with comments | « trunk/Source/web/web.gypi ('k') | trunk/public/web/WebPageSerializerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698