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

Unified Diff: components/sessions/core/session_command.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 | « components/sessions/core/session_backend_unittest.cc ('k') | components/sessions/core/session_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/core/session_command.h
diff --git a/components/sessions/core/session_command.h b/components/sessions/core/session_command.h
index 5ba7b42d2301a6f685e8a52b134b677c561c64b5..54d19e4beacfd6b37604f8d08bb309d739bba819 100644
--- a/components/sessions/core/session_command.h
+++ b/components/sessions/core/session_command.h
@@ -5,9 +5,12 @@
#ifndef COMPONENTS_SESSIONS_CORE_SESSION_COMMAND_H_
#define COMPONENTS_SESSIONS_CORE_SESSION_COMMAND_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "components/sessions/core/sessions_export.h"
namespace base {
@@ -30,10 +33,10 @@ class SESSIONS_EXPORT SessionCommand {
public:
// These get written to disk, so we define types for them.
// Type for the identifier.
- typedef uint8 id_type;
+ typedef uint8_t id_type;
// Type for writing the size.
- typedef uint16 size_type;
+ typedef uint16_t size_type;
// Creates a session command with the specified id. This allocates a buffer
// of size |size| that must be filled via contents().
« no previous file with comments | « components/sessions/core/session_backend_unittest.cc ('k') | components/sessions/core/session_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698