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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_file_system.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_file_system.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_file_system.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_file_system.cc
index fb4fa40b55a12f73a5385c3c78a08b3fdfc22d8f..975eeb3364e59553ecef42fbae7bafc3689c5a04 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_file_system.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_file_system.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -17,7 +17,7 @@ namespace ppapi_proxy {
namespace {
PP_Resource Create(PP_Instance instance, PP_FileSystemType type) {
- DebugPrintf("PPB_FileSystem::Create: instance=%"NACL_PRIu32" "
+ DebugPrintf("PPB_FileSystem::Create: instance=%"NACL_PRId32" "
"type=%"NACL_PRIu32"\n",
instance, type);
PP_Resource pp_resource = kInvalidResourceId;
@@ -35,7 +35,7 @@ PP_Resource Create(PP_Instance instance, PP_FileSystemType type) {
}
PP_Bool IsFileSystem(PP_Resource resource) {
- DebugPrintf("PPB_FileSystem::IsFileSystem: resource=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_FileSystem::IsFileSystem: resource=%"NACL_PRId32"\n",
resource);
int32_t is_file_system = 0;
NaClSrpcError srpc_result =
@@ -54,7 +54,7 @@ PP_Bool IsFileSystem(PP_Resource resource) {
int32_t Open(PP_Resource file_system,
int64_t expected_size,
struct PP_CompletionCallback callback) {
- DebugPrintf("PPB_FileSystem::Open: file_system=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_FileSystem::Open: file_system=%"NACL_PRId32"\n",
file_system);
int32_t callback_id = CompletionCallbackTable::Get()->AddCallback(callback);
if (callback_id == 0) // Just like Chrome, for now disallow blocking calls.
@@ -76,7 +76,7 @@ int32_t Open(PP_Resource file_system,
}
PP_FileSystemType GetType(PP_Resource file_system) {
- DebugPrintf("PPB_FileSystem::GetType: file_system=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_FileSystem::GetType: file_system=%"NACL_PRId32"\n",
file_system);
int32_t type = PP_FILESYSTEMTYPE_INVALID;
NaClSrpcError srpc_result =

Powered by Google App Engine
This is Rietveld 408576698