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

Unified Diff: cloud_print/gcp20/prototype/cloud_print_response_parser.cc

Issue 1540213002: Switch to standard integer types in cloud_print/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: cloud_print/gcp20/prototype/cloud_print_response_parser.cc
diff --git a/cloud_print/gcp20/prototype/cloud_print_response_parser.cc b/cloud_print/gcp20/prototype/cloud_print_response_parser.cc
index c43ed39c22a5b919c04d672028e74650d5ae161d..acd8599fbaed4316bf8a560e27916deeb8a0f0ca 100644
--- a/cloud_print/gcp20/prototype/cloud_print_response_parser.cc
+++ b/cloud_print/gcp20/prototype/cloud_print_response_parser.cc
@@ -4,6 +4,9 @@
#include "cloud_print/gcp20/prototype/cloud_print_response_parser.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/logging.h"
@@ -196,7 +199,7 @@ bool ParseFetchResponse(const std::string& response,
*error_description = "Cannot parse job info.";
return false;
}
- int64 create_time_ms = 0;
+ int64_t create_time_ms = 0;
if (!base::StringToInt64(create_time_str, &create_time_ms)) {
*error_description = "Cannot convert time.";
return false;

Powered by Google App Engine
This is Rietveld 408576698