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

Unified Diff: net/tools/get_server_time/get_server_time.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: net/tools/get_server_time/get_server_time.cc
diff --git a/net/tools/get_server_time/get_server_time.cc b/net/tools/get_server_time/get_server_time.cc
index a729c2fe22a5b8446fe873a4e7bba60a79bf2088..3fe6129b66c9f855bca4ef186bd8bdb687dd771f 100644
--- a/net/tools/get_server_time/get_server_time.cc
+++ b/net/tools/get_server_time/get_server_time.cc
@@ -274,7 +274,7 @@ int main(int argc, char* argv[]) {
fetcher->Start();
std::printf(
- "Request started at %s (ticks = %"PRId64")\n",
+ "Request started at %s (ticks = %" PRId64 ")\n",
UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime(start_time)).c_str(),
start_ticks.ToInternalValue());
@@ -285,7 +285,7 @@ int main(int argc, char* argv[]) {
const base::TimeTicks end_ticks = base::TimeTicks::Now();
std::printf(
- "Request ended at %s (ticks = %"PRId64")\n",
+ "Request ended at %s (ticks = %" PRId64 ")\n",
UTF16ToUTF8(base::TimeFormatFriendlyDateAndTime(end_time)).c_str(),
end_ticks.ToInternalValue());
@@ -294,7 +294,7 @@ int main(int argc, char* argv[]) {
const base::TimeDelta delta_ticks = end_ticks - start_ticks;
std::printf(
- "Request took %"PRId64" ticks (%.2f ms)\n",
+ "Request took %" PRId64 " ticks (%.2f ms)\n",
delta_ticks_internal, delta_ticks.InMillisecondsF());
const net::URLRequestStatus status = fetcher->GetStatus();
« no previous file with comments | « net/test/embedded_test_server/http_response.cc ('k') | ppapi/native_client/src/trusted/plugin/file_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698