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

Unified Diff: components/enhanced_bookmarks/enhanced_bookmark_model.h

Issue 888983002: Dont set NEEDS_OFFLINE_PROCESSING flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase Created 5 years, 10 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
« no previous file with comments | « no previous file | components/enhanced_bookmarks/enhanced_bookmark_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/enhanced_bookmarks/enhanced_bookmark_model.h
diff --git a/components/enhanced_bookmarks/enhanced_bookmark_model.h b/components/enhanced_bookmarks/enhanced_bookmark_model.h
index 9ff07eb531de4a30d47f46054f2a1a7083a9245f..9bc5e896e3cf9f646c5c0b95590aafdcc8f430a1 100644
--- a/components/enhanced_bookmarks/enhanced_bookmark_model.h
+++ b/components/enhanced_bookmarks/enhanced_bookmark_model.h
@@ -187,9 +187,6 @@ class EnhancedBookmarkModel : public KeyedService,
// Clears out any duplicate remote ids detected by AddToIdMap calls.
void ResetDuplicateRemoteIds();
- // Sets the NEEDS_OFFLINE_PROCESSING flag on the given node.
- void SetNeedsOfflineProcessing(const bookmarks::BookmarkNode* node);
-
// Helper method for setting a meta info field on a node. Also updates the
// version field.
void SetMetaInfo(const bookmarks::BookmarkNode* node,
@@ -210,11 +207,6 @@ class EnhancedBookmarkModel : public KeyedService,
IdToNodeMap id_map_;
NodeToIdMap nodes_to_reset_;
- // Pending SetNeedsOfflineProcessing calls are stored here, as they may need
- // to be cancelled if the node is removed.
- std::map<const bookmarks::BookmarkNode*, linked_ptr<base::CancelableClosure>>
- set_needs_offline_processing_tasks_;
-
// Caches the remote id of a node before its meta info changes.
std::string prev_remote_id_;
« no previous file with comments | « no previous file | components/enhanced_bookmarks/enhanced_bookmark_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698