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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 211473005: Remove unused createContentDecryptionModule() code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/renderer_webkitplatformsupport_impl.h" 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 bool RendererWebKitPlatformSupportImpl::loadAudioResource( 792 bool RendererWebKitPlatformSupportImpl::loadAudioResource(
793 blink::WebAudioBus* destination_bus, const char* audio_file_data, 793 blink::WebAudioBus* destination_bus, const char* audio_file_data,
794 size_t data_size) { 794 size_t data_size) {
795 return DecodeAudioFileData( 795 return DecodeAudioFileData(
796 destination_bus, audio_file_data, data_size); 796 destination_bus, audio_file_data, data_size);
797 } 797 }
798 #endif // defined(OS_ANDROID) 798 #endif // defined(OS_ANDROID)
799 799
800 //------------------------------------------------------------------------------ 800 //------------------------------------------------------------------------------
801 801
802 blink::WebContentDecryptionModule*
803 RendererWebKitPlatformSupportImpl::createContentDecryptionModule(
804 const blink::WebString& key_system) {
805 return WebContentDecryptionModuleImpl::Create(key_system);
806 }
807
808 //------------------------------------------------------------------------------
809
810 blink::WebMIDIAccessor* 802 blink::WebMIDIAccessor*
811 RendererWebKitPlatformSupportImpl::createMIDIAccessor( 803 RendererWebKitPlatformSupportImpl::createMIDIAccessor(
812 blink::WebMIDIAccessorClient* client) { 804 blink::WebMIDIAccessorClient* client) {
813 blink::WebMIDIAccessor* accessor = 805 blink::WebMIDIAccessor* accessor =
814 GetContentClient()->renderer()->OverrideCreateMIDIAccessor(client); 806 GetContentClient()->renderer()->OverrideCreateMIDIAccessor(client);
815 if (accessor) 807 if (accessor)
816 return accessor; 808 return accessor;
817 809
818 return new RendererWebMIDIAccessorImpl(client); 810 return new RendererWebMIDIAccessorImpl(client);
819 } 811 }
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 return; 1185 return;
1194 QuotaDispatcher::ThreadSpecificInstance( 1186 QuotaDispatcher::ThreadSpecificInstance(
1195 thread_safe_sender_.get(), 1187 thread_safe_sender_.get(),
1196 quota_message_filter_.get())->QueryStorageUsageAndQuota( 1188 quota_message_filter_.get())->QueryStorageUsageAndQuota(
1197 storage_partition, 1189 storage_partition,
1198 static_cast<quota::StorageType>(type), 1190 static_cast<quota::StorageType>(type),
1199 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); 1191 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks));
1200 } 1192 }
1201 1193
1202 } // namespace content 1194 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698