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

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

Issue 1541463002: Rename [Web]PageSerializer[Test|Client|Impl] to ...FrameSerializer... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-deduplication-of-resources
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/WebFrameSerializerClient.h
diff --git a/third_party/WebKit/public/web/WebPageSerializerClient.h b/third_party/WebKit/public/web/WebFrameSerializerClient.h
similarity index 87%
rename from third_party/WebKit/public/web/WebPageSerializerClient.h
rename to third_party/WebKit/public/web/WebFrameSerializerClient.h
index 97e5a0b453ffb1331b9b8260dd3c91d922d38221..9a316f9ede3d25aec4d354341f5d38600e8bd649 100644
--- a/third_party/WebKit/public/web/WebPageSerializerClient.h
+++ b/third_party/WebKit/public/web/WebFrameSerializerClient.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebPageSerializerClient_h
-#define WebPageSerializerClient_h
+#ifndef WebFrameSerializerClient_h
+#define WebFrameSerializerClient_h
namespace blink {
@@ -38,7 +38,7 @@ class WebURL;
// This class is used for providing sink interface that can be used to receive
// the individual chunks of data to be saved.
-class WebPageSerializerClient {
+class WebFrameSerializerClient {
public:
// This sink interface can receive the individual chunks of serialized data
// to be saved, so we use values of following enum definition to indicate
@@ -49,7 +49,7 @@ public:
// If frame is completely serialized, we will call didSerializeDataForFrame
// with URL of current frame, data, data length and flag
// CurrentFrameIsFinished.
- enum PageSerializationStatus {
+ enum FrameSerializationStatus {
CurrentFrameIsNotFinished,
CurrentFrameIsFinished,
};
@@ -57,14 +57,16 @@ public:
// Receive the individual chunks of serialized and encoded data to be saved.
// The parameter data contains the available data for saving.
// The parameter status indicates the status of data serialization.
- virtual void didSerializeDataForFrame(const WebCString& data,
- PageSerializationStatus status) = 0;
- WebPageSerializerClient() { }
+ virtual void didSerializeDataForFrame(
+ const WebCString& data,
+ FrameSerializationStatus) = 0;
+
+ WebFrameSerializerClient() { }
protected:
- virtual ~WebPageSerializerClient() { }
+ virtual ~WebFrameSerializerClient() { }
};
-} // namespace blink
+} // namespace blink
#endif
« no previous file with comments | « third_party/WebKit/public/web/WebFrameSerializer.h ('k') | third_party/WebKit/public/web/WebPageSerializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698