Home
last modified time | relevance | path

Searched refs:ClearPref (Results 1 – 25 of 93) sorted by relevance

1234

/external/chromium_org/chrome/browser/search_engines/
Ddefault_search_pref_migration.cc33 prefs->ClearPref(prefs::kDefaultSearchProviderName); in ClearDefaultSearchProviderFromLegacyPrefs()
34 prefs->ClearPref(prefs::kDefaultSearchProviderKeyword); in ClearDefaultSearchProviderFromLegacyPrefs()
35 prefs->ClearPref(prefs::kDefaultSearchProviderSearchURL); in ClearDefaultSearchProviderFromLegacyPrefs()
36 prefs->ClearPref(prefs::kDefaultSearchProviderSuggestURL); in ClearDefaultSearchProviderFromLegacyPrefs()
37 prefs->ClearPref(prefs::kDefaultSearchProviderInstantURL); in ClearDefaultSearchProviderFromLegacyPrefs()
38 prefs->ClearPref(prefs::kDefaultSearchProviderImageURL); in ClearDefaultSearchProviderFromLegacyPrefs()
39 prefs->ClearPref(prefs::kDefaultSearchProviderNewTabURL); in ClearDefaultSearchProviderFromLegacyPrefs()
40 prefs->ClearPref(prefs::kDefaultSearchProviderSearchURLPostParams); in ClearDefaultSearchProviderFromLegacyPrefs()
41 prefs->ClearPref(prefs::kDefaultSearchProviderSuggestURLPostParams); in ClearDefaultSearchProviderFromLegacyPrefs()
42 prefs->ClearPref(prefs::kDefaultSearchProviderInstantURLPostParams); in ClearDefaultSearchProviderFromLegacyPrefs()
[all …]
/external/chromium_org/components/metrics/
Dmetrics_state_manager.cc88 local_state_->ClearPref(prefs::kMetricsOldClientID); in ForceClientIdCreation()
197 local_state_->ClearPref(prefs::kMetricsOldLowEntropySource); in GetLowEntropySource()
212 local_state_->ClearPref(prefs::kMetricsClientID); in ResetMetricsIDsIfNecessary()
213 local_state_->ClearPref(prefs::kMetricsLowEntropySource); in ResetMetricsIDsIfNecessary()
214 local_state_->ClearPref(prefs::kMetricsResetIds); in ResetMetricsIDsIfNecessary()
/external/chromium_org/chrome/browser/metrics/variations/
Dvariations_seed_store.cc197 local_state_->ClearPref(prefs::kVariationsSeedHash); in StoreSeedData()
240 local_state_->ClearPref(prefs::kVariationsSeed); in ClearPrefs()
241 local_state_->ClearPref(prefs::kVariationsSeedDate); in ClearPrefs()
242 local_state_->ClearPref(prefs::kVariationsSeedHash); in ClearPrefs()
243 local_state_->ClearPref(prefs::kVariationsSeedSignature); in ClearPrefs()
Dvariations_seed_store_unittest.cc115 prefs.ClearPref(prefs::kVariationsSeed); in TEST()
124 prefs.ClearPref(prefs::kVariationsSeed); in TEST()
149 prefs.ClearPref(prefs::kVariationsSeed); in TEST()
/external/chromium_org/components/invalidation/
Dinvalidator_storage.cc79 pref_service_->ClearPref(kInvalidatorMaxInvalidationVersions); in InvalidatorStorage()
131 pref_service_->ClearPref(prefs::kInvalidatorSavedInvalidations); in Clear()
132 pref_service_->ClearPref(prefs::kInvalidatorClientId); in Clear()
133 pref_service_->ClearPref(prefs::kInvalidatorInvalidationState); in Clear()
/external/chromium_org/chrome/browser/metrics/
Dchrome_metrics_service_accessor_unittest.cc34 GetLocalState()->ClearPref(prefs::kMetricsReportingEnabled); in TEST_F()
56 GetLocalState()->ClearPref(crash_pref); in TEST_F()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_startup_unittest.cc196 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted); in TEST_F()
238 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted); in TEST_F()
315 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted); in TEST_F()
330 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted); in TEST_F()
368 profile_->GetPrefs()->ClearPref( in TEST_F()
373 profile_->GetPrefs()->ClearPref( in TEST_F()
471 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncManaged); in TEST_F()
519 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted); in TEST_F()
/external/chromium_org/chrome/browser/prefs/
Dbrowser_prefs.cc516 prefs->ClearPref(kBackupPref); in MigrateUserPrefs()
521 prefs->ClearPref(kSyncPromoErrorMessage); in MigrateUserPrefs()
546 local_state->ClearPref(prefs::kDnsStartupPrefetchList); in MigrateBrowserPrefs()
549 local_state->ClearPref(prefs::kDnsHostReferralList); in MigrateBrowserPrefs()
566 local_state->ClearPref(prefs::kBrowserWindowPlacement); in MigrateBrowserPrefs()
580 local_state->ClearPref(prefs::kLastKnownGoogleURL); in MigrateBrowserPrefs()
589 local_state->ClearPref(prefs::kLastPromptedGoogleURL); in MigrateBrowserPrefs()
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_cloud_policy_manager_chromeos.cc200 local_state_->ClearPref(prefs::kDeviceEnrollmentRequisition); in SetDeviceRequisition()
201 local_state_->ClearPref(prefs::kDeviceEnrollmentAutoStart); in SetDeviceRequisition()
202 local_state_->ClearPref(prefs::kDeviceEnrollmentCanExit); in SetDeviceRequisition()
206 local_state_->ClearPref(prefs::kDeviceEnrollmentAutoStart); in SetDeviceRequisition()
207 local_state_->ClearPref(prefs::kDeviceEnrollmentCanExit); in SetDeviceRequisition()
/external/chromium_org/chrome/browser/ui/webui/options/
Doptions_browsertest.cc53 void OptionsBrowserTest::ClearPref(const char* path) { in ClearPref() function in OptionsBrowserTest
54 browser()->profile()->GetPrefs()->ClearPref(path); in ClearPref()
Doptions_browsertest.h23 void ClearPref(const char* path);
/external/chromium_org/chrome/browser/chromeos/login/users/
Dsupervised_user_manager_impl.cc401 ClearPref(kLocallyManagedUserCreationTransactionDisplayName); in CommitCreationTransaction()
403 ClearPref(kLocallyManagedUserCreationTransactionUserId); in CommitCreationTransaction()
426 prefs->ClearPref(kLocallyManagedUserCreationTransactionDisplayName); in RollbackUserCreationTransaction()
435 prefs->ClearPref(kLocallyManagedUserCreationTransactionDisplayName); in RollbackUserCreationTransaction()
436 prefs->ClearPref(kLocallyManagedUserCreationTransactionUserId); in RollbackUserCreationTransaction()
442 prefs->ClearPref(kLocallyManagedUserCreationTransactionDisplayName); in RollbackUserCreationTransaction()
443 prefs->ClearPref(kLocallyManagedUserCreationTransactionUserId); in RollbackUserCreationTransaction()
/external/chromium_org/chrome/browser/apps/
Dapp_launch_for_metro_restart_win.cc61 prefs->ClearPref(prefs::kAppLaunchForMetroRestartProfile); in HandleAppLaunchForMetroRestart()
70 prefs->ClearPref(prefs::kAppLaunchForMetroRestart); in HandleAppLaunchForMetroRestart()
/external/chromium_org/chrome/browser/invalidation/
Dticl_profile_settings_provider_unittest.cc88 prefs->ClearPref(prefs::kInvalidationServiceUseGCMChannel); in TEST_F()
98 prefs->ClearPref(prefs::kGCMChannelEnabled); in TEST_F()
/external/chromium_org/components/variations/
Dcaching_permuted_entropy_provider.cc38 local_state->ClearPref(prefs::kVariationsPermutedEntropyCache); in ClearCache()
59 local_state_->ClearPref(prefs::kVariationsPermutedEntropyCache); in ReadFromLocalState()
/external/chromium_org/chrome/browser/profile_resetter/
Dprofile_resetter.cc189 prefs->ClearPref(prefs::kLastPromptedGoogleURL); in ResetDefaultSearchEngine()
224 prefs->ClearPref(prefs::kHomePageIsNewTabPage); in ResetHomepage()
229 prefs->ClearPref(prefs::kShowHomeButton); in ResetHomepage()
292 prefs->ClearPref(prefs::kRestoreOnStartup); in ResetStartupPages()
/external/chromium_org/chrome/browser/prefs/tracked/
Dpref_service_hash_store_contents.cc83 pref_service->ClearPref(kProfilePreferenceHashes); in ResetAllPrefHashStores()
105 pref_service_->ClearPref(kProfilePreferenceHashes); in Reset()
/external/chromium_org/chrome/browser/chromeos/login/
Ddefault_pinned_apps_field_trial.cc28 local_state->ClearPref(kExperimentUsers); in MigratePrefs()
/external/chromium_org/components/sync_driver/
Dsync_prefs.cc162 pref_service_->ClearPref(prefs::kSyncLastSyncedTime); in ClearPreferences()
163 pref_service_->ClearPref(prefs::kSyncHasSetupCompleted); in ClearPreferences()
164 pref_service_->ClearPref(prefs::kSyncEncryptionBootstrapToken); in ClearPreferences()
165 pref_service_->ClearPref(prefs::kSyncKeystoreEncryptionBootstrapToken); in ClearPreferences()
502 pref_service_->ClearPref(prefs::kSyncFirstSyncTime); in ClearFirstSyncTime()
/external/chromium_org/chrome/browser/chromeos/
Dsession_length_limiter.cc97 local_state->ClearPref(prefs::kSessionUserActivitySeen); in SessionLengthLimiter()
159 local_state->ClearPref(prefs::kSessionStartTime); in UpdateSessionStartTime()
/external/chromium_org/chrome/browser/lifetime/
Dapplication_lifetime_android.cc36 prefs->ClearPref(prefs::kRestartLastSessionOnShutdown); in TerminateAndroid()
/external/chromium_org/chrome/browser/ui/
Dbrowser_view_prefs.cc59 prefs->ClearPref(kTabStripLayoutType); in MigrateBrowserTabStripPrefs()
/external/chromium_org/chrome/browser/services/gcm/
Dfake_signin_manager.cc48 profile_->GetPrefs()->ClearPref(prefs::kGoogleServicesUsername); in SignOut()
/external/chromium_org/chrome/browser/search/suggestions/
Dsuggestions_store.cc58 pref_service_->ClearPref(prefs::kSuggestionsData); in ClearSuggestions()
/external/chromium_org/chrome/browser/chromeos/settings/
Downer_flags_storage.cc42 g_browser_process->local_state()->ClearPref( in OwnerFlagsStorage()

1234