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

Unified Diff: components/reading_list/ios/reading_list_model_bridge_observer.mm

Issue 2863303002: Fixes a DCHECK in tools_menu_button_observer_bridge during tests (Closed)
Patch Set: delete unnecessary implementation of Shutdown() Created 3 years, 7 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: components/reading_list/ios/reading_list_model_bridge_observer.mm
diff --git a/components/reading_list/ios/reading_list_model_bridge_observer.mm b/components/reading_list/ios/reading_list_model_bridge_observer.mm
index f295c7fdf6302b6d9d2c059a81868f2f978fa638..a54a1a471f14e790b8a5a887f66c1687882b9534 100644
--- a/components/reading_list/ios/reading_list_model_bridge_observer.mm
+++ b/components/reading_list/ios/reading_list_model_bridge_observer.mm
@@ -26,6 +26,14 @@ void ReadingListModelBridge::ReadingListModelLoaded(
[observer_ readingListModelLoaded:model];
}
+void ReadingListModelBridge::ReadingListModelBeingShutdown(
+ const ReadingListModel* model) {
+ if ([observer_
+ respondsToSelector:@selector(readingListModelBeingShutdown:)]) {
+ [observer_ readingListModelBeingShutdown:model];
+ }
+}
+
void ReadingListModelBridge::ReadingListModelBeingDeleted(
const ReadingListModel* model) {
if ([observer_ respondsToSelector:@selector(readingListModelBeingDeleted:)]) {
« no previous file with comments | « components/reading_list/ios/reading_list_model_bridge_observer.h ('k') | ios/chrome/browser/ui/omnibox_perftest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698