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

Side by Side Diff: chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.h

Issue 2300993003: CmaRenderer is dead. Long live MojoRenderer. (Closed)
Patch Set: update OWNERS file Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_MEDIA_CMA_IPC_STREAMER_DECRYPT_CONFIG_MARSHALLER_H_
6 #define CHROMECAST_MEDIA_CMA_IPC_STREAMER_DECRYPT_CONFIG_MARSHALLER_H_
7
8 #include <memory>
9
10 namespace media {
11 class DecryptConfig;
12 }
13
14 namespace chromecast {
15 namespace media {
16 class CastDecryptConfig;
17 class MediaMessage;
18
19 class DecryptConfigMarshaller {
20 public:
21 // Writes the serialized structure of |config| into |msg|.
22 static void Write(const CastDecryptConfig& config, MediaMessage* msg);
23
24 // Returns a DecryptConfig from its serialized structure.
25 static std::unique_ptr<CastDecryptConfig> Read(MediaMessage* msg);
26 };
27
28 } // namespace media
29 } // namespace chromecast
30
31 #endif // CHROMECAST_MEDIA_CMA_IPC_STREAMER_DECRYPT_CONFIG_MARSHALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698