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 |