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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_experiments_stats.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_experiments_stats.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_experiments_stats.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_experiments_stats.h
index 97e6548f9c5a41d1e0543c2a03fc9096f5a34200..ee6fc6832cdffd86ab5bc5e93beb5ac230c864b2 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_experiments_stats.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_experiments_stats.h
@@ -5,9 +5,10 @@
#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_EXPERIMENTS_STATS_H_
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_EXPERIMENTS_STATS_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -23,7 +24,7 @@ namespace data_reduction_proxy {
class DataReductionProxyConfigRetrievalParams;
-typedef base::Callback<void(const std::string&, int64)> Int64ValueSetter;
+typedef base::Callback<void(const std::string&, int64_t)> Int64ValueSetter;
// Collects statistics specific to experiments of which a client may be part.
// Any calls into this class should be as lightweight as possible such that if
@@ -47,8 +48,8 @@ class DataReductionProxyExperimentsStats {
// Collect received bytes for the experiment.
void RecordBytes(const base::Time& request_time,
DataReductionProxyRequestType request_type,
- int64 received_content_length,
- int64 original_content_length);
+ int64_t received_content_length,
+ int64_t original_content_length);
private:
// Updates the simulated expiration of the Data Reduction Proxy configuration

Powered by Google App Engine
This is Rietveld 408576698