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

Unified Diff: trunk/Source/core/page/PageSerializer.h

Issue 73673003: Revert 162155 "This review merges the two existing page serializ..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: 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
« no previous file with comments | « trunk/Source/core/editing/MarkupAccumulator.h ('k') | trunk/Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/page/PageSerializer.h
===================================================================
--- trunk/Source/core/page/PageSerializer.h (revision 162155)
+++ trunk/Source/core/page/PageSerializer.h (working copy)
@@ -55,15 +55,11 @@
struct SerializedResource;
-// This hash map is used to map resource URL of original link to its local
-// file path.
-typedef HashMap<String, String> LinkLocalPathMap;
-
// This class is used to serialize a page contents back to text (typically HTML).
// It serializes all the page frames and retrieves resources such as images and CSS stylesheets.
class PageSerializer {
public:
- PageSerializer(Vector<SerializedResource>*, LinkLocalPathMap* = 0, String directory = "");
+ explicit PageSerializer(Vector<SerializedResource>*);
// Initiates the serialization of the frame's page. All serialized content and retrieved
// resources are added to the Vector passed to the constructor. The first resource in that
@@ -91,8 +87,6 @@
Vector<SerializedResource>* m_resources;
ListHashSet<KURL> m_resourceURLs;
HashMap<Frame*, KURL> m_blankFrameURLs;
- LinkLocalPathMap* m_URLs;
- String m_directory;
unsigned m_blankFrameCounter;
};
« no previous file with comments | « trunk/Source/core/editing/MarkupAccumulator.h ('k') | trunk/Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698