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

Side by Side Diff: webkit/glue/plugins/pepper_audio.h

Issue 5292010: Cleanup... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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
« no previous file with comments | « ppapi/c/dev/ppb_audio_trusted_dev.h ('k') | webkit/glue/plugins/pepper_audio.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_DEVICE_CONTEXT_AUDIO_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_DEVICE_CONTEXT_AUDIO_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_DEVICE_CONTEXT_AUDIO_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_DEVICE_CONTEXT_AUDIO_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "base/shared_memory.h" 10 #include "base/shared_memory.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 PP_Resource GetCurrentConfiguration() { 64 PP_Resource GetCurrentConfiguration() {
65 return config_->GetReference(); 65 return config_->GetReference();
66 } 66 }
67 67
68 PP_Instance pp_instance() { 68 PP_Instance pp_instance() {
69 return pp_instance_; 69 return pp_instance_;
70 } 70 }
71 71
72 int32_t GetSyncSocket(int* sync_socket); 72 int32_t GetSyncSocket(int* sync_socket);
73 73
74 int32_t GetSharedMemory(int* shm_handle, int32_t* shm_size); 74 int32_t GetSharedMemory(int* shm_handle, uint32_t* shm_size);
75 75
76 bool StartPlayback(); 76 bool StartPlayback();
77 77
78 bool StopPlayback(); 78 bool StopPlayback();
79 79
80 // Resource override. 80 // Resource override.
81 virtual Audio* AsAudio(); 81 virtual Audio* AsAudio();
82 82
83 private: 83 private:
84 // pepper::PluginDelegate::PlatformAudio::Client implementation. 84 // pepper::PluginDelegate::PlatformAudio::Client implementation.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Is a create callback pending to fire? 127 // Is a create callback pending to fire?
128 bool create_callback_pending_; 128 bool create_callback_pending_;
129 129
130 // Trusted callback invoked from StreamCreated. 130 // Trusted callback invoked from StreamCreated.
131 PP_CompletionCallback create_callback_; 131 PP_CompletionCallback create_callback_;
132 }; 132 };
133 133
134 } // namespace pepper 134 } // namespace pepper
135 135
136 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_DEVICE_CONTEXT_AUDIO_H_ 136 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_DEVICE_CONTEXT_AUDIO_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_audio_trusted_dev.h ('k') | webkit/glue/plugins/pepper_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698