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 c48eed6e90cf99a53bb9465cf41a3ad71badf8d5..d0b76cd98c7723ddf25564687af52a46422abd93 100644 |
--- a/ios/web/public/web_state/web_state_observer.h |
+++ b/ios/web/public/web_state/web_state_observer.h |
@@ -20,6 +20,7 @@ struct Credential; |
struct FaviconURL; |
struct LoadCommittedDetails; |
class WebState; |
+class TestWebState; |
class WebStateImpl; |
enum class PageLoadCompletionStatus : bool { SUCCESS = 0, FAILURE = 1 }; |
@@ -156,6 +157,7 @@ class WebStateObserver { |
private: |
friend class WebStateImpl; |
+ friend class TestWebState; |
// Stops observing the current web state. |
void ResetWebState(); |