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

Unified Diff: ui/display/edid_parser.h

Issue 215233002: Update ui/display to use primitive types as defined in stdint.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 9 months 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 | « ui/display/chromeos/x11/native_display_delegate_x11.cc ('k') | ui/display/edid_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/edid_parser.h
diff --git a/ui/display/edid_parser.h b/ui/display/edid_parser.h
index 3b9c978e2e8a78579dfe7a257613d878a4bb53f0..2527abf86d2e9309b81a0bcc3a3f446d67e2339a 100644
--- a/ui/display/edid_parser.h
+++ b/ui/display/edid_parser.h
@@ -5,10 +5,11 @@
#ifndef UI_DISPLAY_EDID_PARSER_H_
#define UI_DISPLAY_EDID_PARSER_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "ui/display/display_export.h"
// EDID (Extended Display Identification Data) is a format for monitor
@@ -19,19 +20,19 @@ namespace ui {
// Generates the display id for the pair of |edid| and |index|, and store in
// |display_id_out|. Returns true if the display id is successfully generated,
// or false otherwise.
-DISPLAY_EXPORT bool GetDisplayIdFromEDID(const std::vector<uint8>& edid,
- uint8 index,
- int64* display_id_out);
+DISPLAY_EXPORT bool GetDisplayIdFromEDID(const std::vector<uint8_t>& edid,
+ uint8_t index,
+ int64_t* display_id_out);
// Parses |edid| as EDID data and stores extracted data into |manufacturer_id|
// and |human_readable_name| and returns true. NULL can be passed for unwanted
// output parameters. Some devices (especially internal displays) may not have
// the field for |human_readable_name|, and it will return true in that case.
-DISPLAY_EXPORT bool ParseOutputDeviceData(const std::vector<uint8>& edid,
- uint16* manufacturer_id,
+DISPLAY_EXPORT bool ParseOutputDeviceData(const std::vector<uint8_t>& edid,
+ uint16_t* manufacturer_id,
std::string* human_readable_name);
-DISPLAY_EXPORT bool ParseOutputOverscanFlag(const std::vector<uint8>& edid,
+DISPLAY_EXPORT bool ParseOutputOverscanFlag(const std::vector<uint8_t>& edid,
bool* flag);
} // namespace ui
« no previous file with comments | « ui/display/chromeos/x11/native_display_delegate_x11.cc ('k') | ui/display/edid_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698