Chromium Code Reviews| Index: components/bookmarks/browser/bookmark_client.h |
| diff --git a/components/bookmarks/browser/bookmark_client.h b/components/bookmarks/browser/bookmark_client.h |
| index 5eb625fa88ff6f94ffd38ca8b203a288cff611e9..4c90716388328dc1b99e378151b04f2c94dd2eee 100644 |
| --- a/components/bookmarks/browser/bookmark_client.h |
| +++ b/components/bookmarks/browser/bookmark_client.h |
| @@ -25,18 +25,18 @@ struct UserMetricsAction; |
| namespace bookmarks { |
| class BookmarkModel; |
| -class BookmarkNode; |
| class BookmarkPermanentNode; |
| +class TitledUrlNode; |
| // This class abstracts operations that depends on the embedder's environment, |
| // e.g. Chrome. |
| class BookmarkClient { |
|
sky
2016/12/02 00:21:24
Why do you need to touch this class? I was assumin
mattreynolds
2016/12/02 21:02:06
Even if I factor out the sorting logic, at some po
sky
2016/12/02 21:30:29
BookmarkClient should be able to assume it is oper
|
| public: |
| - // Types representing a set of BookmarkNode and a mapping from BookmarkNode |
| - // to the number of time the corresponding URL has been typed by the user in |
| + // Types representing a set of TitledUrlNodes and a mapping from TitledUrlNode |
| + // to the number of times the corresponding URL has been typed by the user in |
| // the Omnibox. |
| - typedef std::set<const BookmarkNode*> NodeSet; |
| - typedef std::pair<const BookmarkNode*, int> NodeTypedCountPair; |
| + typedef std::set<const TitledUrlNode*> NodeSet; |
| + typedef std::pair<const TitledUrlNode*, int> NodeTypedCountPair; |
| typedef std::vector<NodeTypedCountPair> NodeTypedCountPairs; |
| virtual ~BookmarkClient() {} |