OLD | NEW |
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/pepper/audio_helper.h" | 5 #include "content/renderer/pepper/audio_helper.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/renderer/pepper/common.h" | 8 #include "content/renderer/pepper/common.h" |
9 #include "ppapi/c/pp_completion_callback.h" | 9 #include "ppapi/c/pp_completion_callback.h" |
10 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 OnSetStreamInfo(shared_memory_handle, shared_memory_size, socket_handle); | 77 OnSetStreamInfo(shared_memory_handle, shared_memory_size, socket_handle); |
78 } | 78 } |
79 } | 79 } |
80 | 80 |
81 void AudioHelper::SetCreateCallback( | 81 void AudioHelper::SetCreateCallback( |
82 scoped_refptr<ppapi::TrackedCallback> create_callback) { | 82 scoped_refptr<ppapi::TrackedCallback> create_callback) { |
83 DCHECK(!TrackedCallback::IsPending(create_callback_)); | 83 DCHECK(!TrackedCallback::IsPending(create_callback_)); |
84 create_callback_ = create_callback; | 84 create_callback_ = create_callback; |
85 } | 85 } |
86 | 86 |
87 } // namespace content | 87 } // namespace content |
OLD | NEW |