summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_drag_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_drag_data.h')
-rw-r--r--chrome/browser/bookmarks/bookmark_drag_data.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/bookmarks/bookmark_drag_data.h b/chrome/browser/bookmarks/bookmark_drag_data.h
index ca1a10e..d9e52e2f 100644
--- a/chrome/browser/bookmarks/bookmark_drag_data.h
+++ b/chrome/browser/bookmarks/bookmark_drag_data.h
@@ -44,9 +44,9 @@ class Profile;
struct BookmarkDragData {
// Element represents a single node.
struct Element {
+ Element();
explicit Element(const BookmarkNode* node);
-
- Element() : is_url(false), id_(0) {}
+ ~Element();
// If true, this element represents a URL.
bool is_url;
@@ -74,7 +74,7 @@ struct BookmarkDragData {
int64 id_;
};
- BookmarkDragData() { }
+ BookmarkDragData();
#if defined(TOOLKIT_VIEWS)
static OSExchangeData::CustomFormat GetBookmarkCustomFormat();
@@ -84,6 +84,8 @@ struct BookmarkDragData {
explicit BookmarkDragData(const BookmarkNode* node);
explicit BookmarkDragData(const std::vector<const BookmarkNode*>& nodes);
+ ~BookmarkDragData();
+
// Reads bookmarks from the given vector.
bool ReadFromVector(const std::vector<const BookmarkNode*>& nodes);