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

Unified Diff: ppapi/native_client/src/trusted/plugin/service_runtime.cc

Issue 20182002: Make inttypes.h and similar macro usage C++11-friendly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: line Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/trusted/plugin/service_runtime.cc
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
index f908f8bdbf3c23edef1b07136169af56c9dbd523..2b43b2e6e847db484104f30ea5cb2b52b0b7e1a8 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
@@ -537,8 +537,8 @@ void PluginReverseInterface::QuotaRequest_MainThreadResponse(
int32_t err) {
NaClLog(4,
"PluginReverseInterface::QuotaRequest_MainThreadResponse:"
- " (resource=%"NACL_PRIx32", offset=%"NACL_PRId64", requested=%"
- NACL_PRId64", err=%"NACL_PRId32")\n",
+ " (resource=%" NACL_PRIx32 ", offset=%" NACL_PRId64 ", requested=%"
+ NACL_PRId64 ", err=%" NACL_PRId32 ")\n",
request->data.resource,
request->offset, request->bytes_requested, err);
nacl::MutexLocker take(&mu_);
@@ -556,8 +556,8 @@ int64_t PluginReverseInterface::RequestQuotaForWrite(
nacl::string file_id, int64_t offset, int64_t bytes_to_write) {
NaClLog(4,
"PluginReverseInterface::RequestQuotaForWrite:"
- " (file_id='%s', offset=%"NACL_PRId64", bytes_to_write=%"
- NACL_PRId64")\n", file_id.c_str(), offset, bytes_to_write);
+ " (file_id='%s', offset=%" NACL_PRId64 ", bytes_to_write=%"
+ NACL_PRId64 ")\n", file_id.c_str(), offset, bytes_to_write);
QuotaData quota_data;
{
nacl::MutexLocker take(&mu_);
@@ -605,7 +605,7 @@ void PluginReverseInterface::AddQuotaManagedFile(const nacl::string& file_id,
PP_Resource resource = file_io.pp_resource();
NaClLog(4,
"PluginReverseInterface::AddQuotaManagedFile: "
- "(file_id='%s', file_io_ref=%"NACL_PRIx32")\n",
+ "(file_id='%s', file_io_ref=%" NACL_PRIx32 ")\n",
file_id.c_str(), resource);
nacl::MutexLocker take(&mu_);
uint64_t file_key = STRTOULL(file_id.c_str(), NULL, 10);
@@ -670,7 +670,7 @@ bool ServiceRuntime::InitCommunication(nacl::DescWrapper* nacl_desc,
}
// Get connection capability to service runtime where the IMC
// server/SRPC client is waiting for a rendezvous.
- NaClLog(4, "ServiceRuntime: got 0x%"NACL_PRIxPTR"\n",
+ NaClLog(4, "ServiceRuntime: got 0x%" NACL_PRIxPTR "\n",
(uintptr_t) out_conn_cap);
nacl::DescWrapper* conn_cap = plugin_->wrapper_factory()->MakeGenericCleanup(
out_conn_cap);
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/scriptable_plugin.cc ('k') | ppapi/native_client/src/trusted/plugin/temporary_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698