diff options
author | avi <avi@chromium.org> | 2015-12-25 17:09:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-26 01:10:32 +0000 |
commit | 6846aeff59836d8064ad90a934c60829575a970e (patch) | |
tree | 81582da159992a636983c3346fc291e5cb6151cb /chrome/browser/net/predictor.cc | |
parent | e4d7b6ff9e03d4d0ee39e270bd1ad5ddf0d6af5a (diff) | |
download | chromium_src-6846aeff59836d8064ad90a934c60829575a970e.zip chromium_src-6846aeff59836d8064ad90a934c60829575a970e.tar.gz chromium_src-6846aeff59836d8064ad90a934c60829575a970e.tar.bz2 |
Switch to standard integer types in chrome/browser/, part 2 of 4.
BUG=138542
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/1550593002
Cr-Commit-Position: refs/heads/master@{#366879}
Diffstat (limited to 'chrome/browser/net/predictor.cc')
-rw-r--r-- | chrome/browser/net/predictor.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc index 634abd4..799fa1a 100644 --- a/chrome/browser/net/predictor.cc +++ b/chrome/browser/net/predictor.cc @@ -9,12 +9,12 @@ #include <set> #include <sstream> -#include "base/basictypes.h" #include "base/bind.h" #include "base/compiler_specific.h" #include "base/containers/mru_cache.h" #include "base/location.h" #include "base/logging.h" +#include "base/macros.h" #include "base/metrics/histogram.h" #include "base/prefs/pref_service.h" #include "base/prefs/scoped_user_pref_update.h" @@ -73,8 +73,8 @@ const double Predictor::kDiscardableExpectedValue = 0.05; // system that uses a higher trim ratio when the list is large. // static const double Predictor::kReferrerTrimRatio = 0.97153; -const int64 Predictor::kDurationBetweenTrimmingsHours = 1; -const int64 Predictor::kDurationBetweenTrimmingIncrementsSeconds = 15; +const int64_t Predictor::kDurationBetweenTrimmingsHours = 1; +const int64_t Predictor::kDurationBetweenTrimmingIncrementsSeconds = 15; const size_t Predictor::kUrlsTrimmedPerIncrement = 5u; const size_t Predictor::kMaxSpeculativeParallelResolves = 3; const int Predictor::kMaxUnusedSocketLifetimeSecondsWithoutAGet = 10; |