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

Unified Diff: public/web/WebPageSerializer.h

Issue 68613003: Merges the two different page serializers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Review Issues Created 7 years, 1 month 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: public/web/WebPageSerializer.h
diff --git a/public/web/WebPageSerializer.h b/public/web/WebPageSerializer.h
index 89a3a31b83245a88390178b016afbda40b019154..b5a754a325d9cbc4c9ac98a353f5b58c5e28661f 100644
--- a/public/web/WebPageSerializer.h
+++ b/public/web/WebPageSerializer.h
@@ -89,29 +89,11 @@ public:
// 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);
-
- // 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.
-
- // Generate the META for charset declaration.
- BLINK_EXPORT static WebString generateMetaCharsetDeclaration(const WebString& charset);
- // Generate the MOTW declaration.
- BLINK_EXPORT static WebString generateMarkOfTheWebDeclaration(const WebURL&);
- // Generate the default base tag declaration.
- BLINK_EXPORT static WebString generateBaseTagDeclaration(const WebString& baseTarget);
+ bool recursive,
+ WebPageSerializerClient*,
+ const WebVector<WebURL>& links,
+ const WebVector<WebString>& localPaths,
+ const WebString& localDirectoryName);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698