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

Side by Side Diff: media/blink/webcontentdecryptionmodule_impl.h

Issue 1430063003: use MEDIA_BLINK_EXPORT in media/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no (c) Created 5 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
« no previous file with comments | « media/blink/webaudiosourceprovider_impl.h ('k') | media/blink/webencryptedmediaclient_impl.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 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 MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
6 #define MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ 6 #define MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "media/base/media_export.h" 11 #include "media/blink/media_blink_export.h"
12 #include "third_party/WebKit/public/platform/WebContentDecryptionModule.h" 12 #include "third_party/WebKit/public/platform/WebContentDecryptionModule.h"
13 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" 13 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h"
14 14
15 namespace blink { 15 namespace blink {
16 #if defined(ENABLE_PEPPER_CDMS) 16 #if defined(ENABLE_PEPPER_CDMS)
17 class WebLocalFrame; 17 class WebLocalFrame;
18 #endif 18 #endif
19 class WebSecurityOrigin; 19 class WebSecurityOrigin;
20 } 20 }
21 21
22 namespace media { 22 namespace media {
23 23
24 struct CdmConfig; 24 struct CdmConfig;
25 class CdmContext; 25 class CdmContext;
26 class CdmFactory; 26 class CdmFactory;
27 class CdmSessionAdapter; 27 class CdmSessionAdapter;
28 class WebContentDecryptionModuleSessionImpl; 28 class WebContentDecryptionModuleSessionImpl;
29 29
30 class MEDIA_EXPORT WebContentDecryptionModuleImpl 30 class MEDIA_BLINK_EXPORT WebContentDecryptionModuleImpl
31 : public blink::WebContentDecryptionModule { 31 : public blink::WebContentDecryptionModule {
32 public: 32 public:
33 static void Create( 33 static void Create(
34 CdmFactory* cdm_factory, 34 CdmFactory* cdm_factory,
35 const base::string16& key_system, 35 const base::string16& key_system,
36 const blink::WebSecurityOrigin& security_origin, 36 const blink::WebSecurityOrigin& security_origin,
37 const CdmConfig& cdm_config, 37 const CdmConfig& cdm_config,
38 scoped_ptr<blink::WebContentDecryptionModuleResult> result); 38 scoped_ptr<blink::WebContentDecryptionModuleResult> result);
39 39
40 ~WebContentDecryptionModuleImpl() override; 40 ~WebContentDecryptionModuleImpl() override;
(...skipping 24 matching lines...) Expand all
65 65
66 // Allow typecasting from blink type as this is the only implementation. 66 // Allow typecasting from blink type as this is the only implementation.
67 inline WebContentDecryptionModuleImpl* ToWebContentDecryptionModuleImpl( 67 inline WebContentDecryptionModuleImpl* ToWebContentDecryptionModuleImpl(
68 blink::WebContentDecryptionModule* cdm) { 68 blink::WebContentDecryptionModule* cdm) {
69 return static_cast<WebContentDecryptionModuleImpl*>(cdm); 69 return static_cast<WebContentDecryptionModuleImpl*>(cdm);
70 } 70 }
71 71
72 } // namespace media 72 } // namespace media
73 73
74 #endif // MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ 74 #endif // MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
OLDNEW
« no previous file with comments | « media/blink/webaudiosourceprovider_impl.h ('k') | media/blink/webencryptedmediaclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698