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

Unified Diff: tests/fake_browser_ppapi/fake_file_ref.cc

Issue 6218004: Resource64->32, NaCl side. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: First Created 9 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: tests/fake_browser_ppapi/fake_file_ref.cc
diff --git a/tests/fake_browser_ppapi/fake_file_ref.cc b/tests/fake_browser_ppapi/fake_file_ref.cc
index 501c3a3844b2d7fb0e5a9e3c036334e1e1560a95..5aa544dc6bec429e909f770e8af25517db5f5f51 100644
--- a/tests/fake_browser_ppapi/fake_file_ref.cc
+++ b/tests/fake_browser_ppapi/fake_file_ref.cc
@@ -26,39 +26,39 @@ namespace {
PP_Resource Create(PP_Resource file_system_id,
const char* path) {
- DebugPrintf("FileRef::Create: file_system_id=%"NACL_PRId64" path=%s\n",
+ DebugPrintf("FileRef::Create: file_system_id=%"NACL_PRId32" path=%s\n",
file_system_id, path);
NACL_UNIMPLEMENTED();
return Resource::Invalid()->resource_id();
}
PP_Bool IsFileRef(PP_Resource resource_id) {
- DebugPrintf("FileRef::IsFileRef: resource_id=%"NACL_PRId64"\n", resource_id);
+ DebugPrintf("FileRef::IsFileRef: resource_id=%"NACL_PRId32"\n", resource_id);
NACL_UNIMPLEMENTED();
return PP_FALSE;
}
PP_FileSystemType_Dev GetFileSystemType(PP_Resource file_ref_id) {
- DebugPrintf("FileRef::GetFileSystemType: file_ref_id=%"NACL_PRId64"\n",
+ DebugPrintf("FileRef::GetFileSystemType: file_ref_id=%"NACL_PRId32"\n",
file_ref_id);
NACL_UNIMPLEMENTED();
return PP_FILESYSTEMTYPE_EXTERNAL;
}
PP_Var GetName(PP_Resource file_ref_id) {
- DebugPrintf("FileRef::GetName: file_ref_id=%"NACL_PRId64"\n", file_ref_id);
+ DebugPrintf("FileRef::GetName: file_ref_id=%"NACL_PRId32"\n", file_ref_id);
NACL_UNIMPLEMENTED();
return PP_MakeUndefined();
}
PP_Var GetPath(PP_Resource file_ref_id) {
- DebugPrintf("FileRef::GetPath: file_ref_id=%"NACL_PRId64"\n", file_ref_id);
+ DebugPrintf("FileRef::GetPath: file_ref_id=%"NACL_PRId32"\n", file_ref_id);
NACL_UNIMPLEMENTED();
return PP_MakeUndefined();
}
PP_Resource GetParent(PP_Resource file_ref_id) {
- DebugPrintf("FileRef::GetParent: file_ref_id=%"NACL_PRId64"\n", file_ref_id);
+ DebugPrintf("FileRef::GetParent: file_ref_id=%"NACL_PRId32"\n", file_ref_id);
NACL_UNIMPLEMENTED();
return Resource::Invalid()->resource_id();
}
@@ -66,7 +66,7 @@ PP_Resource GetParent(PP_Resource file_ref_id) {
int32_t MakeDirectory(PP_Resource directory_ref_id,
PP_Bool make_ancestors,
struct PP_CompletionCallback callback) {
- DebugPrintf("FileRef::MakDirectory: directory_ref_id=%"NACL_PRId64"\n",
+ DebugPrintf("FileRef::MakDirectory: directory_ref_id=%"NACL_PRId32"\n",
directory_ref_id);
UNREFERENCED_PARAMETER(make_ancestors);
UNREFERENCED_PARAMETER(callback);
@@ -77,7 +77,7 @@ int32_t MakeDirectory(PP_Resource directory_ref_id,
int32_t Query(PP_Resource file_ref_id,
struct PP_FileInfo_Dev* info,
struct PP_CompletionCallback callback) {
- DebugPrintf("FileRef::Query: file_ref_id=%"NACL_PRId64"\n", file_ref_id);
+ DebugPrintf("FileRef::Query: file_ref_id=%"NACL_PRId32"\n", file_ref_id);
UNREFERENCED_PARAMETER(info);
UNREFERENCED_PARAMETER(callback);
NACL_UNIMPLEMENTED();
@@ -88,7 +88,7 @@ int32_t Touch(PP_Resource file_ref_id,
PP_Time last_access_time,
PP_Time last_modified_time,
struct PP_CompletionCallback callback) {
- DebugPrintf("FileRef::Touch: file_ref_id=%"NACL_PRId64"\n", file_ref_id);
+ DebugPrintf("FileRef::Touch: file_ref_id=%"NACL_PRId32"\n", file_ref_id);
UNREFERENCED_PARAMETER(last_access_time);
UNREFERENCED_PARAMETER(last_modified_time);
UNREFERENCED_PARAMETER(callback);
@@ -98,7 +98,7 @@ int32_t Touch(PP_Resource file_ref_id,
int32_t Delete(PP_Resource file_ref_id,
struct PP_CompletionCallback callback) {
- DebugPrintf("FileRef::Delete: file_ref_id=%"NACL_PRId64"\n", file_ref_id);
+ DebugPrintf("FileRef::Delete: file_ref_id=%"NACL_PRId32"\n", file_ref_id);
UNREFERENCED_PARAMETER(callback);
NACL_UNIMPLEMENTED();
return PP_ERROR_BADRESOURCE;
@@ -107,7 +107,7 @@ int32_t Delete(PP_Resource file_ref_id,
int32_t Rename(PP_Resource file_ref_id,
PP_Resource new_file_ref,
struct PP_CompletionCallback callback) {
- DebugPrintf("FileRef::Rename: file_ref_id=%"NACL_PRId64"\n", file_ref_id);
+ DebugPrintf("FileRef::Rename: file_ref_id=%"NACL_PRId32"\n", file_ref_id);
UNREFERENCED_PARAMETER(new_file_ref);
UNREFERENCED_PARAMETER(callback);
NACL_UNIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698