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

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

Issue 2533273002: media: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « media/audio/virtual_audio_sink.h ('k') | media/base/audio_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/android/scoped_java_ref.h" 15 #include "base/android/scoped_java_ref.h"
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "base/memory/weak_ptr.h" 19 #include "base/memory/weak_ptr.h"
20 #include "media/base/android/media_drm_bridge_cdm_context.h" 20 #include "media/base/android/media_drm_bridge_cdm_context.h"
21 #include "media/base/cdm_promise.h" 21 #include "media/base/cdm_promise.h"
22 #include "media/base/cdm_promise_adapter.h" 22 #include "media/base/cdm_promise_adapter.h"
23 #include "media/base/media_export.h" 23 #include "media/base/media_export.h"
24 #include "media/base/media_keys.h" 24 #include "media/base/media_keys.h"
25 #include "media/base/player_tracker.h" 25 #include "media/base/player_tracker.h"
26 #include "media/base/provision_fetcher.h" 26 #include "media/base/provision_fetcher.h"
27 #include "media/cdm/player_tracker_impl.h" 27 #include "media/cdm/player_tracker_impl.h"
28 #include "url/gurl.h" 28 #include "url/gurl.h"
29 29
30 class GURL;
31
32 namespace base { 30 namespace base {
33 class SingleThreadTaskRunner; 31 class SingleThreadTaskRunner;
34 } 32 }
35 33
36 namespace media { 34 namespace media {
37 35
38 // Implements a CDM using Android MediaDrm API. 36 // Implements a CDM using Android MediaDrm API.
39 // 37 //
40 // Thread Safety: 38 // Thread Safety:
41 // 39 //
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 316
319 // NOTE: Weak pointers must be invalidated before all other member variables. 317 // NOTE: Weak pointers must be invalidated before all other member variables.
320 base::WeakPtrFactory<MediaDrmBridge> weak_factory_; 318 base::WeakPtrFactory<MediaDrmBridge> weak_factory_;
321 319
322 DISALLOW_COPY_AND_ASSIGN(MediaDrmBridge); 320 DISALLOW_COPY_AND_ASSIGN(MediaDrmBridge);
323 }; 321 };
324 322
325 } // namespace media 323 } // namespace media
326 324
327 #endif // MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_H_ 325 #endif // MEDIA_BASE_ANDROID_MEDIA_DRM_BRIDGE_H_
OLDNEW
« no previous file with comments | « media/audio/virtual_audio_sink.h ('k') | media/base/audio_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698