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

Unified Diff: components/metrics/file_metrics_provider_unittest.cc

Issue 2938013002: Persist core system profile during startup. (Closed)
Patch Set: added test Created 3 years, 6 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 | « no previous file | components/metrics/metrics_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/file_metrics_provider_unittest.cc
diff --git a/components/metrics/file_metrics_provider_unittest.cc b/components/metrics/file_metrics_provider_unittest.cc
index 2b6fbdbacb60e18aed6551767567adc9d5fb9eea..42e38bc75af998df0e55f6fb67e8363fdfe5045c 100644
--- a/components/metrics/file_metrics_provider_unittest.cc
+++ b/components/metrics/file_metrics_provider_unittest.cc
@@ -496,7 +496,7 @@ TEST_P(FileMetricsProviderTest, AccessEmbeddedProfileMetricsWithProfile) {
PersistentSystemProfile persistent_profile;
persistent_profile.RegisterPersistentAllocator(
allocator->memory_allocator());
- persistent_profile.SetSystemProfile(profile_proto);
+ persistent_profile.SetSystemProfile(profile_proto, true);
});
// Register the file and allow the "checker" task to run.
@@ -567,7 +567,7 @@ TEST_P(FileMetricsProviderTest, AccessEmbeddedFallbackMetricsWithProfile) {
PersistentSystemProfile persistent_profile;
persistent_profile.RegisterPersistentAllocator(
allocator->memory_allocator());
- persistent_profile.SetSystemProfile(profile_proto);
+ persistent_profile.SetSystemProfile(profile_proto, true);
});
// Register the file and allow the "checker" task to run.
« no previous file with comments | « no previous file | components/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698