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

Unified Diff: chrome/utility/image_writer/image_writer_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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
« no previous file with comments | « chrome/utility/image_writer/image_writer_mac.cc ('k') | chrome/utility/image_writer/image_writer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_writer/image_writer_unittest.cc
diff --git a/chrome/utility/image_writer/image_writer_unittest.cc b/chrome/utility/image_writer/image_writer_unittest.cc
index 8757f0d552ce84e563ef27da5686b24b91be72ea..ba6bab51c673cb342d0d579dc71524efc7824463 100644
--- a/chrome/utility/image_writer/image_writer_unittest.cc
+++ b/chrome/utility/image_writer/image_writer_unittest.cc
@@ -2,6 +2,9 @@
// 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.h>
+
#include <string>
#include "base/files/file_util.h"
@@ -22,7 +25,7 @@ using testing::Lt;
namespace {
-const int64 kTestFileSize = 1 << 15; // 32 kB
+const int64_t kTestFileSize = 1 << 15; // 32 kB
const int kTestPattern = 0x55555555;
class ImageWriterUtilityTest : public testing::Test {
@@ -55,7 +58,7 @@ class ImageWriterUtilityTest : public testing::Test {
class MockHandler : public ImageWriterHandler {
public:
- MOCK_METHOD1(SendProgress, void(int64));
+ MOCK_METHOD1(SendProgress, void(int64_t));
MOCK_METHOD1(SendFailed, void(const std::string& message));
MOCK_METHOD0(SendSucceeded, void());
MOCK_METHOD1(OnMessageReceived, bool(const IPC::Message& message));
« no previous file with comments | « chrome/utility/image_writer/image_writer_mac.cc ('k') | chrome/utility/image_writer/image_writer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698