summaryrefslogtreecommitdiffstats
path: root/components/enhanced_bookmarks/enhanced_bookmark_model.h
diff options
context:
space:
mode:
authorrfevang <rfevang@chromium.org>2015-02-05 14:24:13 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-05 22:25:21 +0000
commit846191e5a12945951960c39b43ec33ee5d35cfba (patch)
treefcc3da6e3f662f7122eaede10ddd7533fbf45d62 /components/enhanced_bookmarks/enhanced_bookmark_model.h
parent62ae3a5d1154960a8f01c0b7e2a3c6f609c4767f (diff)
downloadchromium_src-846191e5a12945951960c39b43ec33ee5d35cfba.zip
chromium_src-846191e5a12945951960c39b43ec33ee5d35cfba.tar.gz
chromium_src-846191e5a12945951960c39b43ec33ee5d35cfba.tar.bz2
Dont set NEEDS_OFFLINE_PROCESSING flag.
The server will now always do processing for nodes that don't have stars.id set, so no need to flip this flag any more. BUG= Review URL: https://codereview.chromium.org/888983002 Cr-Commit-Position: refs/heads/master@{#314900}
Diffstat (limited to 'components/enhanced_bookmarks/enhanced_bookmark_model.h')
-rw-r--r--components/enhanced_bookmarks/enhanced_bookmark_model.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/components/enhanced_bookmarks/enhanced_bookmark_model.h b/components/enhanced_bookmarks/enhanced_bookmark_model.h
index 9ff07eb..9bc5e89 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_;