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

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

Issue 1149113006: Move Pickle to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « components/autofill/core/common/form_field_data.h ('k') | components/nacl/browser/nacl_validation_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/bookmark_node_data.h
diff --git a/components/bookmarks/browser/bookmark_node_data.h b/components/bookmarks/browser/bookmark_node_data.h
index c746f4937c217413c3aea3c7233485b994ba46b0..16353c956fb577345a9418702513d1a58a39d407 100644
--- a/components/bookmarks/browser/bookmark_node_data.h
+++ b/components/bookmarks/browser/bookmark_node_data.h
@@ -18,8 +18,10 @@
#include "ui/base/dragdrop/os_exchange_data.h"
#endif
+namespace base {
class Pickle;
class PickleIterator;
+}
namespace bookmarks {
@@ -77,8 +79,8 @@ struct BookmarkNodeData {
friend struct BookmarkNodeData;
// For reading/writing this Element.
- void WriteToPickle(Pickle* pickle) const;
- bool ReadFromPickle(PickleIterator* iterator);
+ void WriteToPickle(base::Pickle* pickle) const;
+ bool ReadFromPickle(base::PickleIterator* iterator);
// ID of the node.
int64 id_;
@@ -128,10 +130,11 @@ struct BookmarkNodeData {
#endif
// Writes the data for a drag to |pickle|.
- void WriteToPickle(const base::FilePath& profile_path, Pickle* pickle) const;
+ void WriteToPickle(const base::FilePath& profile_path,
+ base::Pickle* pickle) const;
// Reads the data for a drag from a |pickle|.
- bool ReadFromPickle(Pickle* pickle);
+ bool ReadFromPickle(base::Pickle* pickle);
// Returns the nodes represented by this DragData. If this DragData was
// created from the same profile then the nodes from the model are returned.
« no previous file with comments | « components/autofill/core/common/form_field_data.h ('k') | components/nacl/browser/nacl_validation_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698