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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 7779001: Replace the use of an int32* with a proper struct for decoder configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replaced struct with explicit profile parameter. Created 9 years, 4 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: content/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index e7c4050925eec9227713135d65b955f0d0ecbb32..d0319c677bd5e7987a71edf12bc982e1f52709a4 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -114,8 +114,9 @@ class GpuCommandBufferStub
void OnDestroyTransferBuffer(int32 id, IPC::Message* reply_message);
void OnGetTransferBuffer(int32 id, IPC::Message* reply_message);
- void OnCreateVideoDecoder(const std::vector<int32>& configs,
- IPC::Message* reply_message);
+ void OnCreateVideoDecoder(
+ media::VideoDecodeAccelerator::Profile profile,
+ IPC::Message* reply_message);
void OnDestroyVideoDecoder(int32 decoder_route_id);
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698