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

Unified Diff: components/bookmarks/browser/bookmark_pasteboard_helper_mac.h

Issue 814833007: bookmarks: Move bookmark_pasteboard_helper_mac functions into 'bookmarks' namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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_pasteboard_helper_mac.h
diff --git a/components/bookmarks/browser/bookmark_pasteboard_helper_mac.h b/components/bookmarks/browser/bookmark_pasteboard_helper_mac.h
index a382258016df1f85c3394bc8d5454c0ed2b7b3dd..c0434185356ed9216ea545cadd2494bec4365bed 100644
--- a/components/bookmarks/browser/bookmark_pasteboard_helper_mac.h
+++ b/components/bookmarks/browser/bookmark_pasteboard_helper_mac.h
@@ -15,25 +15,29 @@ namespace base {
class FilePath;
}
+namespace bookmarks {
+
// This set of functions lets C++ code interact with the cocoa pasteboard and
// dragging methods.
// Writes a set of bookmark elements from a profile to the specified pasteboard.
void WriteBookmarksToPasteboard(
ui::ClipboardType type,
- const std::vector<bookmarks::BookmarkNodeData::Element>& elements,
+ const std::vector<BookmarkNodeData::Element>& elements,
const base::FilePath& profile_path);
// Reads a set of bookmark elements from the specified pasteboard.
bool ReadBookmarksFromPasteboard(
ui::ClipboardType type,
- std::vector<bookmarks::BookmarkNodeData::Element>& elements,
+ std::vector<BookmarkNodeData::Element>& elements,
base::FilePath* profile_path);
// Returns true if the specified pasteboard contains any sort of bookmark
// elements. It currently does not consider a plaintext url a valid bookmark.
bool PasteboardContainsBookmarks(ui::ClipboardType type);
+} // namespace bookmarks
+
#if defined(__OBJC__)
// Pasteboard type for dictionary containing bookmark structure consisting
// of individual bookmark nodes and/or bookmark folders.

Powered by Google App Engine
This is Rietveld 408576698