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

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

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.mm
diff --git a/ios/chrome/browser/reading_list/reading_list_distiller_page_factory.mm b/ios/chrome/browser/reading_list/reading_list_distiller_page_factory.mm
index 9aa74011ce1f1528c3881c83de532ec0aa68f095..eba07b7ac91dfe41d4c829c89eec2633191668a1 100644
--- a/ios/chrome/browser/reading_list/reading_list_distiller_page_factory.mm
+++ b/ios/chrome/browser/reading_list/reading_list_distiller_page_factory.mm
@@ -28,4 +28,8 @@ ReadingListDistillerPageFactory::CreateReadingListDistillerPage(
browser_state_, web_state_dispatcher_.get(), delegate);
}
+void ReadingListDistillerPageFactory::ReleaseAllRetainedWebState() {
+ web_state_dispatcher_->ReleaseAll();
+}
+
} // namespace reading_list

Powered by Google App Engine
This is Rietveld 408576698