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

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

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit 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/core/browser/bookmark_pasteboard_helper_mac.h
diff --git a/components/bookmarks/core/browser/bookmark_pasteboard_helper_mac.h b/components/bookmarks/core/browser/bookmark_pasteboard_helper_mac.h
deleted file mode 100644
index c990e125972aa4ad948e9bf64cd8eddf5d32dc22..0000000000000000000000000000000000000000
--- a/components/bookmarks/core/browser/bookmark_pasteboard_helper_mac.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_PASTEBOARD_HELPER_MAC_H_
-#define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_PASTEBOARD_HELPER_MAC_H_
-
-#include "components/bookmarks/core/browser/bookmark_node_data.h"
-
-#if defined(__OBJC__)
-@class NSString;
-#endif // __OBJC__
-
-namespace base {
-class FilePath;
-}
-
-// 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<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<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);
-
-#if defined(__OBJC__)
-// Pasteboard type for dictionary containing bookmark structure consisting
-// of individual bookmark nodes and/or bookmark folders.
-extern "C" NSString* const kBookmarkDictionaryListPboardType;
-#endif // __OBJC__
-
-#endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_PASTEBOARD_HELPER_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698