| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_ANDROID_MEDIA_DRM_BRIDGE_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_H_ |
| 6 #define MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stdint.h> |
| 9 #include <string> | 10 #include <string> |
| 10 #include <vector> | 11 #include <vector> |
| 11 | 12 |
| 12 #include "base/android/scoped_java_ref.h" | 13 #include "base/android/scoped_java_ref.h" |
| 13 #include "base/callback.h" | 14 #include "base/callback.h" |
| 14 #include "base/macros.h" | 15 #include "base/macros.h" |
| 15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 17 #include "media/base/android/provision_fetcher.h" | 18 #include "media/base/android/provision_fetcher.h" |
| 18 #include "media/base/cdm_promise_adapter.h" | 19 #include "media/base/cdm_promise_adapter.h" |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 | 316 |
| 316 // NOTE: Weak pointers must be invalidated before all other member variables. | 317 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 317 base::WeakPtrFactory<MediaDrmBridge> weak_factory_; | 318 base::WeakPtrFactory<MediaDrmBridge> weak_factory_; |
| 318 | 319 |
| 319 DISALLOW_COPY_AND_ASSIGN(MediaDrmBridge); | 320 DISALLOW_COPY_AND_ASSIGN(MediaDrmBridge); |
| 320 }; | 321 }; |
| 321 | 322 |
| 322 } // namespace media | 323 } // namespace media |
| 323 | 324 |
| 324 #endif // MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_H_ | 325 #endif // MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_H_ |
| OLD | NEW |