| OLD | NEW |
| 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 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 // Adds properties for supported key systems. | 63 // Adds properties for supported key systems. |
| 64 virtual void AddSupportedKeySystems( | 64 virtual void AddSupportedKeySystems( |
| 65 std::vector<std::unique_ptr<KeySystemProperties>>* | 65 std::vector<std::unique_ptr<KeySystemProperties>>* |
| 66 key_systems_properties) = 0; | 66 key_systems_properties) = 0; |
| 67 | 67 |
| 68 // Records a domain and registry of a url to a Rappor privacy-preserving | 68 // Records a domain and registry of a url to a Rappor privacy-preserving |
| 69 // metric. See: https://www.chromium.org/developers/design-documents/rappor | 69 // metric. See: https://www.chromium.org/developers/design-documents/rappor |
| 70 virtual void RecordRapporURL(const std::string& metric, const GURL& url) = 0; | 70 virtual void RecordRapporURL(const std::string& metric, const GURL& url) = 0; |
| 71 | 71 |
| 72 // Returns true if the given audio config is supported. |
| 73 virtual bool IsSupportedAudioConfig(const AudioConfig& config) = 0; |
| 74 |
| 72 // Returns true if the given combination of video codec, profile and level is | 75 // Returns true if the given combination of video codec, profile and level is |
| 73 // supported. The |level| value is codec-specific. | 76 // supported. The |level| value is codec-specific. |
| 74 virtual bool IsSupportedVideoConfig(const VideoConfig& config) = 0; | 77 virtual bool IsSupportedVideoConfig(const VideoConfig& config) = 0; |
| 75 }; | 78 }; |
| 76 | 79 |
| 77 } // namespace media | 80 } // namespace media |
| 78 | 81 |
| 79 #endif // MEDIA_BASE_MEDIA_CLIENT_H_ | 82 #endif // MEDIA_BASE_MEDIA_CLIENT_H_ |
| OLD | NEW |