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

Unified Diff: chrome/common/instant_types.h

Issue 1548153002: Switch to standard integer types in chrome/. (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
« no previous file with comments | « chrome/common/ini_parser_unittest.cc ('k') | chrome/common/instant_types_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/instant_types.h
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h
index fe66a4eff98c014f2803e7635079ac7b5e6d24ac..065837469b6068367e8ea294be011f15e7d6ca77 100644
--- a/chrome/common/instant_types.h
+++ b/chrome/common/instant_types.h
@@ -5,10 +5,11 @@
#ifndef CHROME_COMMON_INSTANT_TYPES_H_
#define CHROME_COMMON_INSTANT_TYPES_H_
+#include <stdint.h>
+
#include <string>
#include <utility>
-#include "base/basictypes.h"
#include "base/strings/string16.h"
#include "url/gurl.h"
@@ -61,10 +62,10 @@ struct RGBAColor {
// The color in RGBA format where the R, G, B and A values
// are between 0 and 255 inclusive and always valid.
- uint8 r;
- uint8 g;
- uint8 b;
- uint8 a;
+ uint8_t r;
+ uint8_t g;
+ uint8_t b;
+ uint8_t a;
};
// Theme background settings for the NTP.
@@ -112,7 +113,7 @@ struct ThemeBackgroundInfo {
// The theme background image height.
// Value is only valid if |theme_id| is valid.
- uint16 image_height;
+ uint16_t image_height;
// True if theme has attribution logo.
// Value is only valid if |theme_id| is valid.
« no previous file with comments | « chrome/common/ini_parser_unittest.cc ('k') | chrome/common/instant_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698