Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 WebMediaMetadata_h | 5 #ifndef WebMediaMetadata_h |
| 6 #define WebMediaMetadata_h | 6 #define WebMediaMetadata_h |
| 7 | 7 |
| 8 #include "public/platform/WebString.h" | 8 #include "public/platform/WebString.h" |
| 9 #include "public/platform/modules/mediasession/WebMediaArtwork.h" | |
| 10 #include "wtf/Vector.h" | |
|
mlamouri (slow - plz ping)
2016/05/31 16:41:50
public/platform/WebVector.h instead?
Zhiqiang Zhang (Slow)
2016/06/01 19:40:57
Done.
| |
| 9 | 11 |
| 10 namespace blink { | 12 namespace blink { |
| 11 | 13 |
| 12 // Representation of the MediaMetadata interface to the content layer. | 14 // Representation of the MediaMetadata interface to the content layer. |
| 13 struct WebMediaMetadata { | 15 struct WebMediaMetadata { |
| 16 public: | |
| 14 WebString title; | 17 WebString title; |
| 15 WebString artist; | 18 WebString artist; |
| 16 WebString album; | 19 WebString album; |
| 20 WebVector<WebMediaArtwork> artworks; | |
| 17 }; | 21 }; |
| 18 | 22 |
| 19 } // namespace blink | 23 } // namespace blink |
| 20 | 24 |
| 21 #endif // WebMediaMetadata_h | 25 #endif // WebMediaMetadata_h |
| OLD | NEW |