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

Side by Side Diff: media/base/media_client.h

Issue 2723833002: WebM support for new multipart VP9 string. (Closed)
Patch Set: Use latest ordering (9 parts), Plumb eotf to media client Created 3 years, 9 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_MEDIA_CLIENT_H_ 5 #ifndef MEDIA_BASE_MEDIA_CLIENT_H_
6 #define MEDIA_BASE_MEDIA_CLIENT_H_ 6 #define MEDIA_BASE_MEDIA_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "media/base/key_system_properties.h" 11 #include "media/base/key_system_properties.h"
12 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
13 #include "media/base/video_codecs.h" 13 #include "media/base/video_codecs.h"
14 #include "ui/gfx/color_space.h"
14 #include "url/gurl.h" 15 #include "url/gurl.h"
15 16
16 namespace media { 17 namespace media {
17 18
18 class MediaClient; 19 class MediaClient;
19 20
20 // Setter for the client. If a customized client is needed, it should be set 21 // Setter for the client. If a customized client is needed, it should be set
21 // early, before the client could possibly be used. 22 // early, before the client could possibly be used.
22 MEDIA_EXPORT void SetMediaClient(MediaClient* media_client); 23 MEDIA_EXPORT void SetMediaClient(MediaClient* media_client);
23 24
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 key_systems_properties) = 0; 64 key_systems_properties) = 0;
64 65
65 // Records a domain and registry of a url to a Rappor privacy-preserving 66 // Records a domain and registry of a url to a Rappor privacy-preserving
66 // metric. See: https://www.chromium.org/developers/design-documents/rappor 67 // metric. See: https://www.chromium.org/developers/design-documents/rappor
67 virtual void RecordRapporURL(const std::string& metric, const GURL& url) = 0; 68 virtual void RecordRapporURL(const std::string& metric, const GURL& url) = 0;
68 69
69 // Returns true if the given combination of video codec, profile and level is 70 // Returns true if the given combination of video codec, profile and level is
70 // supported. The |level| value is codec-specific. 71 // supported. The |level| value is codec-specific.
71 virtual bool IsSupportedVideoConfig(VideoCodec codec, 72 virtual bool IsSupportedVideoConfig(VideoCodec codec,
72 VideoCodecProfile profile, 73 VideoCodecProfile profile,
73 int level) = 0; 74 int level,
75 gfx::ColorSpace::TransferID eotf) = 0;
74 }; 76 };
75 77
76 } // namespace media 78 } // namespace media
77 79
78 #endif // MEDIA_BASE_MEDIA_CLIENT_H_ 80 #endif // MEDIA_BASE_MEDIA_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698