blob: 5f1b7b624fd3a8b397bfd59231c20998b85542b2 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_MEDIA_SESSION_MEDIA_METADATA_SANITIZER_H_
#define CONTENT_BROWSER_MEDIA_SESSION_MEDIA_METADATA_SANITIZER_H_
#include "third_party/blink/public/mojom/mediasession/media_session.mojom.h"
namespace content {
class MediaMetadataSanitizer {
public:
// Check the sanity of |metadata|.
static bool CheckSanity(const blink::mojom::SpecMediaMetadataPtr& metadata);
};
} // namespace content
#endif // CONTENT_BROWSER_MEDIA_SESSION_MEDIA_METADATA_SANITIZER_H_