Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: ios/chrome/browser/web/network_activity_indicator_tab_helper.h

Issue 2587173002: Cleanup NetworkActivityIndicatorTabHelper and add unittest. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/web/network_activity_indicator_tab_helper.h
diff --git a/ios/chrome/browser/web/network_activity_indicator_tab_helper.h b/ios/chrome/browser/web/network_activity_indicator_tab_helper.h
index a59f63ae57c6a3b9df146058fc883220a50ed95f..c598006f14fdaf13ca405fb0dd312ac2f6cb87a3 100644
--- a/ios/chrome/browser/web/network_activity_indicator_tab_helper.h
+++ b/ios/chrome/browser/web/network_activity_indicator_tab_helper.h
@@ -26,6 +26,9 @@ class NetworkActivityIndicatorTabHelper
NetworkActivityIndicatorTabHelper(web::WebState* web_state, NSString* tab_id);
~NetworkActivityIndicatorTabHelper() override;
+ // Clears any network activity state associated with this activity.
+ void Stop();
+
// web::WebStateObserver overrides:
void DidStartLoading() override;
void DidStopLoading() override;

Powered by Google App Engine
This is Rietveld 408576698