summaryrefslogtreecommitdiffstats
path: root/media/base/browser_cdm.h
blob: f4902d8708bc16253b40a52b1dac41db923cab9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2014 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 MEDIA_BASE_BROWSER_CDM_H_
#define MEDIA_BASE_BROWSER_CDM_H_

#include "media/base/media_export.h"
#include "media/base/media_keys.h"
#include "media/base/player_tracker.h"

namespace media {

// Interface for browser side CDMs.
class MEDIA_EXPORT BrowserCdm : public MediaKeys, public PlayerTracker {
 public:
  ~BrowserCdm() override;

 protected:
   BrowserCdm();

 private:
  DISALLOW_COPY_AND_ASSIGN(BrowserCdm);
};

}  // namespace media

#endif  // MEDIA_BASE_BROWSER_CDM_H_