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

Unified Diff: components/bookmarks/browser/bookmark_utils.cc

Issue 297833006: Move ScopedGroupBookmarkActions into bookmarks namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: components/bookmarks/browser/bookmark_utils.cc
diff --git a/components/bookmarks/browser/bookmark_utils.cc b/components/bookmarks/browser/bookmark_utils.cc
index b6879373982f112c7bedf6b15889347de654ab96..bff1d49a681a474e32ebd9c4db61105058419a8c 100644
--- a/components/bookmarks/browser/bookmark_utils.cc
+++ b/components/bookmarks/browser/bookmark_utils.cc
@@ -178,7 +178,7 @@ void CopyToClipboard(BookmarkModel* model,
WriteToClipboard(ui::CLIPBOARD_TYPE_COPY_PASTE);
if (remove_nodes) {
- ScopedGroupBookmarkActions group_cut(model);
+ bookmarks::ScopedGroupBookmarkActions group_cut(model);
for (size_t i = 0; i < filtered_nodes.size(); ++i) {
int index = filtered_nodes[i]->parent()->GetIndexOf(filtered_nodes[i]);
if (index > -1)
@@ -199,7 +199,7 @@ void PasteFromClipboard(BookmarkModel* model,
if (index == -1)
index = parent->child_count();
- ScopedGroupBookmarkActions group_paste(model);
+ bookmarks::ScopedGroupBookmarkActions group_paste(model);
CloneBookmarkNode(model, bookmark_data.elements, parent, index, true);
}
« no previous file with comments | « components/bookmarks/browser/bookmark_model.h ('k') | components/bookmarks/browser/scoped_group_bookmark_actions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698