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

Unified Diff: components/sessions/session_command.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
Index: components/sessions/session_command.h
diff --git a/components/sessions/session_command.h b/components/sessions/session_command.h
index 85db90858cadad852d611d5c88529ba508e68013..a5a5969a7d12025e09ef9737443e0b7dd2c24e4c 100644
--- a/components/sessions/session_command.h
+++ b/components/sessions/session_command.h
@@ -10,7 +10,9 @@
#include "base/basictypes.h"
#include "components/sessions/sessions_export.h"
+namespace base {
class Pickle;
+}
namespace sessions {
@@ -39,7 +41,7 @@ class SESSIONS_EXPORT SessionCommand {
// Convenience constructor that creates a session command with the specified
// id whose contents is populated from the contents of pickle.
- SessionCommand(id_type id, const Pickle& pickle);
+ SessionCommand(id_type id, const base::Pickle& pickle);
// The contents of the command.
char* contents() { return const_cast<char*>(contents_.c_str()); }
@@ -59,7 +61,7 @@ class SESSIONS_EXPORT SessionCommand {
// returned Pickle. The returned Pickle references the underlying data of
// this SessionCommand. If you need it to outlive the command, copy the
// pickle.
- Pickle* PayloadAsPickle() const;
+ base::Pickle* PayloadAsPickle() const;
private:
const id_type id_;
« no previous file with comments | « components/sessions/serialized_navigation_entry.h ('k') | content/browser/renderer_host/sandbox_ipc_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698