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