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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.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_service.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
index 52603a5902f8b5ae83e7e07976d29712e20f7499..768c1af4c86ae67e1d7feb7ab182e3cc944982e5 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
@@ -97,8 +97,8 @@ void DataReductionProxyService::EnableCompressionStatisticsLogging(
}
void DataReductionProxyService::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,
@@ -131,7 +131,7 @@ void DataReductionProxyService::AddEventAndSecureProxyCheckState(
void DataReductionProxyService::AddAndSetLastBypassEvent(
scoped_ptr<base::Value> event,
- int64 expiration_ticks) {
+ int64_t expiration_ticks) {
DCHECK(CalledOnValidThread());
event_store_->AddAndSetLastBypassEvent(event.Pass(), expiration_ticks);
}
@@ -234,7 +234,7 @@ void DataReductionProxyService::RecordLoFiSessionState(LoFiSessionState state) {
}
void DataReductionProxyService::SetInt64Pref(const std::string& pref_path,
- int64 value) {
+ int64_t value) {
if (prefs_)
prefs_->SetInt64(pref_path, value);
}

Powered by Google App Engine
This is Rietveld 408576698