log_manager 223 chrome/browser/metrics/metrics_service_unittest.cc EXPECT_FALSE(service.log_manager()->has_unsent_logs()); log_manager 224 chrome/browser/metrics/metrics_service_unittest.cc EXPECT_FALSE(service.log_manager()->has_staged_log()); log_manager 255 chrome/browser/metrics/metrics_service_unittest.cc MetricsLogManager* log_manager = service.log_manager(); log_manager 256 chrome/browser/metrics/metrics_service_unittest.cc EXPECT_TRUE(log_manager->has_unsent_logs()); log_manager 257 chrome/browser/metrics/metrics_service_unittest.cc EXPECT_FALSE(log_manager->has_staged_log()); log_manager 260 chrome/browser/metrics/metrics_service_unittest.cc log_manager->StageNextLogForUpload(); log_manager 261 chrome/browser/metrics/metrics_service_unittest.cc EXPECT_TRUE(log_manager->has_staged_log()); log_manager 264 chrome/browser/metrics/metrics_service_unittest.cc EXPECT_TRUE(uma_log.ParseFromString(log_manager->staged_log_text())); log_manager 45 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 48 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(NULL, log_manager.current_log()); log_manager 49 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_staged_log()); log_manager 50 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_unsent_logs()); log_manager 54 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(initial_log, MetricsLogBase::INITIAL_LOG); log_manager 55 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(initial_log, log_manager.current_log()); log_manager 56 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_staged_log()); log_manager 58 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 59 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(NULL, log_manager.current_log()); log_manager 60 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_TRUE(log_manager.has_unsent_logs()); log_manager 61 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_staged_log()); log_manager 64 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(second_log, MetricsLogBase::ONGOING_LOG); log_manager 65 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(second_log, log_manager.current_log()); log_manager 67 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 68 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_TRUE(log_manager.has_staged_log()); log_manager 69 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.staged_log_text().empty()); log_manager 71 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardStagedLog(); log_manager 72 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(second_log, log_manager.current_log()); log_manager 73 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_staged_log()); log_manager 74 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_unsent_logs()); log_manager 75 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_TRUE(log_manager.staged_log_text().empty()); log_manager 77 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_unsent_logs()); log_manager 81 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 84 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(dummy_log, MetricsLogBase::INITIAL_LOG); log_manager 85 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(dummy_log, log_manager.current_log()); log_manager 87 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardCurrentLog(); log_manager 88 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(NULL, log_manager.current_log()); log_manager 89 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_staged_log()); log_manager 93 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 98 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(ongoing_log, MetricsLogBase::ONGOING_LOG); log_manager 99 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(ongoing_log, log_manager.current_log()); log_manager 101 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PauseCurrentLog(); log_manager 102 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(NULL, log_manager.current_log()); log_manager 104 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(temp_log, MetricsLogBase::INITIAL_LOG); log_manager 105 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(temp_log, log_manager.current_log()); log_manager 106 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 107 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(NULL, log_manager.current_log()); log_manager 109 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.ResumePausedLog(); log_manager 110 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(ongoing_log, log_manager.current_log()); log_manager 112 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_staged_log()); log_manager 113 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 114 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardStagedLog(); log_manager 115 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_unsent_logs()); log_manager 119 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 121 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 122 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 127 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(ongoing_log, MetricsLogBase::ONGOING_LOG); log_manager 128 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PauseCurrentLog(); log_manager 129 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(temp_log, MetricsLogBase::INITIAL_LOG); log_manager 130 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 131 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.ResumePausedLog(); log_manager 132 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 133 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardStagedLog(); log_manager 137 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 138 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 150 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 152 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 153 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 160 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_unsent_logs()); log_manager 161 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 162 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_TRUE(log_manager.has_unsent_logs()); log_manager 166 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::INITIAL_LOG); log_manager 167 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 168 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); log_manager 169 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 170 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StoreStagedLogAsUnsent(MetricsLogManager::NORMAL_STORE); log_manager 171 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 176 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 190 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 196 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 197 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 198 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_TRUE(log_manager.has_unsent_logs()); log_manager 200 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 201 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardStagedLog(); log_manager 204 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 209 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 210 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardStagedLog(); log_manager 211 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_TRUE(log_manager.has_unsent_logs()); log_manager 214 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 215 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardStagedLog(); log_manager 216 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_FALSE(log_manager.has_unsent_logs()); log_manager 222 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 231 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 233 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 234 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 237 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log, MetricsLogBase::ONGOING_LOG); log_manager 238 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 239 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 240 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StoreStagedLogAsUnsent(MetricsLogManager::NORMAL_STORE); log_manager 241 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 248 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 250 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 251 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 254 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log, MetricsLogBase::INITIAL_LOG); log_manager 255 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 256 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 257 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StoreStagedLogAsUnsent(MetricsLogManager::NORMAL_STORE); log_manager 258 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 266 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 268 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 269 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 272 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_max_ongoing_log_store_size(1); log_manager 276 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::INITIAL_LOG); log_manager 277 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 278 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); log_manager 279 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 282 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 290 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 292 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 293 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 297 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::INITIAL_LOG); log_manager 298 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 299 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); log_manager 300 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 301 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StoreStagedLogAsUnsent(MetricsLogManager::PROVISIONAL_STORE); log_manager 302 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 303 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardLastProvisionalStore(); log_manager 305 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 315 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 317 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 318 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 322 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::ONGOING_LOG); log_manager 323 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 324 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 325 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StoreStagedLogAsUnsent(MetricsLogManager::PROVISIONAL_STORE); log_manager 326 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 327 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardStagedLog(); log_manager 328 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); log_manager 329 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 330 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 331 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StoreStagedLogAsUnsent(MetricsLogManager::NORMAL_STORE); log_manager 332 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardLastProvisionalStore(); log_manager 334 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs(); log_manager 340 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogManager log_manager; log_manager 342 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.set_log_serializer(serializer); log_manager 343 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.LoadPersistedUnsentLogs(); log_manager 347 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::ONGOING_LOG); log_manager 348 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 349 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 350 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StoreStagedLogAsUnsent(MetricsLogManager::NORMAL_STORE); log_manager 351 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); log_manager 352 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.FinishCurrentLog(); log_manager 353 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StageNextLogForUpload(); log_manager 354 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.StoreStagedLogAsUnsent(MetricsLogManager::PROVISIONAL_STORE); log_manager 355 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardLastProvisionalStore(); log_manager 356 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.DiscardLastProvisionalStore(); log_manager 358 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.PersistUnsentLogs();