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

Side by Side Diff: webkit/plugins/ppapi/audio_helper.h

Issue 19744007: Create a public API around webkit::ppapi::PluginInstance and use it in chrome. After this, webkit/p… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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_AUDIO_HELPER_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_AUDIO_HELPER_H_
6 #define WEBKIT_PLUGINS_PPAPI_AUDIO_HELPER_H_ 6 #define WEBKIT_PLUGINS_PPAPI_AUDIO_HELPER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.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 "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/shared_impl/resource.h" 13 #include "ppapi/shared_impl/resource.h"
14 #include "ppapi/shared_impl/scoped_pp_resource.h" 14 #include "ppapi/shared_impl/scoped_pp_resource.h"
15 #include "ppapi/shared_impl/tracked_callback.h" 15 #include "ppapi/shared_impl/tracked_callback.h"
16 #include "webkit/plugins/ppapi/plugin_delegate.h" 16 #include "webkit/plugins/ppapi/plugin_delegate.h"
17 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 17 #include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h"
18 18
19 namespace webkit { 19 namespace webkit {
20 namespace ppapi { 20 namespace ppapi {
21 21
22 class AudioHelper : public PluginDelegate::PlatformAudioOutputClient { 22 class AudioHelper : public PluginDelegate::PlatformAudioOutputClient {
23 public: 23 public:
24 AudioHelper(); 24 AudioHelper();
25 virtual ~AudioHelper(); 25 virtual ~AudioHelper();
26 26
27 // |PluginDelegate::PlatformAudioOutputClient| implementation. 27 // |PluginDelegate::PlatformAudioOutputClient| implementation.
(...skipping 27 matching lines...) Expand all
55 size_t shared_memory_size_for_create_callback_; 55 size_t shared_memory_size_for_create_callback_;
56 scoped_ptr<base::SyncSocket> socket_for_create_callback_; 56 scoped_ptr<base::SyncSocket> socket_for_create_callback_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(AudioHelper); 58 DISALLOW_COPY_AND_ASSIGN(AudioHelper);
59 }; 59 };
60 60
61 } // namespace ppapi 61 } // namespace ppapi
62 } // namespace webkit 62 } // namespace webkit
63 63
64 #endif // WEBKIT_PLUGINS_PPAPI_AUDIO_HELPER_H_ 64 #endif // WEBKIT_PLUGINS_PPAPI_AUDIO_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698