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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
index 43feb0e7afdf829ae66120fae4925d9375559373..e648c2eb36901bc0855d203b675d7e443538fcbd 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
@@ -276,8 +276,8 @@ void DataReductionProxyIOData::SetLoFiModeOff() {
}
void DataReductionProxyIOData::UpdateContentLengths(
- int64 data_used,
- int64 original_size,
+ int64_t data_used,
+ int64_t original_size,
bool data_reduction_proxy_enabled,
DataReductionProxyRequestType request_type,
const std::string& data_usage_host,
@@ -326,7 +326,7 @@ void DataReductionProxyIOData::AddEventAndSecureProxyCheckState(
void DataReductionProxyIOData::AddAndSetLastBypassEvent(
scoped_ptr<base::Value> event,
- int64 expiration_ticks) {
+ int64_t expiration_ticks) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
ui_task_runner_->PostTask(
FROM_HERE,
@@ -343,7 +343,7 @@ void DataReductionProxyIOData::SetUnreachable(bool unreachable) {
}
void DataReductionProxyIOData::SetInt64Pref(const std::string& pref_path,
- int64 value) {
+ int64_t value) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
ui_task_runner_->PostTask(
FROM_HERE, base::Bind(&DataReductionProxyService::SetInt64Pref, service_,

Powered by Google App Engine
This is Rietveld 408576698