Index: public/web/WebPageSerializer.h |
diff --git a/public/web/WebPageSerializer.h b/public/web/WebPageSerializer.h |
index 89a3a31b83245a88390178b016afbda40b019154..63bc6309741da508011cefdcb124b20a78141b99 100644 |
--- a/public/web/WebPageSerializer.h |
+++ b/public/web/WebPageSerializer.h |
@@ -88,30 +88,17 @@ public: |
// saved links, which matched with vector:links one by one. |
// 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); |
+ BLINK_EXPORT static bool serialize(WebView*, |
+ 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); |
+ const WebVector<WebCString>& supportedSchemes, |
+ WebVector<WebURL>* resources, WebVector<WebURL>* frames); |
}; |
} // namespace blink |