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

Side by Side Diff: content/renderer/media/cdm/pepper_cdm_wrapper_impl.cc

Issue 2412493003: Revert of Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ppapi/features/features.h" 5 #if defined(ENABLE_PEPPER_CDMS)
6
7 #if BUILDFLAG(ENABLE_PEPPER_CDMS)
8 #include "content/renderer/media/cdm/pepper_cdm_wrapper_impl.h" 6 #include "content/renderer/media/cdm/pepper_cdm_wrapper_impl.h"
9 7
10 #include <utility> 8 #include <utility>
11 9
12 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 10 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
13 #include "content/renderer/pepper/pepper_webplugin_impl.h" 11 #include "content/renderer/pepper/pepper_webplugin_impl.h"
14 #include "third_party/WebKit/public/platform/URLConversion.h" 12 #include "third_party/WebKit/public/platform/URLConversion.h"
15 #include "third_party/WebKit/public/platform/WebString.h" 13 #include "third_party/WebKit/public/platform/WebString.h"
16 #include "third_party/WebKit/public/web/WebDocument.h" 14 #include "third_party/WebKit/public/web/WebDocument.h"
17 #include "third_party/WebKit/public/web/WebElement.h" 15 #include "third_party/WebKit/public/web/WebElement.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 plugin_instance_ = NULL; 87 plugin_instance_ = NULL;
90 helper_plugin_.reset(); 88 helper_plugin_.reset();
91 } 89 }
92 90
93 ContentDecryptorDelegate* PepperCdmWrapperImpl::GetCdmDelegate() { 91 ContentDecryptorDelegate* PepperCdmWrapperImpl::GetCdmDelegate() {
94 return plugin_instance_->GetContentDecryptorDelegate(); 92 return plugin_instance_->GetContentDecryptorDelegate();
95 } 93 }
96 94
97 } // namespace content 95 } // namespace content
98 96
99 #endif // BUILDFLAG(ENABLE_PEPPER_CDMS) 97 #endif // defined(ENABLE_PEPPER_CDMS)
OLDNEW
« no previous file with comments | « content/renderer/media/cdm/pepper_cdm_wrapper_impl.h ('k') | content/renderer/media/cdm/render_cdm_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698