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

Unified Diff: chrome/browser/component_updater/cld_component_installer_unittest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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/component_updater/cld_component_installer_unittest.cc
diff --git a/chrome/browser/component_updater/cld_component_installer_unittest.cc b/chrome/browser/component_updater/cld_component_installer_unittest.cc
index aa19c256d33f23c3ceb0daea83af1270eb68ff90..f83565be3c7584040d4326c6e22a1b23dcb0096d 100644
--- a/chrome/browser/component_updater/cld_component_installer_unittest.cc
+++ b/chrome/browser/component_updater/cld_component_installer_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
#include <stdint.h>
#include <vector>
@@ -86,7 +87,7 @@ TEST_F(CldComponentInstallerTest, VerifyInstallation) {
ASSERT_TRUE(base::CreateDirectory(data_file_dir));
const base::FilePath data_file = data_file_dir.Append(kTestCldDataFileName);
const std::string test_data("fake cld2 data file content here :)");
- ASSERT_EQ(static_cast<int32>(test_data.length()),
+ ASSERT_EQ(static_cast<int32_t>(test_data.length()),
base::WriteFile(data_file, test_data.c_str(), test_data.length()));
ASSERT_TRUE(traits_.VerifyInstallation(manifest, temp_dir_.path()));
}

Powered by Google App Engine
This is Rietveld 408576698