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

Side by Side Diff: components/enhanced_bookmarks/enhanced_bookmark_model.h

Issue 693513003: Revert of Reduce frequency of requesting bookmark clusters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARK_MODEL_H_ 5 #ifndef COMPONENTS_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARK_MODEL_H_
6 #define COMPONENTS_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARK_MODEL_H_ 6 #define COMPONENTS_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARK_MODEL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 void BookmarkModelChanged() override; 142 void BookmarkModelChanged() override;
143 void BookmarkModelLoaded(BookmarkModel* model, bool ids_reassigned) override; 143 void BookmarkModelLoaded(BookmarkModel* model, bool ids_reassigned) override;
144 void BookmarkNodeAdded(BookmarkModel* model, 144 void BookmarkNodeAdded(BookmarkModel* model,
145 const BookmarkNode* parent, 145 const BookmarkNode* parent,
146 int index) override; 146 int index) override;
147 void BookmarkNodeRemoved(BookmarkModel* model, 147 void BookmarkNodeRemoved(BookmarkModel* model,
148 const BookmarkNode* parent, 148 const BookmarkNode* parent,
149 int old_index, 149 int old_index,
150 const BookmarkNode* node, 150 const BookmarkNode* node,
151 const std::set<GURL>& removed_urls) override; 151 const std::set<GURL>& removed_urls) override;
152 void BookmarkNodeChanged(BookmarkModel* model,
153 const BookmarkNode* node) override;
154 void OnWillChangeBookmarkMetaInfo(BookmarkModel* model, 152 void OnWillChangeBookmarkMetaInfo(BookmarkModel* model,
155 const BookmarkNode* node) override; 153 const BookmarkNode* node) override;
156 void BookmarkMetaInfoChanged(BookmarkModel* model, 154 void BookmarkMetaInfoChanged(BookmarkModel* model,
157 const BookmarkNode* node) override; 155 const BookmarkNode* node) override;
158 void BookmarkAllUserNodesRemoved(BookmarkModel* model, 156 void BookmarkAllUserNodesRemoved(BookmarkModel* model,
159 const std::set<GURL>& removed_urls) override; 157 const std::set<GURL>& removed_urls) override;
160 158
161 // Initialize the mapping from remote ids to nodes. 159 // Initialize the mapping from remote ids to nodes.
162 void InitializeIdMap(); 160 void InitializeIdMap();
163 161
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 203
206 std::string version_; 204 std::string version_;
207 std::string version_suffix_; 205 std::string version_suffix_;
208 206
209 base::WeakPtrFactory<EnhancedBookmarkModel> weak_ptr_factory_; 207 base::WeakPtrFactory<EnhancedBookmarkModel> weak_ptr_factory_;
210 }; 208 };
211 209
212 } // namespace enhanced_bookmarks 210 } // namespace enhanced_bookmarks
213 211
214 #endif // COMPONENTS_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARK_MODEL_H_ 212 #endif // COMPONENTS_ENHANCED_BOOKMARKS_ENHANCED_BOOKMARK_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698