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

Unified Diff: chrome/utility/extensions/extensions_handler.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/extensions/extensions_handler.h ('k') | chrome/utility/font_cache_handler_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/extensions/extensions_handler.cc
diff --git a/chrome/utility/extensions/extensions_handler.cc b/chrome/utility/extensions/extensions_handler.cc
index b84b25b44ec2503994ea361e01b4f4248b30ff15..4702bf87015ed95d68ac36302247d33b1a6f6f16 100644
--- a/chrome/utility/extensions/extensions_handler.cc
+++ b/chrome/utility/extensions/extensions_handler.cc
@@ -6,6 +6,7 @@
#include "base/command_line.h"
#include "base/path_service.h"
+#include "build/build_config.h"
#include "chrome/common/chrome_utility_messages.h"
#include "chrome/common/extensions/chrome_extensions_client.h"
#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
@@ -121,7 +122,7 @@ bool ExtensionsHandler::OnMessageReceived(const IPC::Message& message) {
}
void ExtensionsHandler::OnCheckMediaFile(
- int64 milliseconds_of_decoding,
+ int64_t milliseconds_of_decoding,
const IPC::PlatformFileForTransit& media_file) {
#if !defined(MEDIA_DISABLE_FFMPEG)
media::MediaFileChecker checker(
@@ -135,8 +136,9 @@ void ExtensionsHandler::OnCheckMediaFile(
ReleaseProcessIfNeeded();
}
-void ExtensionsHandler::OnParseMediaMetadata(
- const std::string& mime_type, int64 total_size, bool get_attached_images) {
+void ExtensionsHandler::OnParseMediaMetadata(const std::string& mime_type,
+ int64_t total_size,
+ bool get_attached_images) {
// Only one IPCDataSource may be created and added to the list of handlers.
scoped_ptr<metadata::IPCDataSource> source(
new metadata::IPCDataSource(total_size));
« no previous file with comments | « chrome/utility/extensions/extensions_handler.h ('k') | chrome/utility/font_cache_handler_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698