HomeSort by relevance Sort by last modified time
    Searched defs:kNumDaysInHistory (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/chrome/browser/net/spdyproxy/
data_reduction_proxy_settings.h 32 const unsigned int kNumDaysInHistory = 60;
37 COMPILE_ASSERT(kNumDaysInHistorySummary <= kNumDaysInHistory,
130 // received over the last |kNumDaysInHistory| before any compression by the
135 // last |kNumDaysInHistory| days.
  /external/chromium_org/chrome/browser/net/
chrome_network_data_saving_metrics.cc 29 const size_t kNumDaysInHistory = 60;
199 // of |kNumDaysInHistory| elements of daily total content lengths for the past
200 // |kNumDaysInHistory| days.
211 // there should be exactly |kNumDaysInHistory| days in the histories.
212 MaintainContentLengthPrefsWindow(update_.Get(), kNumDaysInHistory);
220 AddInt64ToListPref(kNumDaysInHistory - 1, content_length, update_.Get());
244 days_since_last_update = kNumDaysInHistory;
249 // lists longer than kNumDaysInHistory. The additional items will be cut off
252 i < days_since_last_update && i < static_cast<int>(kNumDaysInHistory);
258 // there should be exactly |kNumDaysInHistory| days in the histories
    [all...]
chrome_network_data_saving_metrics_unittest.cc 19 const size_t kNumDaysInHistory = 60;
127 // Create daily pref list of |kNumDaysInHistory| zero values.
131 for (size_t i = 0; i < kNumDaysInHistory; ++i) {
137 // If the count of values is less than kNumDaysInHistory, zeros are assumed
140 ASSERT_GE(kNumDaysInHistory, count);
142 ASSERT_EQ(kNumDaysInHistory, update->GetSize()) << "Pref: " << pref;
147 GetListPrefInt64Value(*update, kNumDaysInHistory - count + i))
148 << "index=" << (kNumDaysInHistory - count + i);
150 for (size_t i = 0; i < kNumDaysInHistory - count; ++i) {
565 // Forward |kNumDaysInHistory| more days
    [all...]

Completed in 53 milliseconds