Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index 187296cdf0740581fb3f88b97bb7af3f4aca0167..1ebd2f245e766ab255b4f24c4a4486c1b7f7c936 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -263,8 +263,9 @@ public: |
// The provisional load was redirected via a HTTP 3xx response. |
virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) { } |
- // The provisional load failed. |
- virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&) { } |
+ // The provisional load failed. The WebHistoryCommitType is the commit type |
+ // that would have been used had the load succeeded. |
+ virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommitType) { } |
// The provisional datasource is now committed. The first part of the |
// response body has been received, and the encoding of the response |
@@ -294,8 +295,10 @@ public: |
// The 'load' event was dispatched. |
virtual void didHandleOnloadEvents(WebLocalFrame*) { } |
- // The frame's document or one of its subresources failed to load. |
- virtual void didFailLoad(WebLocalFrame*, const WebURLError&) { } |
+ // The frame's document or one of its subresources failed to load. The |
+ // WebHistoryCommitType is the commit type that would have been used had the |
+ // load succeeded. |
+ virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommitType) { } |
// The frame's document and all of its subresources succeeded to load. |
virtual void didFinishLoad(WebLocalFrame*) { } |