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

Side by Side Diff: content/renderer/pepper/audio_helper.cc

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun 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
« no previous file with comments | « content/renderer/pepper/audio_helper.h ('k') | content/renderer/pepper/common.h » ('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) 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"
6
7 #include "content/renderer/pepper/common.h"
8 #include "content/renderer/pepper/resource_helper.h"
5 #include "ppapi/c/pp_completion_callback.h" 9 #include "ppapi/c/pp_completion_callback.h"
6 #include "webkit/plugins/ppapi/audio_helper.h"
7 #include "webkit/plugins/ppapi/common.h"
8 #include "webkit/plugins/ppapi/resource_helper.h"
9 10
10 using ppapi::TrackedCallback; 11 using ppapi::TrackedCallback;
11 12
12 namespace webkit { 13 namespace webkit {
13 namespace ppapi { 14 namespace ppapi {
14 15
15 // AudioHelper ----------------------------------------------------------------- 16 // AudioHelper -----------------------------------------------------------------
16 17
17 AudioHelper::AudioHelper() : shared_memory_size_for_create_callback_(0) { 18 AudioHelper::AudioHelper() : shared_memory_size_for_create_callback_(0) {
18 } 19 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 79 }
79 80
80 void AudioHelper::SetCreateCallback( 81 void AudioHelper::SetCreateCallback(
81 scoped_refptr< ::ppapi::TrackedCallback> create_callback) { 82 scoped_refptr< ::ppapi::TrackedCallback> create_callback) {
82 DCHECK(!TrackedCallback::IsPending(create_callback_)); 83 DCHECK(!TrackedCallback::IsPending(create_callback_));
83 create_callback_ = create_callback; 84 create_callback_ = create_callback;
84 } 85 }
85 86
86 } // namespace ppapi 87 } // namespace ppapi
87 } // namespace webkit 88 } // namespace webkit
OLDNEW
« no previous file with comments | « content/renderer/pepper/audio_helper.h ('k') | content/renderer/pepper/common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698