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

Unified Diff: ash/display/display_layout.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize 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 | « ash/display/display_info.cc ('k') | ash/display/display_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_layout.h
diff --git a/ash/display/display_layout.h b/ash/display/display_layout.h
index e5623f4966a58ac4a7c68474a68b6e6beb933920..23e5779f589bda5a8a787b53cda55c928a69f6c3 100644
--- a/ash/display/display_layout.h
+++ b/ash/display/display_layout.h
@@ -5,11 +5,12 @@
#ifndef ASH_DISPLAY_DISPLAY_LAYOUT_H_
#define ASH_DISPLAY_DISPLAY_LAYOUT_H_
+#include <stdint.h>
+
#include <map>
#include <string>
#include "ash/ash_export.h"
-#include "base/basictypes.h"
#include "base/compiler_specific.h"
namespace base {
@@ -19,7 +20,7 @@ template <typename T> class JSONValueConverter;
namespace ash {
-typedef std::pair<int64, int64> DisplayIdPair;
+typedef std::pair<int64_t, int64_t> DisplayIdPair;
struct ASH_EXPORT DisplayLayout {
// Layout options where the secondary display should be positioned.
@@ -63,7 +64,7 @@ struct ASH_EXPORT DisplayLayout {
bool default_unified;
// The id of the display used as a primary display.
- int64 primary_id;
+ int64_t primary_id;
// Returns string representation of the layout for debugging/testing.
// This includes "unified" only if the unified desktop feature is enabled.
« no previous file with comments | « ash/display/display_info.cc ('k') | ash/display/display_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698