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

Unified Diff: chrome/renderer/extensions/extension_localization_peer.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
Index: chrome/renderer/extensions/extension_localization_peer.cc
diff --git a/chrome/renderer/extensions/extension_localization_peer.cc b/chrome/renderer/extensions/extension_localization_peer.cc
index e9ee286991a6bce7f74b7106a8dbd97ebd53a498..68750c210421853bf82b772f029c997fba6c5b59 100644
--- a/chrome/renderer/extensions/extension_localization_peer.cc
+++ b/chrome/renderer/extensions/extension_localization_peer.cc
@@ -4,6 +4,7 @@
#include "chrome/renderer/extensions/extension_localization_peer.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_util.h"
#include "chrome/common/url_constants.h"
@@ -61,8 +62,8 @@ ExtensionLocalizationPeer::CreateExtensionLocalizationPeer(
: NULL;
}
-void ExtensionLocalizationPeer::OnUploadProgress(
- uint64 position, uint64 size) {
+void ExtensionLocalizationPeer::OnUploadProgress(uint64_t position,
+ uint64_t size) {
NOTREACHED();
}
@@ -88,7 +89,7 @@ void ExtensionLocalizationPeer::OnCompletedRequest(
bool stale_copy_in_cache,
const std::string& security_info,
const base::TimeTicks& completion_time,
- int64 total_transfer_size) {
+ int64_t total_transfer_size) {
// Make sure we delete ourselves at the end of this call.
scoped_ptr<ExtensionLocalizationPeer> this_deleter(this);
// Give sub-classes a chance at altering the data.
@@ -117,7 +118,7 @@ void ExtensionLocalizationPeer::OnReceivedCompletedResponse(
bool stale_copy_in_cache,
const std::string& security_info,
const base::TimeTicks& completion_time,
- int64 total_transfer_size) {
+ int64_t total_transfer_size) {
// Make sure we delete ourselves at the end of this call.
scoped_ptr<ExtensionLocalizationPeer> this_deleter(this);
original_peer_->OnReceivedCompletedResponse(

Powered by Google App Engine
This is Rietveld 408576698