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

Side by Side Diff: components/reading_list/ios/reading_list_model_bridge_observer.h

Issue 2888163004: [ObjC ARC] Converts components/reading_list/ios:ios to ARC. (Closed)
Patch Set: Reworded todo. Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 1
2 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Copyright 2016 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #ifndef COMPONENTS_READING_LIST_IOS_READING_LIST_MODEL_BRIDGE_OBSERVER_H_ 6 #ifndef COMPONENTS_READING_LIST_IOS_READING_LIST_MODEL_BRIDGE_OBSERVER_H_
7 #define COMPONENTS_READING_LIST_IOS_READING_LIST_MODEL_BRIDGE_OBSERVER_H_ 7 #define COMPONENTS_READING_LIST_IOS_READING_LIST_MODEL_BRIDGE_OBSERVER_H_
8 8
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void ReadingListWillAddEntry(const ReadingListModel* model, 68 void ReadingListWillAddEntry(const ReadingListModel* model,
69 const ReadingListEntry& entry) override; 69 const ReadingListEntry& entry) override;
70 void ReadingListDidAddEntry(const ReadingListModel* model, 70 void ReadingListDidAddEntry(const ReadingListModel* model,
71 const GURL& url, 71 const GURL& url,
72 reading_list::EntrySource source) override; 72 reading_list::EntrySource source) override;
73 void ReadingListDidApplyChanges(ReadingListModel* model) override; 73 void ReadingListDidApplyChanges(ReadingListModel* model) override;
74 void ReadingListWillUpdateEntry(const ReadingListModel* model, 74 void ReadingListWillUpdateEntry(const ReadingListModel* model,
75 const GURL& url) override; 75 const GURL& url) override;
76 76
77 __unsafe_unretained id<ReadingListModelBridgeObserver> observer_; 77 __unsafe_unretained id<ReadingListModelBridgeObserver> observer_;
78
79 // TODO(crbug.com/729015): Refactor to remove the naked pointer.
78 ReadingListModel* model_; // weak 80 ReadingListModel* model_; // weak
79 81
80 DISALLOW_COPY_AND_ASSIGN(ReadingListModelBridge); 82 DISALLOW_COPY_AND_ASSIGN(ReadingListModelBridge);
81 }; 83 };
82 84
83 #endif // COMPONENTS_READING_LIST_IOS_READING_LIST_MODEL_BRIDGE_OBSERVER_H_ 85 #endif // COMPONENTS_READING_LIST_IOS_READING_LIST_MODEL_BRIDGE_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/reading_list/ios/BUILD.gn ('k') | components/reading_list/ios/reading_list_model_bridge_observer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698