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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_retrieval_params.h

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_config_retrieval_params.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_retrieval_params.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_retrieval_params.h
index 53aa10aba8fc59347e562aa5c9d96d10caf70b2b..5e09b277c8d796d0899e3872970b5f92df960606 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_retrieval_params.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_retrieval_params.h
@@ -5,9 +5,10 @@
#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG_RETRIEVAL_PARAMS_H_
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG_RETRIEVAL_PARAMS_H_
+#include <stdint.h>
+
#include <vector>
-#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
@@ -77,8 +78,8 @@ class DataReductionProxyConfigRetrievalParams {
// Records content length statistics if potentially uncompressed bytes have
// been detected for this variation.
- void RecordStats(int64 received_content_length,
- int64 original_content_length) const;
+ void RecordStats(int64_t received_content_length,
+ int64_t original_content_length) const;
// Visible for testing.
const base::Time& simulated_config_retrieved() const {
@@ -104,8 +105,8 @@ class DataReductionProxyConfigRetrievalParams {
// Records content length statistics against any variations for which
// potentially uncompressed bytes have been detected.
void RecordStats(const base::Time& request_time,
- int64 received_content_length,
- int64 original_content_length) const;
+ int64_t received_content_length,
+ int64_t original_content_length) const;
// Simulates retrieving a new configuration.
void RefreshConfig();

Powered by Google App Engine
This is Rietveld 408576698