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

Unified Diff: chrome/common/media_galleries/pmp_constants.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/media_galleries/picasa_types.cc ('k') | chrome/common/media_galleries/pmp_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/media_galleries/pmp_constants.h
diff --git a/chrome/common/media_galleries/pmp_constants.h b/chrome/common/media_galleries/pmp_constants.h
index 385af9c8c240a66bb383c19b93a647b47185c0aa..89007bdabad4bde79ff4f0b7ab8f31157311bb7d 100644
--- a/chrome/common/media_galleries/pmp_constants.h
+++ b/chrome/common/media_galleries/pmp_constants.h
@@ -5,9 +5,10 @@
#ifndef CHROME_COMMON_MEDIA_GALLERIES_PMP_CONSTANTS_H_
#define CHROME_COMMON_MEDIA_GALLERIES_PMP_CONSTANTS_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/time/time.h"
namespace picasa {
@@ -22,17 +23,17 @@ const base::Time::Exploded kPmpVariantTimeEpoch = {
0, 0, 0, 0 // 00:00:00.000
};
-const int64 kPmpHeaderSize = 20;
+const int64_t kPmpHeaderSize = 20;
const int kPmpMagic1Offset = 0;
const int kPmpMagic2Offset = 6;
const int kPmpMagic3Offset = 8;
const int kPmpMagic4Offset = 14;
-const uint32 kPmpMagic1 = 0x3fcccccd;
-const uint16 kPmpMagic2 = 0x1332;
-const uint32 kPmpMagic3 = 0x00000002;
-const uint16 kPmpMagic4 = 0x1332;
+const uint32_t kPmpMagic1 = 0x3fcccccd;
+const uint16_t kPmpMagic2 = 0x1332;
+const uint32_t kPmpMagic3 = 0x00000002;
+const uint16_t kPmpMagic4 = 0x1332;
const int kPmpFieldType1Offset = 4;
const int kPmpFieldType2Offset = 12;
« no previous file with comments | « chrome/common/media_galleries/picasa_types.cc ('k') | chrome/common/media_galleries/pmp_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698