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

Unified Diff: chrome/browser/media_galleries/fileapi/safe_audio_video_checker.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/safe_audio_video_checker.cc
diff --git a/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc b/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc
index 3eb5b6e95c2d30d217e008efb062c100289ad66b..cf33f399c8232600ad7517d77352f99950072353 100644
--- a/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc
+++ b/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/media_galleries/fileapi/safe_audio_video_checker.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/callback.h"
#include "base/location.h"
@@ -14,9 +16,9 @@
#include "chrome/common/chrome_utility_messages.h"
#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
#include "chrome/grit/generated_resources.h"
+#include "content/public/browser/browser_thread.h"
#include "content/public/browser/child_process_data.h"
#include "content/public/browser/utility_process_host.h"
-#include "content/public/browser/browser_thread.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
#include "ui/base/l10n/l10n_util.h"
@@ -64,7 +66,7 @@ void SafeAudioVideoChecker::OnProcessStarted() {
OnCheckingFinished(false /* valid? */);
return;
}
- const int64 kFileDecodeTimeInMS = 250;
+ const int64_t kFileDecodeTimeInMS = 250;
utility_process_host_->Send(new ChromeUtilityMsg_CheckMediaFile(
kFileDecodeTimeInMS, file_for_transit));
}

Powered by Google App Engine
This is Rietveld 408576698