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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio_config.cc

Issue 9253011: Pepper SRPC proxy style and type nits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad license to pass presubmit check Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio_config.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio_config.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio_config.cc
index 19ffa05e9c6f0db64206e4753e893bd001eb59cd..efd4cf9d76e20262efddebea8b41c8a26c78e37a 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio_config.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio_config.cc
@@ -1,6 +1,6 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can
-// be found in the LICENSE file.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
#include "native_client/src/shared/ppapi_proxy/plugin_ppb_audio_config.h"
@@ -18,7 +18,7 @@ namespace ppapi_proxy {
namespace {
PP_AudioSampleRate GetSampleRate(PP_Resource config) {
- DebugPrintf("PPB_AudioConfig::GetSampleRate: config=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_AudioConfig::GetSampleRate: config=%"NACL_PRId32"\n",
config);
int32_t sample_rate;
NaClSrpcError srpc_result =
@@ -35,7 +35,7 @@ PP_AudioSampleRate GetSampleRate(PP_Resource config) {
}
uint32_t GetSampleFrameCount(PP_Resource config) {
- DebugPrintf("PPB_AudioConfig::GetSampleFrameCount: config=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_AudioConfig::GetSampleFrameCount: config=%"NACL_PRId32"\n",
config);
int32_t sample_frame_count;
NaClSrpcError srpc_result =
@@ -70,7 +70,7 @@ uint32_t RecommendSampleFrameCount(PP_AudioSampleRate sample_rate,
}
PP_Bool IsAudioConfig(PP_Resource resource) {
- DebugPrintf("PPB_AudioConfig::IsAudioConfig: resource=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_AudioConfig::IsAudioConfig: resource=%"NACL_PRId32"\n",
resource);
int32_t success;
NaClSrpcError srpc_result =
@@ -89,7 +89,7 @@ PP_Bool IsAudioConfig(PP_Resource resource) {
PP_Resource CreateStereo16Bit(PP_Instance instance,
PP_AudioSampleRate sample_rate,
uint32_t sample_frame_count) {
- DebugPrintf("PPB_AudioConfig::CreateStereo16Bit: instance=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_AudioConfig::CreateStereo16Bit: instance=%"NACL_PRId32"\n",
instance);
PP_Resource resource;
NaClSrpcError srpc_result =

Powered by Google App Engine
This is Rietveld 408576698