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

Unified Diff: cloud_print/gcp20/prototype/dns_packet_parser.h

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/dns_packet_parser.h
diff --git a/cloud_print/gcp20/prototype/dns_packet_parser.h b/cloud_print/gcp20/prototype/dns_packet_parser.h
index 88c6a03b84ff759819ae973ae7b7a92b2546b3b1..38305c2a960dd1e3ae1dc2333a6ddf5cb366cea2 100644
--- a/cloud_print/gcp20/prototype/dns_packet_parser.h
+++ b/cloud_print/gcp20/prototype/dns_packet_parser.h
@@ -5,8 +5,12 @@
#ifndef CLOUD_PRINT_GCP20_PROTOTYPE_DNS_PACKET_PARSER_H_
#define CLOUD_PRINT_GCP20_PROTOTYPE_DNS_PACKET_PARSER_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
+#include "base/macros.h"
#include "net/dns/dns_protocol.h"
#include "net/dns/dns_response.h"
@@ -16,8 +20,8 @@ struct DnsQueryRecord {
~DnsQueryRecord() {}
std::string qname; // in dotted form
- uint16 qtype;
- uint16 qclass;
+ uint16_t qtype;
+ uint16_t qclass;
};
// Iterator to walk over records of the DNS response packet. Encapsulates
« no previous file with comments | « cloud_print/gcp20/prototype/command_line_reader.cc ('k') | cloud_print/gcp20/prototype/dns_packet_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698