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

Unified Diff: chrome/browser/chromeos/printer_detector/printer_detector_unittest.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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
Index: chrome/browser/chromeos/printer_detector/printer_detector_unittest.cc
diff --git a/chrome/browser/chromeos/printer_detector/printer_detector_unittest.cc b/chrome/browser/chromeos/printer_detector/printer_detector_unittest.cc
index f1ba6c662f305dc414e364af5b47171ca8c3090c..42c76cbdb4e61f83fb8a8c9ac67d56cc30a363c0 100644
--- a/chrome/browser/chromeos/printer_detector/printer_detector_unittest.cc
+++ b/chrome/browser/chromeos/printer_detector/printer_detector_unittest.cc
@@ -4,8 +4,11 @@
#include "chrome/browser/chromeos/printer_detector/printer_detector.h"
+#include <stdint.h>
+
#include <utility>
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
@@ -37,7 +40,7 @@ namespace chromeos {
namespace {
-const uint8 kPrinterInterfaceClass = 7;
+const uint8_t kPrinterInterfaceClass = 7;
const char kTestUserId[] = "test_user";
@@ -115,9 +118,9 @@ class PrinterDetectorAppSearchEnabledTest : public testing::Test {
->SetNotificationUIManagerForTesting(&notification_ui_manager_);
}
- void InvokeUsbAdded(uint16 vendor_id,
- uint16 product_id,
- uint8 interface_class) {
+ void InvokeUsbAdded(uint16_t vendor_id,
+ uint16_t product_id,
+ uint8_t interface_class) {
device::UsbInterfaceDescriptor interface;
interface.interface_number = 1;
interface.interface_class = interface_class;

Powered by Google App Engine
This is Rietveld 408576698