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

Side by Side Diff: content/renderer/media/cdm/ppapi_decryptor.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_
6 #define CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ 6 #define CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 10 matching lines...) Expand all
21 #include "media/base/video_decoder_config.h" 21 #include "media/base/video_decoder_config.h"
22 22
23 class GURL; 23 class GURL;
24 24
25 namespace base { 25 namespace base {
26 class SingleThreadTaskRunner; 26 class SingleThreadTaskRunner;
27 } 27 }
28 28
29 namespace content { 29 namespace content {
30 class ContentDecryptorDelegate; 30 class ContentDecryptorDelegate;
31 class PepperPluginInstanceImpl;
32 31
33 // PpapiDecryptor implements media::MediaKeys and media::Decryptor and forwards 32 // PpapiDecryptor implements media::MediaKeys and media::Decryptor and forwards
34 // all calls to the PluginInstance. 33 // all calls to the PluginInstance.
35 // This class should always be created & destroyed on the main renderer thread. 34 // This class should always be created & destroyed on the main renderer thread.
36 class PpapiDecryptor : public media::MediaKeys, 35 class PpapiDecryptor : public media::MediaKeys,
37 public media::CdmContext, 36 public media::CdmContext,
38 public media::Decryptor { 37 public media::Decryptor {
39 public: 38 public:
40 static void Create( 39 static void Create(
41 const std::string& key_system, 40 const std::string& key_system,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 150
152 // NOTE: Weak pointers must be invalidated before all other member variables. 151 // NOTE: Weak pointers must be invalidated before all other member variables.
153 base::WeakPtrFactory<PpapiDecryptor> weak_ptr_factory_; 152 base::WeakPtrFactory<PpapiDecryptor> weak_ptr_factory_;
154 153
155 DISALLOW_COPY_AND_ASSIGN(PpapiDecryptor); 154 DISALLOW_COPY_AND_ASSIGN(PpapiDecryptor);
156 }; 155 };
157 156
158 } // namespace content 157 } // namespace content
159 158
160 #endif // CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ 159 #endif // CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.h ('k') | content/renderer/media/gpu/rtc_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698