| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MEDIA_BASE_PLAYER_TRACKER_H_ | 5 #ifndef MEDIA_BASE_PLAYER_TRACKER_H_ |
| 6 #define MEDIA_BASE_PLAYER_TRACKER_H_ | 6 #define MEDIA_BASE_PLAYER_TRACKER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
| 9 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
| 10 | 11 |
| 11 namespace media { | 12 namespace media { |
| 12 | 13 |
| 13 // An interface for players to register to be notified when a new decryption key | 14 // An interface for players to register to be notified when a new decryption key |
| 14 // becomes available or when the CDM is unset. | 15 // becomes available or when the CDM is unset. |
| 15 class MEDIA_EXPORT PlayerTracker { | 16 class MEDIA_EXPORT PlayerTracker { |
| 16 public: | 17 public: |
| 17 virtual ~PlayerTracker(); | 18 virtual ~PlayerTracker(); |
| 18 | 19 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 32 protected: | 33 protected: |
| 33 PlayerTracker(); | 34 PlayerTracker(); |
| 34 | 35 |
| 35 private: | 36 private: |
| 36 DISALLOW_COPY_AND_ASSIGN(PlayerTracker); | 37 DISALLOW_COPY_AND_ASSIGN(PlayerTracker); |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 } // namespace media | 40 } // namespace media |
| 40 | 41 |
| 41 #endif // MEDIA_BASE_PLAYER_TRACKER_H_ | 42 #endif // MEDIA_BASE_PLAYER_TRACKER_H_ |
| OLD | NEW |