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

Side by Side Diff: content/browser/media/session/media_metadata_sanitizer.h

Issue 2399023002: Make MediaSession available on Desktop (Closed)
Patch Set: rebased 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 CONTENT_COMMON_MEDIA_MEDIA_METADATA_SANITIZER_H_ 5 #ifndef CONTENT_BROWSER_MEDIA_SESSION_MEDIA_METADATA_SANITIZER_H_
6 #define CONTENT_COMMON_MEDIA_MEDIA_METADATA_SANITIZER_H_ 6 #define CONTENT_BROWSER_MEDIA_SESSION_MEDIA_METADATA_SANITIZER_H_
7 7
8 namespace content { 8 namespace content {
9 9
10 struct MediaMetadata; 10 struct MediaMetadata;
11 11
12 class MediaMetadataSanitizer { 12 class MediaMetadataSanitizer {
13 public: 13 public:
14 // Check the sanity of |metadata|. 14 // Check the sanity of |metadata|.
15 static bool CheckSanity(const MediaMetadata& metadata); 15 static bool CheckSanity(const MediaMetadata& metadata);
Charlie Reis 2016/10/06 21:53:30 This looks like it's called from content/renderer/
Zhiqiang Zhang (Slow) 2016/10/06 22:33:52 That file was already removed in a previous patch
Charlie Reis 2016/10/06 22:37:49 Cool, thanks!
16 16
17 // Sanitizes |metadata| and return the result. 17 // Sanitizes |metadata| and return the result.
18 static MediaMetadata Sanitize(const MediaMetadata& metadata); 18 static MediaMetadata Sanitize(const MediaMetadata& metadata);
19 }; 19 };
20 20
21 } // namespace content 21 } // namespace content
22 22
23 #endif // CONTENT_COMMON_MEDIA_MEDIA_METADATA_SANITIZER_H_ 23 #endif // CONTENT_BROWSER_MEDIA_SESSION_MEDIA_METADATA_SANITIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698