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

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

Issue 384793003: PPAPI: Remove content/renderer/pepper/common.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | 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" 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"
9 #include "ppapi/c/pp_completion_callback.h" 8 #include "ppapi/c/pp_completion_callback.h"
10 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
11 10
12 using ppapi::TrackedCallback; 11 using ppapi::TrackedCallback;
13 12
14 namespace content { 13 namespace content {
15 14
16 // AudioHelper ----------------------------------------------------------------- 15 // AudioHelper -----------------------------------------------------------------
17 16
18 AudioHelper::AudioHelper() : shared_memory_size_for_create_callback_(0) {} 17 AudioHelper::AudioHelper() : shared_memory_size_for_create_callback_(0) {}
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 74 }
76 } 75 }
77 76
78 void AudioHelper::SetCreateCallback( 77 void AudioHelper::SetCreateCallback(
79 scoped_refptr<ppapi::TrackedCallback> create_callback) { 78 scoped_refptr<ppapi::TrackedCallback> create_callback) {
80 DCHECK(!TrackedCallback::IsPending(create_callback_)); 79 DCHECK(!TrackedCallback::IsPending(create_callback_));
81 create_callback_ = create_callback; 80 create_callback_ = create_callback;
82 } 81 }
83 82
84 } // namespace content 83 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/renderer/pepper/common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698