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

Unified Diff: ppapi/proxy/serialized_handle.cc

Issue 1154283003: Change most uses of Pickle to base::Pickle (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 | « ppapi/proxy/serialized_flash_menu.cc ('k') | ppapi/proxy/serialized_var.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/serialized_handle.cc
diff --git a/ppapi/proxy/serialized_handle.cc b/ppapi/proxy/serialized_handle.cc
index 7d06c763b31c8a922fdd87dce146c7d4069cc2f7..ee0f359f082446fbbfef31e1eb6fa58c5b4dc761 100644
--- a/ppapi/proxy/serialized_handle.cc
+++ b/ppapi/proxy/serialized_handle.cc
@@ -90,7 +90,7 @@ void SerializedHandle::Close() {
}
// static
-bool SerializedHandle::WriteHeader(const Header& hdr, Pickle* pickle) {
+bool SerializedHandle::WriteHeader(const Header& hdr, base::Pickle* pickle) {
if (!pickle->WriteInt(hdr.type))
return false;
if (hdr.type == SHARED_MEMORY) {
@@ -105,7 +105,7 @@ bool SerializedHandle::WriteHeader(const Header& hdr, Pickle* pickle) {
}
// static
-bool SerializedHandle::ReadHeader(PickleIterator* iter, Header* hdr) {
+bool SerializedHandle::ReadHeader(base::PickleIterator* iter, Header* hdr) {
*hdr = Header(INVALID, 0, 0, 0);
int type = 0;
if (!iter->ReadInt(&type))
« no previous file with comments | « ppapi/proxy/serialized_flash_menu.cc ('k') | ppapi/proxy/serialized_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698