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

Unified Diff: ppapi/proxy/raw_var_data.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/ppapi_param_traits.cc ('k') | ppapi/proxy/raw_var_data_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/raw_var_data.cc
diff --git a/ppapi/proxy/raw_var_data.cc b/ppapi/proxy/raw_var_data.cc
index ac925c9fd56c6c5fdc10aa21c5a768a7c2757bfc..12483f7c5867e9e8f3b5286dc4a990e941689a78 100644
--- a/ppapi/proxy/raw_var_data.cc
+++ b/ppapi/proxy/raw_var_data.cc
@@ -185,7 +185,7 @@ void RawVarDataGraph::Write(IPC::Message* m,
// static
scoped_ptr<RawVarDataGraph> RawVarDataGraph::Read(const IPC::Message* m,
- PickleIterator* iter) {
+ base::PickleIterator* iter) {
scoped_ptr<RawVarDataGraph> result(new RawVarDataGraph);
uint32_t size = 0;
if (!iter->ReadUInt32(&size))
@@ -312,7 +312,7 @@ void BasicRawVarData::Write(
bool BasicRawVarData::Read(PP_VarType type,
const IPC::Message* m,
- PickleIterator* iter) {
+ base::PickleIterator* iter) {
PP_Var result;
result.type = type;
switch (type) {
@@ -384,7 +384,7 @@ void StringRawVarData::Write(IPC::Message* m,
bool StringRawVarData::Read(PP_VarType type,
const IPC::Message* m,
- PickleIterator* iter) {
+ base::PickleIterator* iter) {
if (!iter->ReadString(&data_))
return false;
return true;
@@ -501,7 +501,7 @@ void ArrayBufferRawVarData::Write(
bool ArrayBufferRawVarData::Read(PP_VarType type,
const IPC::Message* m,
- PickleIterator* iter) {
+ base::PickleIterator* iter) {
int shmem_type;
if (!iter->ReadInt(&shmem_type))
return false;
@@ -582,7 +582,7 @@ void ArrayRawVarData::Write(IPC::Message* m,
bool ArrayRawVarData::Read(PP_VarType type,
const IPC::Message* m,
- PickleIterator* iter) {
+ base::PickleIterator* iter) {
uint32_t size;
if (!iter->ReadUInt32(&size))
return false;
@@ -648,7 +648,7 @@ void DictionaryRawVarData::Write(
bool DictionaryRawVarData::Read(PP_VarType type,
const IPC::Message* m,
- PickleIterator* iter) {
+ base::PickleIterator* iter) {
uint32_t size;
if (!iter->ReadUInt32(&size))
return false;
@@ -725,7 +725,7 @@ void ResourceRawVarData::Write(IPC::Message* m,
bool ResourceRawVarData::Read(PP_VarType type,
const IPC::Message* m,
- PickleIterator* iter) {
+ base::PickleIterator* iter) {
int value;
if (!iter->ReadInt(&value))
return false;
« no previous file with comments | « ppapi/proxy/ppapi_param_traits.cc ('k') | ppapi/proxy/raw_var_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698