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

Side by Side Diff: ppapi/shared_impl/audio_config_impl.cc

Issue 8824015: Revert 113290 - Rename the shared_impl resource files to give them more regular names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/shared_impl/audio_config_impl.h ('k') | ppapi/shared_impl/audio_impl.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "ppapi/shared_impl/audio_config_impl.h" 5 #include "ppapi/shared_impl/audio_config_impl.h"
6 6
7 namespace ppapi { 7 namespace ppapi {
8 8
9 AudioConfigImpl::AudioConfigImpl(PP_Instance instance) 9 AudioConfigImpl::AudioConfigImpl(PP_Instance instance)
10 : Resource(instance), 10 : Resource(instance),
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 if (sample_frame_count > PP_AUDIOMAXSAMPLEFRAMECOUNT || 67 if (sample_frame_count > PP_AUDIOMAXSAMPLEFRAMECOUNT ||
68 sample_frame_count < PP_AUDIOMINSAMPLEFRAMECOUNT) 68 sample_frame_count < PP_AUDIOMINSAMPLEFRAMECOUNT)
69 return false; 69 return false;
70 70
71 sample_rate_ = sample_rate; 71 sample_rate_ = sample_rate;
72 sample_frame_count_ = sample_frame_count; 72 sample_frame_count_ = sample_frame_count;
73 return true; 73 return true;
74 } 74 }
75 75
76 } // namespace ppapi 76 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/audio_config_impl.h ('k') | ppapi/shared_impl/audio_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698