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

Side by Side Diff: content/renderer/pepper/ppb_audio_impl.h

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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) 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 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_AUDIO_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_AUDIO_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_AUDIO_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PPB_AUDIO_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
11 #include "base/sync_socket.h" 11 #include "base/sync_socket.h"
12 #include "content/renderer/pepper/audio_helper.h"
13 #include "content/renderer/pepper/plugin_delegate.h"
12 #include "ppapi/c/pp_completion_callback.h" 14 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/ppb_audio.h" 15 #include "ppapi/c/ppb_audio.h"
14 #include "ppapi/c/ppb_audio_config.h" 16 #include "ppapi/c/ppb_audio_config.h"
15 #include "ppapi/shared_impl/ppb_audio_config_shared.h" 17 #include "ppapi/shared_impl/ppb_audio_config_shared.h"
16 #include "ppapi/shared_impl/ppb_audio_shared.h" 18 #include "ppapi/shared_impl/ppb_audio_shared.h"
17 #include "ppapi/shared_impl/resource.h" 19 #include "ppapi/shared_impl/resource.h"
18 #include "ppapi/shared_impl/scoped_pp_resource.h" 20 #include "ppapi/shared_impl/scoped_pp_resource.h"
19 #include "webkit/plugins/ppapi/audio_helper.h"
20 #include "webkit/plugins/ppapi/plugin_delegate.h"
21 21
22 namespace webkit { 22 namespace webkit {
23 namespace ppapi { 23 namespace ppapi {
24 24
25 // Some of the backend functionality of this class is implemented by the 25 // Some of the backend functionality of this class is implemented by the
26 // PPB_Audio_Shared so it can be shared with the proxy. 26 // PPB_Audio_Shared so it can be shared with the proxy.
27 class PPB_Audio_Impl : public ::ppapi::Resource, 27 class PPB_Audio_Impl : public ::ppapi::Resource,
28 public ::ppapi::PPB_Audio_Shared, 28 public ::ppapi::PPB_Audio_Shared,
29 public AudioHelper { 29 public AudioHelper {
30 public: 30 public:
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Track frame count for passing on to PPB_Audio_Shared::SetStreamInfo(). 77 // Track frame count for passing on to PPB_Audio_Shared::SetStreamInfo().
78 int sample_frame_count_; 78 int sample_frame_count_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Impl); 80 DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Impl);
81 }; 81 };
82 82
83 } // namespace ppapi 83 } // namespace ppapi
84 } // namespace webkit 84 } // namespace webkit
85 85
86 #endif // WEBKIT_PLUGINS_PPAPI_PPB_AUDIO_IMPL_H_ 86 #endif // CONTENT_RENDERER_PEPPER_PPB_AUDIO_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698