Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
index d7d203ee91df4cf3657d418f596568ecd92c4e9a..9d7f7a832f8f52e9ea2cdbef9653bd60fef1c5d8 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
@@ -539,6 +539,7 @@ void RecordAppLaunch(Profile* profile, GURL url) { |
// Don't allow edit/delete of the bar node, or of "Other Bookmarks" |
if ((node == nil) || |
(node == bookmarkModel_->other_node()) || |
+ (node == bookmarkModel_->synced_node()) || |
(node == bookmarkModel_->GetBookmarkBarNode())) |
return NO; |
return YES; |
@@ -800,6 +801,7 @@ void RecordAppLaunch(Profile* profile, GURL url) { |
BookmarkNode::Type type = senderNode->type(); |
if (type == BookmarkNode::BOOKMARK_BAR || |
type == BookmarkNode::OTHER_NODE || |
+ type == BookmarkNode::SYNCED || |
type == BookmarkNode::FOLDER) { |
parent = senderNode; |
newIndex = parent->child_count(); |