Searched refs:kMaxLocalListSize (Results 1 – 3 of 3) sorted by relevance
/external/chromium/chrome/browser/metrics/ |
D | metrics_service_unittest.cc | 19 static const size_t kMaxLocalListSize = 3; variable 41 MetricsService::StoreUnsentLogsHelper(local_list, kMaxLocalListSize, &list); in TEST() 58 MetricsService::StoreUnsentLogsHelper(local_list, kMaxLocalListSize, &list); in TEST() 102 base::Base64Encode(local_list[local_list.size() - kMaxLocalListSize], in TEST() 108 MetricsService::StoreUnsentLogsHelper(local_list, kMaxLocalListSize, &list); in TEST() 109 EXPECT_EQ(kMaxLocalListSize + 2, list.GetSize()); in TEST() 122 EXPECT_EQ(kMaxLocalListSize, local_list.size()); in TEST() 132 MetricsService::StoreUnsentLogsHelper(local_list, kMaxLocalListSize, &list); in TEST() 152 MetricsService::StoreUnsentLogsHelper(local_list, kMaxLocalListSize, &list); in TEST() 170 MetricsService::StoreUnsentLogsHelper(local_list, kMaxLocalListSize, &list); in TEST() [all …]
|
D | metrics_service.h | 247 const size_t kMaxLocalListSize,
|
D | metrics_service.cc | 1240 const size_t kMaxLocalListSize, in StoreUnsentLogsHelper() argument 1244 if (local_list.size() > kMaxLocalListSize) in StoreUnsentLogsHelper() 1245 start = local_list.size() - kMaxLocalListSize; in StoreUnsentLogsHelper()
|