Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: media/base/android/media_drm_bridge_cdm_context.h

Issue 1847373005: Fix IWYU violators that don't include scoped_ptr.h in Android build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CDM_CONTEXT_H_ 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_CDM_CONTEXT_H_
6 #define MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_CDM_CONTEXT_H_ 6 #define MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_CDM_CONTEXT_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
13 #include "media/base/cdm_context.h" 14 #include "media/base/cdm_context.h"
14 #include "media/base/media_export.h" 15 #include "media/base/media_export.h"
15 #include "media/base/player_tracker.h" 16 #include "media/base/player_tracker.h"
16 17
17 namespace media { 18 namespace media {
18 19
19 class MediaDrmBridge; 20 class MediaDrmBridge;
20 21
21 // The CdmContext implementation for MediaDrmBridge. MediaDrmBridge supports 22 // The CdmContext implementation for MediaDrmBridge. MediaDrmBridge supports
22 // neither Decryptor nor CDM ID, but uses MediaCrypto to connect to MediaCodec. 23 // neither Decryptor nor CDM ID, but uses MediaCrypto to connect to MediaCodec.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 65
65 private: 66 private:
66 MediaDrmBridge* const media_drm_bridge_; 67 MediaDrmBridge* const media_drm_bridge_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(MediaDrmBridgeCdmContext); 69 DISALLOW_COPY_AND_ASSIGN(MediaDrmBridgeCdmContext);
69 }; 70 };
70 71
71 } // namespace media 72 } // namespace media
72 73
73 #endif // MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_CDM_CONTEXT_H_ 74 #endif // MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_CDM_CONTEXT_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_android.h ('k') | media/base/android/provision_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698