Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(974)

Unified Diff: components/metrics/metrics_service_unittest.cc

Issue 2608833002: Move logic for uploading logs into a ReportingService object. (Closed)
Patch Set: Rebase again Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | components/metrics/metrics_upload_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_service_unittest.cc
diff --git a/components/metrics/metrics_service_unittest.cc b/components/metrics/metrics_service_unittest.cc
index 5cc3c159f2036960b37d700d23e62a7ef6859025..c4ccac83619e985cd53fc0431b4f7f6d87d1a01f 100644
--- a/components/metrics/metrics_service_unittest.cc
+++ b/components/metrics/metrics_service_unittest.cc
@@ -189,8 +189,7 @@ TEST_F(MetricsServiceTest, InitialStabilityLogAfterCleanShutDown) {
service.InitializeMetricsRecordingState();
// No initial stability log should be generated.
- EXPECT_FALSE(service.log_store()->has_unsent_logs());
- EXPECT_FALSE(service.log_store()->has_staged_log());
+ EXPECT_FALSE(service.has_unsent_logs());
// Ensure that HasInitialStabilityMetrics() is always called on providers,
// for consistency, even if other conditions already indicate their presence.
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | components/metrics/metrics_upload_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698