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

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

Issue 7003053: Moves audio files from content\renderer\ to content\renderer\media. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/pepper_plugin_delegate_impl.h" 5 #include "content/renderer/pepper_plugin_delegate_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/string_split.h" 15 #include "base/string_split.h"
16 #include "base/sync_socket.h" 16 #include "base/sync_socket.h"
17 #include "base/task.h" 17 #include "base/task.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "content/common/audio_messages.h" 19 #include "content/common/audio_messages.h"
20 #include "content/common/child_process_messages.h" 20 #include "content/common/child_process_messages.h"
21 #include "content/common/child_thread.h" 21 #include "content/common/child_thread.h"
22 #include "content/common/content_switches.h" 22 #include "content/common/content_switches.h"
23 #include "content/common/file_system/file_system_dispatcher.h" 23 #include "content/common/file_system/file_system_dispatcher.h"
24 #include "content/common/pepper_file_messages.h" 24 #include "content/common/pepper_file_messages.h"
25 #include "content/common/pepper_plugin_registry.h" 25 #include "content/common/pepper_plugin_registry.h"
26 #include "content/common/pepper_messages.h" 26 #include "content/common/pepper_messages.h"
27 #include "content/common/view_messages.h" 27 #include "content/common/view_messages.h"
28 #include "content/renderer/audio_message_filter.h"
29 #include "content/renderer/content_renderer_client.h" 28 #include "content/renderer/content_renderer_client.h"
30 #include "content/renderer/gpu/command_buffer_proxy.h" 29 #include "content/renderer/gpu/command_buffer_proxy.h"
31 #include "content/renderer/gpu/gpu_channel_host.h" 30 #include "content/renderer/gpu/gpu_channel_host.h"
32 #include "content/renderer/gpu/renderer_gl_context.h" 31 #include "content/renderer/gpu/renderer_gl_context.h"
33 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h" 32 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h"
33 #include "content/renderer/media/audio_message_filter.h"
34 #include "content/renderer/p2p/p2p_transport_impl.h" 34 #include "content/renderer/p2p/p2p_transport_impl.h"
35 #include "content/renderer/pepper_platform_context_3d_impl.h" 35 #include "content/renderer/pepper_platform_context_3d_impl.h"
36 #include "content/renderer/pepper_platform_video_decoder_impl.h" 36 #include "content/renderer/pepper_platform_video_decoder_impl.h"
37 #include "content/renderer/render_thread.h" 37 #include "content/renderer/render_thread.h"
38 #include "content/renderer/render_view.h" 38 #include "content/renderer/render_view.h"
39 #include "content/renderer/render_widget_fullscreen_pepper.h" 39 #include "content/renderer/render_widget_fullscreen_pepper.h"
40 #include "content/renderer/webplugin_delegate_proxy.h" 40 #include "content/renderer/webplugin_delegate_proxy.h"
41 #include "ipc/ipc_channel_handle.h" 41 #include "ipc/ipc_channel_handle.h"
42 #include "ppapi/c/dev/pp_video_dev.h" 42 #include "ppapi/c/dev/pp_video_dev.h"
43 #include "ppapi/c/pp_errors.h" 43 #include "ppapi/c/pp_errors.h"
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 if (!base::SharedMemory::IsHandleValid(handle)) { 1327 if (!base::SharedMemory::IsHandleValid(handle)) {
1328 DLOG(WARNING) << "Browser failed to allocate shared memory"; 1328 DLOG(WARNING) << "Browser failed to allocate shared memory";
1329 return NULL; 1329 return NULL;
1330 } 1330 }
1331 return new base::SharedMemory(handle, false); 1331 return new base::SharedMemory(handle, false);
1332 } 1332 }
1333 1333
1334 ppapi::Preferences PepperPluginDelegateImpl::GetPreferences() { 1334 ppapi::Preferences PepperPluginDelegateImpl::GetPreferences() {
1335 return ppapi::Preferences(render_view_->webkit_preferences()); 1335 return ppapi::Preferences(render_view_->webkit_preferences());
1336 } 1336 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698