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

Side by Side Diff: content/common/media/media_metadata_sanitizer.h

Issue 2399023002: Make MediaSession available on Desktop (Closed)
Patch Set: merge BrowserMediaSessionManager into MediaSessionServiceImpl, temporarily removing BrowserTests Created 4 years, 2 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 2016 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 CONTENT_COMMON_MEDIA_MEDIA_METADATA_SANITIZER_H_
6 #define CONTENT_COMMON_MEDIA_MEDIA_METADATA_SANITIZER_H_
7
8 namespace content {
9
10 struct MediaMetadata;
11
12 class MediaMetadataSanitizer {
13 public:
14 // Check the sanity of |metadata|.
15 static bool CheckSanity(const MediaMetadata& metadata);
16
17 // Sanitizes |metadata| and return the result.
18 static MediaMetadata Sanitize(const MediaMetadata& metadata);
19 };
20
21 } // namespace content
22
23 #endif // CONTENT_COMMON_MEDIA_MEDIA_METADATA_SANITIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698