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

Unified Diff: media/base/test_helpers.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 | « ipc/mojo/ipc_mojo_param_traits.cc ('k') | net/base/io_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/test_helpers.cc
diff --git a/media/base/test_helpers.cc b/media/base/test_helpers.cc
index bde12b4061aa83e4d3ae62671aacbae0400c0c1a..bbfbd64a5a906aa4e162de32cc4e9d765a062826 100644
--- a/media/base/test_helpers.cc
+++ b/media/base/test_helpers.cc
@@ -217,7 +217,7 @@ static const char kFakeVideoBufferHeader[] = "FakeVideoBufferForTest";
scoped_refptr<DecoderBuffer> CreateFakeVideoBufferForTest(
const VideoDecoderConfig& config,
base::TimeDelta timestamp, base::TimeDelta duration) {
- Pickle pickle;
+ base::Pickle pickle;
pickle.WriteString(kFakeVideoBufferHeader);
pickle.WriteInt(config.coded_size().width());
pickle.WriteInt(config.coded_size().height());
@@ -237,8 +237,8 @@ bool VerifyFakeVideoBufferForTest(
const scoped_refptr<DecoderBuffer>& buffer,
const VideoDecoderConfig& config) {
// Check if the input |buffer| matches the |config|.
- PickleIterator pickle(Pickle(reinterpret_cast<const char*>(buffer->data()),
- buffer->data_size()));
+ base::PickleIterator pickle(base::Pickle(
+ reinterpret_cast<const char*>(buffer->data()), buffer->data_size()));
std::string header;
int width = 0;
int height = 0;
« no previous file with comments | « ipc/mojo/ipc_mojo_param_traits.cc ('k') | net/base/io_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698