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

Unified Diff: components/sessions/serialized_navigation_entry.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/network_hints/common/network_hints_messages.h ('k') | components/sessions/session_command.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/serialized_navigation_entry.h
diff --git a/components/sessions/serialized_navigation_entry.h b/components/sessions/serialized_navigation_entry.h
index 49ae3dd1a27d13d71892a5e3e281aa213aaa8d8b..44135f489d99e6bb116ae7df9800cee336f0fda5 100644
--- a/components/sessions/serialized_navigation_entry.h
+++ b/components/sessions/serialized_navigation_entry.h
@@ -17,8 +17,10 @@
#include "ui/base/page_transition_types.h"
#include "url/gurl.h"
+namespace base {
class Pickle;
class PickleIterator;
+}
namespace sync_pb {
class TabNavigation;
@@ -60,8 +62,8 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
// Note that not all SerializedNavigationEntry fields are preserved.
// |max_size| is the max number of bytes to write.
- void WriteToPickle(int max_size, Pickle* pickle) const;
- bool ReadFromPickle(PickleIterator* iterator);
+ void WriteToPickle(int max_size, base::Pickle* pickle) const;
+ bool ReadFromPickle(base::PickleIterator* iterator);
// Convert this navigation into its sync protocol buffer equivalent. Note
// that the protocol buffer doesn't contain all SerializedNavigationEntry
« no previous file with comments | « components/network_hints/common/network_hints_messages.h ('k') | components/sessions/session_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698