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

Unified Diff: chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 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/media_galleries/fileapi/media_file_validator_browsertest.cc
diff --git a/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc b/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc
index e69589115fd8cc263aeb3604ae05b9e07102c364..45c1de2e6878eb6483905fc1a56256eb10cb0be0 100644
--- a/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc
+++ b/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc
@@ -2,12 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/path_service.h"
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
@@ -36,9 +39,9 @@ const char kValidImage[] = "RIFF0\0\0\0WEBPVP8 $\0\0\0\xB2\x02\0\x9D\x01\x2A"
const char kInvalidMediaFile[] = "Not a media file";
-const int64 kNoFileSize = -1;
+const int64_t kNoFileSize = -1;
-void HandleCheckFileResult(int64 expected_size,
+void HandleCheckFileResult(int64_t expected_size,
const base::Callback<void(bool success)>& callback,
base::File::Error result,
const base::File::Info& file_info) {
@@ -175,7 +178,7 @@ class MediaFileValidatorTest : public InProcessBrowserTest {
// |kNoFileSize| if the file should not exist. |callback| is called
// with success/failure.
void CheckFile(storage::FileSystemURL url,
- int64 expected_size,
+ int64_t expected_size,
const base::Callback<void(bool success)>& callback) {
operation_runner()->GetMetadata(
url, storage::FileSystemOperation::GET_METADATA_FIELD_SIZE,

Powered by Google App Engine
This is Rietveld 408576698