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

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

Issue 422673002: Move BookmarkNodeData into bookmarks namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 6 years, 5 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_node_data.cc
diff --git a/components/bookmarks/browser/bookmark_node_data.cc b/components/bookmarks/browser/bookmark_node_data.cc
index 365c1ea1fb1f2b708132902aa4a4846e42d99301..ad2ad42476dd5defdad41c779b04df457958c6f6 100644
--- a/components/bookmarks/browser/bookmark_node_data.cc
+++ b/components/bookmarks/browser/bookmark_node_data.cc
@@ -13,6 +13,8 @@
#include "components/bookmarks/browser/bookmark_utils.h"
#include "ui/base/clipboard/scoped_clipboard_writer.h"
+namespace bookmarks {
+
const char* BookmarkNodeData::kClipboardFormatString =
"chromium/x-bookmark-entries";
@@ -251,8 +253,7 @@ std::vector<const BookmarkNode*> BookmarkNodeData::GetNodes(
return nodes;
for (size_t i = 0; i < elements.size(); ++i) {
- const BookmarkNode* node =
- bookmarks::GetBookmarkNodeByID(model, elements[i].id_);
+ const BookmarkNode* node = GetBookmarkNodeByID(model, elements[i].id_);
if (!node) {
nodes.clear();
return nodes;
@@ -285,3 +286,5 @@ bool BookmarkNodeData::IsFromProfilePath(
// An empty path means the data is not associated with any profile.
return !profile_path_.empty() && profile_path_ == profile_path;
}
+
+} // namespace bookmarks
« no previous file with comments | « components/bookmarks/browser/bookmark_node_data.h ('k') | components/bookmarks/browser/bookmark_node_data_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698