Index: chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.cc |
diff --git a/chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.cc b/chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.cc |
index 1931a03bb52b1fa2c54490c780cdf0b71460b6e7..f15f46212c143a9d46b765103ba149dd3eb433ff 100644 |
--- a/chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.cc |
+++ b/chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle.cc |
@@ -74,7 +74,7 @@ SupervisedUserGoogleAuthNavigationThrottle::WillStartOrRedirectRequest() { |
content::NavigationThrottle::ThrottleCheckResult result = |
ShouldProceed(child_account_service_->IsGoogleAuthenticated()); |
- if (result == content::NavigationThrottle::DEFER) { |
+ if (result.action() == content::NavigationThrottle::DEFER) { |
google_auth_state_subscription_ = |
child_account_service_->ObserveGoogleAuthState( |
base::Bind(&SupervisedUserGoogleAuthNavigationThrottle:: |
@@ -90,7 +90,7 @@ void SupervisedUserGoogleAuthNavigationThrottle::OnGoogleAuthStateChanged( |
content::NavigationThrottle::ThrottleCheckResult result = |
ShouldProceed(authenticated); |
- switch (result) { |
+ switch (result.action()) { |
case content::NavigationThrottle::PROCEED: { |
google_auth_state_subscription_.reset(); |
navigation_handle()->Resume(); |