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

Unified Diff: components/search_provider_logos/logo_cache_unittest.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 | « components/search_provider_logos/logo_cache.cc ('k') | components/search_provider_logos/logo_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_provider_logos/logo_cache_unittest.cc
diff --git a/components/search_provider_logos/logo_cache_unittest.cc b/components/search_provider_logos/logo_cache_unittest.cc
index 7ed3447c87bc30bf41b50eb980f4af9144d230be..744d9f1fa9ca169d75a4c3d61470678d3214822a 100644
--- a/components/search_provider_logos/logo_cache_unittest.cc
+++ b/components/search_provider_logos/logo_cache_unittest.cc
@@ -4,6 +4,9 @@
#include "components/search_provider_logos/logo_cache.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include "base/bind.h"
@@ -90,7 +93,7 @@ void ExpectLogosEqual(const EncodedLogo& expected_logo,
// Removes 1 byte from the end of the file at |path|.
void ShortenFile(base::FilePath path) {
base::File file(path, base::File::FLAG_OPEN | base::File::FLAG_WRITE);
- int64 file_length = file.GetLength();
+ int64_t file_length = file.GetLength();
ASSERT_NE(file_length, 0);
file.SetLength(file_length - 1);
}
« no previous file with comments | « components/search_provider_logos/logo_cache.cc ('k') | components/search_provider_logos/logo_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698