Searched refs:log_manager (Results 1 – 3 of 3) sorted by relevance
46 MetricsLogManager log_manager(&pref_service, 0); in TEST() local49 EXPECT_EQ(NULL, log_manager.current_log()); in TEST()50 EXPECT_FALSE(log_manager.has_staged_log()); in TEST()51 EXPECT_FALSE(log_manager.has_unsent_logs()); in TEST()56 log_manager.BeginLoggingWithLog(make_scoped_ptr(initial_log)); in TEST()57 EXPECT_EQ(initial_log, log_manager.current_log()); in TEST()58 EXPECT_FALSE(log_manager.has_staged_log()); in TEST()60 log_manager.FinishCurrentLog(); in TEST()61 EXPECT_EQ(NULL, log_manager.current_log()); in TEST()62 EXPECT_TRUE(log_manager.has_unsent_logs()); in TEST()[all …]
66 using MetricsService::log_manager;172 EXPECT_FALSE(service.log_manager()->has_unsent_logs()); in TEST_F()173 EXPECT_FALSE(service.log_manager()->has_staged_log()); in TEST_F()212 MetricsLogManager* log_manager = service.log_manager(); in TEST_F() local213 EXPECT_TRUE(log_manager->has_unsent_logs()); in TEST_F()214 EXPECT_FALSE(log_manager->has_staged_log()); in TEST_F()221 log_manager->StageNextLogForUpload(); in TEST_F()222 EXPECT_TRUE(log_manager->has_staged_log()); in TEST_F()225 EXPECT_TRUE(GzipUncompress(log_manager->staged_log(), in TEST_F()272 MetricsLogManager* log_manager = service.log_manager(); in TEST_F() local[all …]
226 MetricsLogManager* log_manager() { return &log_manager_; } in log_manager() function