Index: chrome/installer/util/logging_installer_unittest.cc |
diff --git a/chrome/installer/util/logging_installer_unittest.cc b/chrome/installer/util/logging_installer_unittest.cc |
index 9c20867482ed7e7dc7b8c68c1a6eab152b35ecc7..13b71f5204e51dd5ea89980680a41a66f89d87f6 100644 |
--- a/chrome/installer/util/logging_installer_unittest.cc |
+++ b/chrome/installer/util/logging_installer_unittest.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <stdint.h> |
+ |
#include <string> |
#include "base/files/file.h" |
@@ -77,9 +79,8 @@ TEST(LoggingInstallerTest, TestInUseNeedsTruncation) { |
EXPECT_EQ(static_cast<int64_t>(test_data.size()), file_size); |
// Prevent the log file from being moved or deleted. |
- uint32 file_flags = base::File::FLAG_OPEN | |
- base::File::FLAG_READ | |
- base::File::FLAG_EXCLUSIVE_READ; |
+ uint32_t file_flags = base::File::FLAG_OPEN | base::File::FLAG_READ | |
+ base::File::FLAG_EXCLUSIVE_READ; |
base::File temp_platform_file(temp_file, file_flags); |
ASSERT_TRUE(temp_platform_file.IsValid()); |
@@ -107,9 +108,8 @@ TEST(LoggingInstallerTest, TestMoveFailsNeedsTruncation) { |
// Create an inconvenient, non-deletable file in the location that |
// TruncateLogFileIfNeeded would like to move the log file to. |
- uint32 file_flags = base::File::FLAG_CREATE | |
- base::File::FLAG_READ | |
- base::File::FLAG_EXCLUSIVE_READ; |
+ uint32_t file_flags = base::File::FLAG_CREATE | base::File::FLAG_READ | |
+ base::File::FLAG_EXCLUSIVE_READ; |
base::FilePath temp_file_move_dest( |
temp_file.value() + FILE_PATH_LITERAL(".tmp")); |
base::File temp_move_destination_file(temp_file_move_dest, file_flags); |