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

Unified Diff: chrome/browser/bookmarks/bookmark_drag_data.h

Issue 8115: Refactors some of the bookmark drag and drop code into a separate... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_drag_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_drag_data.h
===================================================================
--- chrome/browser/bookmarks/bookmark_drag_data.h (revision 3822)
+++ chrome/browser/bookmarks/bookmark_drag_data.h (working copy)
@@ -96,8 +96,11 @@
bool has_single_url() const { return is_valid() && elements[0].is_url; }
// Number of elements.
- size_t size() { return elements.size(); }
+ size_t size() const { return elements.size(); }
+ // Returns true if this data is from the specified profile.
+ bool IsFromProfile(Profile* profile) const;
+
// The actual elements written to the clipboard.
std::vector<Element> elements;
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_drag_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698