Chromium Code Reviews| Index: ios/web/public/web_state/web_state_observer.h |
| diff --git a/ios/web/public/web_state/web_state_observer.h b/ios/web/public/web_state/web_state_observer.h |
| index bc43b48bcd268b6835a04539e117f118e0fb8e8b..ac6f9d274771608fdc1258bb445ca7b0435ded83 100644 |
| --- a/ios/web/public/web_state/web_state_observer.h |
| +++ b/ios/web/public/web_state/web_state_observer.h |
| @@ -13,6 +13,8 @@ struct LoadCommittedDetails; |
| class WebState; |
| class WebStateImpl; |
| +enum class PageLoadCompletionStatus : bool { SUCCESS = 0, FAILURE = 1 }; |
|
stuartmorgan
2015/01/06 23:43:57
This feels pretty compressed; unless git cl format
|
| + |
| // An observer API implemented by classes which are interested in various page |
| // load events from WebState. |
| class WebStateObserver { |
| @@ -28,7 +30,7 @@ class WebStateObserver { |
| const LoadCommittedDetails& load_details) {} |
| // Called when the current page is loaded. |
| - virtual void PageLoaded() {} |
| + virtual void PageLoaded(PageLoadCompletionStatus load_completion_status) {} |
| // Called on URL hash change events. |
| virtual void URLHashChanged() {} |