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

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

Issue 2409423002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Fix and format 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 #if defined(ENABLE_PEPPER_CDMS) 5 #include "ppapi/features/features.h"
6
7 #if BUILDFLAG(ENABLE_PEPPER_CDMS)
6 #include "content/renderer/media/cdm/pepper_cdm_wrapper_impl.h" 8 #include "content/renderer/media/cdm/pepper_cdm_wrapper_impl.h"
7 9
8 #include <utility> 10 #include <utility>
9 11
10 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" 12 #include "content/renderer/pepper/pepper_plugin_instance_impl.h"
11 #include "content/renderer/pepper/pepper_webplugin_impl.h" 13 #include "content/renderer/pepper/pepper_webplugin_impl.h"
12 #include "third_party/WebKit/public/platform/URLConversion.h" 14 #include "third_party/WebKit/public/platform/URLConversion.h"
13 #include "third_party/WebKit/public/platform/WebString.h" 15 #include "third_party/WebKit/public/platform/WebString.h"
14 #include "third_party/WebKit/public/web/WebDocument.h" 16 #include "third_party/WebKit/public/web/WebDocument.h"
15 #include "third_party/WebKit/public/web/WebElement.h" 17 #include "third_party/WebKit/public/web/WebElement.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 plugin_instance_ = NULL; 89 plugin_instance_ = NULL;
88 helper_plugin_.reset(); 90 helper_plugin_.reset();
89 } 91 }
90 92
91 ContentDecryptorDelegate* PepperCdmWrapperImpl::GetCdmDelegate() { 93 ContentDecryptorDelegate* PepperCdmWrapperImpl::GetCdmDelegate() {
92 return plugin_instance_->GetContentDecryptorDelegate(); 94 return plugin_instance_->GetContentDecryptorDelegate();
93 } 95 }
94 96
95 } // namespace content 97 } // namespace content
96 98
97 #endif // defined(ENABLE_PEPPER_CDMS) 99 #endif // BUILDFLAG(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