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

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

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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/macros.h"
8 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
11 #include "media/blink/media_blink_export.h" 12 #include "media/blink/media_blink_export.h"
12 #include "third_party/WebKit/public/platform/WebContentDecryptionModule.h" 13 #include "third_party/WebKit/public/platform/WebContentDecryptionModule.h"
13 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" 14 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h"
14 15
15 namespace blink { 16 namespace blink {
16 #if defined(ENABLE_PEPPER_CDMS) 17 #if defined(ENABLE_PEPPER_CDMS)
17 class WebLocalFrame; 18 class WebLocalFrame;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 66
66 // Allow typecasting from blink type as this is the only implementation. 67 // Allow typecasting from blink type as this is the only implementation.
67 inline WebContentDecryptionModuleImpl* ToWebContentDecryptionModuleImpl( 68 inline WebContentDecryptionModuleImpl* ToWebContentDecryptionModuleImpl(
68 blink::WebContentDecryptionModule* cdm) { 69 blink::WebContentDecryptionModule* cdm) {
69 return static_cast<WebContentDecryptionModuleImpl*>(cdm); 70 return static_cast<WebContentDecryptionModuleImpl*>(cdm);
70 } 71 }
71 72
72 } // namespace media 73 } // namespace media
73 74
74 #endif // MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ 75 #endif // MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
OLDNEW
« no previous file with comments | « media/blink/webaudiosourceprovider_impl.h ('k') | media/blink/webcontentdecryptionmoduleaccess_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698