system_profile 88 chrome/browser/metrics/extension_metrics.cc metrics::SystemProfileProto* system_profile) { system_profile 101 chrome/browser/metrics/extension_metrics.cc system_profile->add_occupied_extension_bucket(*it); system_profile 33 chrome/browser/metrics/extension_metrics.h void WriteExtensionList(metrics::SystemProfileProto* system_profile); system_profile 79 chrome/browser/metrics/extension_metrics_unittest.cc metrics::SystemProfileProto system_profile; system_profile 81 chrome/browser/metrics/extension_metrics_unittest.cc extension_metrics.WriteExtensionList(&system_profile); system_profile 82 chrome/browser/metrics/extension_metrics_unittest.cc ASSERT_EQ(2, system_profile.occupied_extension_bucket_size()); system_profile 83 chrome/browser/metrics/extension_metrics_unittest.cc EXPECT_EQ(10, system_profile.occupied_extension_bucket(0)); system_profile 84 chrome/browser/metrics/extension_metrics_unittest.cc EXPECT_EQ(1007, system_profile.occupied_extension_bucket(1)); system_profile 249 chrome/browser/metrics/metrics_log.cc SystemProfileProto* system_profile) { system_profile 253 chrome/browser/metrics/metrics_log.cc system_profile->add_field_trial(); system_profile 505 chrome/browser/metrics/metrics_log.cc return uma_proto()->system_profile().has_uma_enabled_date(); system_profile 509 chrome/browser/metrics/metrics_log.cc return uma_proto()->system_profile().stability().has_launch_count(); system_profile 539 chrome/browser/metrics/metrics_log.cc const SystemProfileProto& system_profile = uma_proto()->system_profile(); system_profile 540 chrome/browser/metrics/metrics_log.cc for (int i = 0; i < system_profile.plugin_size(); ++i) { system_profile 541 chrome/browser/metrics/metrics_log.cc if (system_profile.plugin(i).name() == plugin_name) { system_profile 542 chrome/browser/metrics/metrics_log.cc system_profile_plugin = &system_profile.plugin(i); system_profile 656 chrome/browser/metrics/metrics_log.cc SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); system_profile 660 chrome/browser/metrics/metrics_log.cc SystemProfileProto::Plugin* plugin = system_profile->add_plugin(); system_profile 672 chrome/browser/metrics/metrics_log.cc SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); system_profile 676 chrome/browser/metrics/metrics_log.cc system_profile->set_brand_code(brand_code); system_profile 684 chrome/browser/metrics/metrics_log.cc system_profile->set_uma_enabled_date(RoundSecondsToHour(enabled_date)); system_profile 689 chrome/browser/metrics/metrics_log.cc system_profile->set_install_date(RoundSecondsToHour(install_date)); system_profile 691 chrome/browser/metrics/metrics_log.cc system_profile->set_application_locale( system_profile 694 chrome/browser/metrics/metrics_log.cc SystemProfileProto::Hardware* hardware = system_profile->mutable_hardware(); system_profile 701 chrome/browser/metrics/metrics_log.cc SystemProfileProto::Network* network = system_profile->mutable_network(); system_profile 711 chrome/browser/metrics/metrics_log.cc SystemProfileProto::OS* os = system_profile->mutable_os(); system_profile 766 chrome/browser/metrics/metrics_log.cc WriteFieldTrials(field_trial_ids, system_profile); system_profile 767 chrome/browser/metrics/metrics_log.cc WriteFieldTrials(synthetic_trials, system_profile); system_profile 775 chrome/browser/metrics/metrics_log.cc if (system_profile->SerializeToString(&serialied_system_profile)) { system_profile 797 chrome/browser/metrics/metrics_log.cc SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); system_profile 801 chrome/browser/metrics/metrics_log.cc system_profile->ParseFromString(serialied_system_profile); system_profile 191 chrome/browser/metrics/metrics_log_chromeos.cc metrics::SystemProfileProto* system_profile = system_profile 199 chrome/browser/metrics/metrics_log_chromeos.cc if (system_profile->has_multi_profile_user_count() && system_profile 200 chrome/browser/metrics/metrics_log_chromeos.cc user_count != system_profile->multi_profile_user_count()) { system_profile 204 chrome/browser/metrics/metrics_log_chromeos.cc system_profile->set_multi_profile_user_count(user_count); system_profile 158 chrome/browser/metrics/metrics_log_unittest.cc return uma_proto().system_profile(); system_profile 248 chrome/browser/metrics/metrics_log_unittest.cc void CheckSystemProfile(const metrics::SystemProfileProto& system_profile) { system_profile 249 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ(kInstallDateExpected, system_profile.install_date()); system_profile 250 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ(kEnabledDateExpected, system_profile.uma_enabled_date()); system_profile 253 chrome/browser/metrics/metrics_log_unittest.cc static_cast<size_t>(system_profile.field_trial_size())); system_profile 256 chrome/browser/metrics/metrics_log_unittest.cc system_profile.field_trial(i); system_profile 263 chrome/browser/metrics/metrics_log_unittest.cc system_profile.field_trial(i + arraysize(kFieldTrialIds)); system_profile 268 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ(kBrandForTesting, system_profile.brand_code()); system_profile 271 chrome/browser/metrics/metrics_log_unittest.cc system_profile.hardware(); system_profile 309 chrome/browser/metrics/metrics_log_unittest.cc CheckSystemProfile(log.system_profile()); system_profile 351 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ(kInstallDateExpected, log.system_profile().install_date()); system_profile 352 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ(kEnabledDateExpected, log.system_profile().uma_enabled_date()); system_profile 386 chrome/browser/metrics/metrics_log_unittest.cc log.system_profile().stability(); system_profile 406 chrome/browser/metrics/metrics_log_unittest.cc log.system_profile().stability(); system_profile 430 chrome/browser/metrics/metrics_log_unittest.cc const metrics::SystemProfileProto& system_profile = log.system_profile(); system_profile 431 chrome/browser/metrics/metrics_log_unittest.cc ASSERT_EQ(2, system_profile.plugin_size()); system_profile 432 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ("p1", system_profile.plugin(0).name()); system_profile 433 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ("p1.plugin", system_profile.plugin(0).filename()); system_profile 434 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ("1.5", system_profile.plugin(0).version()); system_profile 435 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(system_profile.plugin(0).is_pepper()); system_profile 436 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ("p2", system_profile.plugin(1).name()); system_profile 437 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ("p2.plugin", system_profile.plugin(1).filename()); system_profile 438 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ("2.0", system_profile.plugin(1).version()); system_profile 439 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_FALSE(system_profile.plugin(1).is_pepper()); system_profile 456 chrome/browser/metrics/metrics_log_unittest.cc log.system_profile().stability(); system_profile 658 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ(2u, log.system_profile().multi_profile_user_count()); system_profile 676 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ(1u, log.system_profile().multi_profile_user_count()); system_profile 682 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_EQ(0u, log.system_profile().multi_profile_user_count()); system_profile 691 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(log.system_profile().has_hardware()); system_profile 692 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(log.system_profile().hardware().has_bluetooth()); system_profile 694 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(log.system_profile().hardware().bluetooth().is_present()); system_profile 695 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_FALSE(log.system_profile().hardware().bluetooth().is_enabled()); system_profile 709 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(log.system_profile().has_hardware()); system_profile 710 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(log.system_profile().hardware().has_bluetooth()); system_profile 712 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(log.system_profile().hardware().bluetooth().is_present()); system_profile 713 chrome/browser/metrics/metrics_log_unittest.cc EXPECT_TRUE(log.system_profile().hardware().bluetooth().is_enabled()); system_profile 739 chrome/browser/metrics/metrics_log_unittest.cc ASSERT_TRUE(log.system_profile().has_hardware()); system_profile 740 chrome/browser/metrics/metrics_log_unittest.cc ASSERT_TRUE(log.system_profile().hardware().has_bluetooth()); system_profile 744 chrome/browser/metrics/metrics_log_unittest.cc log.system_profile().hardware().bluetooth().paired_device_size()); system_profile 752 chrome/browser/metrics/metrics_log_unittest.cc log.system_profile().hardware().bluetooth().paired_device(0); system_profile 766 chrome/browser/metrics/metrics_log_unittest.cc log.system_profile().hardware().bluetooth().paired_device(1); system_profile 275 chrome/browser/metrics/metrics_service_unittest.cc EXPECT_EQ(1, uma_log.system_profile().stability().crash_count()); system_profile 47 chrome/common/metrics/metrics_log_base_unittest.cc parsed.system_profile().build_timestamp()); system_profile 50 chrome/common/metrics/metrics_log_base_unittest.cc parsed.system_profile().channel());