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

Unified Diff: ios/chrome/browser/reading_list/reading_list_distiller_page_factory.h

Issue 2770723004: Remove all ReadingList entries on managed account signout. (Closed)
Patch Set: Created 3 years, 9 months 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/reading_list/reading_list_distiller_page_factory.h
diff --git a/ios/chrome/browser/reading_list/reading_list_distiller_page_factory.h b/ios/chrome/browser/reading_list/reading_list_distiller_page_factory.h
index 71acfca6cdc0cad39d76a650baea2036c5b80d63..c1d278782399e5a965e7800c60e33b9c11aaa473 100644
--- a/ios/chrome/browser/reading_list/reading_list_distiller_page_factory.h
+++ b/ios/chrome/browser/reading_list/reading_list_distiller_page_factory.h
@@ -32,6 +32,9 @@ class ReadingListDistillerPageFactory {
std::unique_ptr<ReadingListDistillerPage> CreateReadingListDistillerPage(
ReadingListDistillerPageDelegate* delegate) const;
+ // Releases all WebState owned by |web_state_dispatcher_|.
+ void ReleaseAllRetainedWebState();
+
private:
web::BrowserState* browser_state_;
std::unique_ptr<FaviconWebStateDispatcher> web_state_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698