/external/chromium/chrome/browser/google/ |
H A D | google_update_settings_unittest.cc | 14 EXPECT_FALSE(GoogleUpdateSettings::GetCollectStatsConsent()); 16 EXPECT_TRUE(GoogleUpdateSettings::SetCollectStatsConsent(true)); 17 EXPECT_TRUE(GoogleUpdateSettings::GetCollectStatsConsent()); 19 EXPECT_TRUE(GoogleUpdateSettings::SetCollectStatsConsent(false)); 20 EXPECT_FALSE(GoogleUpdateSettings::GetCollectStatsConsent()); 27 EXPECT_TRUE(GoogleUpdateSettings::RemoveLastRunTime()); 28 EXPECT_EQ(-1, GoogleUpdateSettings::GetLastRunTime()); 31 EXPECT_TRUE(GoogleUpdateSettings::SetLastRunTime()); 32 EXPECT_EQ(0, GoogleUpdateSettings::GetLastRunTime()); 39 EXPECT_FALSE(GoogleUpdateSettings [all...] |
H A D | google_update_settings_posix.cc | 20 bool GoogleUpdateSettings::GetCollectStatsConsent() { 32 bool GoogleUpdateSettings::SetCollectStatsConsent(bool consented) { 54 bool GoogleUpdateSettings::SetMetricsId(const std::wstring& client_id) { 59 !GoogleUpdateSettings::GetCollectStatsConsent()) 64 return GoogleUpdateSettings::SetCollectStatsConsent(true); 72 int GoogleUpdateSettings::GetLastRunTime() { 77 bool GoogleUpdateSettings::SetLastRunTime() {
|
/external/chromium_org/chrome/browser/google/ |
H A D | google_update_settings_unittest.cc | 28 EXPECT_FALSE(GoogleUpdateSettings::GetCollectStatsConsent()); 30 EXPECT_TRUE(GoogleUpdateSettings::SetCollectStatsConsent(true)); 31 EXPECT_TRUE(GoogleUpdateSettings::GetCollectStatsConsent()); 33 EXPECT_TRUE(GoogleUpdateSettings::SetCollectStatsConsent(false)); 34 EXPECT_FALSE(GoogleUpdateSettings::GetCollectStatsConsent()); 41 EXPECT_TRUE(GoogleUpdateSettings::RemoveLastRunTime()); 42 EXPECT_EQ(-1, GoogleUpdateSettings::GetLastRunTime()); 45 EXPECT_TRUE(GoogleUpdateSettings::SetLastRunTime()); 46 EXPECT_EQ(0, GoogleUpdateSettings::GetLastRunTime());
|
H A D | google_update_settings_posix.cc | 26 bool GoogleUpdateSettings::GetCollectStatsConsent() { 38 bool GoogleUpdateSettings::SetCollectStatsConsent(bool consented) { 61 bool GoogleUpdateSettings::GetMetricsId(std::string* metrics_id) { 67 bool GoogleUpdateSettings::SetMetricsId(const std::string& client_id) { 72 !GoogleUpdateSettings::GetCollectStatsConsent()) { 78 return GoogleUpdateSettings::SetCollectStatsConsent(true); 86 int GoogleUpdateSettings::GetLastRunTime() { 91 bool GoogleUpdateSettings::SetLastRunTime() {
|
/external/chromium_org/chrome/browser/ui/options/ |
H A D | options_util.cc | 14 // GoogleUpdateSettings touches the disk from the UI thread. MetricsService 15 // also calls GoogleUpdateSettings below. http://crbug/62626 18 GoogleUpdateSettings::SetCollectStatsConsent(enabled); 19 bool update_pref = GoogleUpdateSettings::GetCollectStatsConsent(); 24 // Only change the pref if GoogleUpdateSettings::GetCollectStatsConsent
|
/external/chromium_org/chrome/installer/util/ |
H A D | google_update_settings_unittest.cc | 32 const GoogleUpdateSettings::UpdatePolicy kDefaultUpdatePolicy = 34 GoogleUpdateSettings::AUTOMATIC_UPDATES; 36 GoogleUpdateSettings::UPDATES_DISABLED; 107 EXPECT_TRUE(GoogleUpdateSettings::GetChromeChannelAndModifiers( 129 EXPECT_TRUE(GoogleUpdateSettings::ReadExperimentLabels( 133 EXPECT_TRUE(GoogleUpdateSettings::SetExperimentLabels( 148 EXPECT_TRUE(GoogleUpdateSettings::ReadExperimentLabels( 155 EXPECT_TRUE(GoogleUpdateSettings::SetExperimentLabels( 161 EXPECT_TRUE(GoogleUpdateSettings::ReadExperimentLabels( 167 EXPECT_FALSE(GoogleUpdateSettings [all...] |
H A D | google_update_settings.cc | 40 const GoogleUpdateSettings::UpdatePolicy kGoogleUpdateDefaultUpdatePolicy = 42 GoogleUpdateSettings::AUTOMATIC_UPDATES; 44 GoogleUpdateSettings::UPDATES_DISABLED; 175 GoogleUpdateSettings::UpdatePolicy* update_policy) { 177 case GoogleUpdateSettings::UPDATES_DISABLED: 178 case GoogleUpdateSettings::AUTOMATIC_UPDATES: 179 case GoogleUpdateSettings::MANUAL_UPDATES_ONLY: 180 case GoogleUpdateSettings::AUTO_UPDATES_ONLY: 181 *update_policy = static_cast<GoogleUpdateSettings::UpdatePolicy>(value); 191 bool GoogleUpdateSettings [all...] |
H A D | google_chrome_binaries_distribution.cc | 59 GoogleUpdateSettings::UpdateInstallStatus(system_install,
|
H A D | google_update_settings.h | 26 class GoogleUpdateSettings { class 285 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings);
|
H A D | user_experiment.cc | 55 if (!GoogleUpdateSettings::GetLanguage(&language)) 208 int key = GoogleUpdateSettings::DuplicateGoogleUpdateSystemClientKey(); 266 GoogleUpdateSettings::WriteGoogleUpdateSystemClientKey( 272 GoogleUpdateSettings::SetClient(experiment_group); 334 GoogleUpdateSettings::GetLanguage(&locale); 339 if (!GoogleUpdateSettings::GetBrand(&brand)) 415 if (GoogleUpdateSettings::GetBrand(&brand) && (brand == L"CHXX")) { 421 GoogleUpdateSettings::GetClient(&client);
|
/external/chromium_org/chrome/browser/metrics/variations/ |
H A D | variations_registry_syncer_win.cc | 54 bool success = GoogleUpdateSettings::ReadExperimentLabels(is_system_install, 77 if (!GoogleUpdateSettings::SetExperimentLabels(is_system_install,
|
/external/chromium_org/chrome/common/ |
H A D | chrome_version_info_win.cc | 26 GoogleUpdateSettings::GetChromeChannelAndModifiers(is_system_install, 48 channel = GoogleUpdateSettings::GetChromeChannel(is_system_install);
|
/external/chromium_org/chrome/browser/first_run/ |
H A D | first_run_internal_posix.cc | 43 if (GoogleUpdateSettings::GetCollectStatsConsent()) {
|
/external/chromium/chrome/browser/chromeos/ |
H A D | metrics_cros_settings_provider.cc | 52 collect_stats_consent = GoogleUpdateSettings::GetCollectStatsConsent(); 76 return GoogleUpdateSettings::GetCollectStatsConsent();
|
/external/chromium_org/chrome/installer/gcapi/ |
H A D | gcapi_omaha_experiment_test.cc | 36 EXPECT_TRUE(GoogleUpdateSettings::ReadExperimentLabels(false, 62 GoogleUpdateSettings::SetExperimentLabels(false, kSomeExperiments); 79 GoogleUpdateSettings::SetExperimentLabels(false, previous_labels); 96 GoogleUpdateSettings::SetExperimentLabels(false, previous_labels); 120 GoogleUpdateSettings::SetExperimentLabels(false, previous_labels); 146 GoogleUpdateSettings::SetExperimentLabels(false, previous_labels); 169 GoogleUpdateSettings::SetExperimentLabels(false, previous_labels);
|
H A D | gcapi_omaha_experiment.cc | 39 if (!GoogleUpdateSettings::ReadExperimentLabels(system_level, 64 return GoogleUpdateSettings::SetExperimentLabels(system_level,
|
/external/chromium/chrome/common/ |
H A D | child_process_logging_win.cc | 68 if (!GoogleUpdateSettings::GetMetricsId(&old_wstr) || 70 GoogleUpdateSettings::SetMetricsId(wstr); 87 if (GoogleUpdateSettings::GetMetricsId(&wstr_client_id))
|
H A D | child_process_logging_linux.cc | 49 GoogleUpdateSettings::SetMetricsId(wstr);
|
/external/chromium/chrome/browser/search_engines/ |
H A D | search_terms_data.cc | 82 if (GoogleUpdateSettings::GetBrand(&brand) && !brand.empty() && 83 !GoogleUpdateSettings::IsOrganic(brand)) {
|
/external/chromium/chrome/browser/rlz/ |
H A D | rlz.cc | 138 GoogleUpdateSettings::GetLanguage(&lang); 142 GoogleUpdateSettings::GetBrand(&brand); 144 GoogleUpdateSettings::GetReferral(&referral); 148 GoogleUpdateSettings::ClearReferral(); 177 if (!GoogleUpdateSettings::GetBrand(&brand) || brand.empty() || 178 GoogleUpdateSettings::IsOrganic(brand))
|
/external/chromium_org/chrome/app/ |
H A D | client_util.cc | 72 GoogleUpdateSettings::GetMetricsId(&metrics_id); 117 const string16 channel(GoogleUpdateSettings::GetChromeChannel( 118 GoogleUpdateSettings::IsSystemInstall())); 181 GoogleUpdateSettings::UpdateDidRunState(true, system_level); 186 GoogleUpdateSettings::UpdateDidRunState(false, system_level);
|
H A D | chrome_breakpad_client.cc | 136 GoogleUpdateSettings::GetChromeChannelAndModifiers( 180 Version update_version = GoogleUpdateSettings::GetGoogleUpdateVersion( 195 GoogleUpdateSettings::GetChromeChannel(!is_per_user_install))); 373 return is_chrome_build && GoogleUpdateSettings::GetCollectStatsConsent();
|
/external/chromium/chrome/browser/ui/options/ |
H A D | options_util.cc | 112 // GoogleUpdateSettings touches the disk from the UI thread. MetricsService 113 // also calls GoogleUpdateSettings below. http://crbug/62626 116 GoogleUpdateSettings::SetCollectStatsConsent(enabled); 117 bool update_pref = GoogleUpdateSettings::GetCollectStatsConsent(); 123 // Only change the pref if GoogleUpdateSettings::GetCollectStatsConsent
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | metrics_log.h | 64 GoogleUpdateSettings::ProductData google_update_data; 66 GoogleUpdateSettings::ProductData product_data;
|
/external/chromium_org/chrome/browser/ui/gtk/ |
H A D | first_run_dialog.cc | 138 if (GoogleUpdateSettings::SetCollectStatsConsent(true)) 141 GoogleUpdateSettings::SetCollectStatsConsent(false);
|