/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/login_detection/ |
H A D | login_detection_prefs_unittest.cc | 20 prefs::RegisterProfilePrefs(pref_service_.registry()); in SetUp() 25 TestingPrefServiceSimple pref_service_; member in login_detection::LoginDetectionPrefsTest 31 prefs::SaveSiteToOAuthSignedInList(&pref_service_, test_url); in TEST_F() 33 EXPECT_TRUE(prefs::IsSiteInOAuthSignedInList(&pref_service_, in TEST_F() 35 EXPECT_TRUE(prefs::IsSiteInOAuthSignedInList(&pref_service_, in TEST_F() 59 prefs::SaveSiteToOAuthSignedInList(&pref_service_, test_url); in TEST_F() 61 prefs::RemoveLoginDetectionData(&pref_service_); in TEST_F() 77 prefs::SaveSiteToOAuthSignedInList(&pref_service_, foo_url); in TEST_F() 79 prefs::SaveSiteToOAuthSignedInList(&pref_service_, bar_url); in TEST_F() 80 prefs::SaveSiteToOAuthSignedInList(&pref_service_, baz_url); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/sync/base/ |
H A D | sync_prefs.cc | 128 prefs::kSyncManaged, pref_service_, in SyncPrefs() 132 prefs::kSyncFirstSetupComplete, pref_service_, in SyncPrefs() 136 prefs::kSyncRequested, pref_service_, in SyncPrefs() 218 pref_service_->ClearPref(prefs::kSyncLastSyncedTime); in ClearLocalSyncTransportData() 219 pref_service_->ClearPref(prefs::kSyncLastPollTime); in ClearLocalSyncTransportData() 225 pref_service_->ClearPref(prefs::kSyncGaiaId); in ClearLocalSyncTransportData() 226 pref_service_->ClearPref(prefs::kSyncCacheGuid); in ClearLocalSyncTransportData() 227 pref_service_->ClearPref(prefs::kSyncBirthday); in ClearLocalSyncTransportData() 228 pref_service_->ClearPref(prefs::kSyncBagOfChips); in ClearLocalSyncTransportData() 321 if (pref_service_->GetBoolean(pref_name) || in GetSelectedTypes() [all …]
|
H A D | sync_prefs_unittest.cc | 42 TestingPrefServiceSimple pref_service_; member in syncer::__anon8da6093f0111::SyncPrefsTest 314 TestingPrefServiceSimple pref_service_; member in syncer::__anon8da6093f0111::SyncPrefsMigrationTest 324 syncer::MigrateSyncSuppressedPref(&pref_service_); in TEST_F() 327 SyncPrefs prefs(&pref_service_); in TEST_F() 347 SyncPrefs prefs(&pref_service_); in TEST_F() 368 SyncPrefs prefs(&pref_service_); in TEST_F() 386 SyncPrefs prefs(&pref_service_); in TEST_F() 404 SyncPrefs prefs(&pref_service_); in TEST_F() 427 pref_service_.SetBoolean(pref_name, false); in SetBooleanUserPrefValue() 430 pref_service_.SetBoolean(pref_name, true); in SetBooleanUserPrefValue() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/password_manager/core/browser/ |
H A D | password_feature_manager_impl.cc | 18 : pref_service_(pref_service), sync_service_(sync_service) {} in PasswordFeatureManagerImpl() 32 return features_util::IsOptedInForAccountStorage(pref_service_, in IsOptedInForAccountStorage() 37 return features_util::ShouldShowAccountStorageOptIn(pref_service_, in ShouldShowAccountStorageOptIn() 44 pref_service_, sync_service_, current_page_url); in ShouldShowAccountStorageReSignin() 48 features_util::OptInToAccountStorage(pref_service_, sync_service_); in OptInToAccountStorage() 52 features_util::OptOutOfAccountStorageAndClearSettings(pref_service_, in OptOutOfAccountStorageAndClearSettings() 58 features_util::SetDefaultPasswordStore(pref_service_, sync_service_, store); in SetDefaultPasswordStore() 62 return features_util::ShouldShowAccountStorageBubbleUi(pref_service_, in ShouldShowAccountStorageBubbleUi() 68 DCHECK(pref_service_); in GetDefaultPasswordStore() 79 features_util::RecordMoveOfferedToNonOptedInUser(pref_service_, in RecordMoveOfferedToNonOptedInUser() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/safe_browsing/ |
H A D | advanced_protection_status_manager_unittest.cc | 45 sync_preferences::TestingPrefServiceSyncable pref_service_; member in safe_browsing::__anon3fef1c890111::TestWithPrefService 52 &pref_service_) {} in AdvancedProtectionStatusManagerTest() 94 &pref_service_, identity_test_env_.identity_manager(), in TEST_F() 117 &pref_service_, identity_test_env_.identity_manager(), in TEST_F() 148 &pref_service_, identity_test_env_.identity_manager(), in TEST_F() 179 &pref_service_, identity_test_env_.identity_manager(), in TEST_F() 207 &pref_service_, identity_test_env_.identity_manager(), in TEST_F() 223 pref_service_.SetInt64( in TEST_F() 243 pref_service_.SetInt64( in TEST_F() 263 pref_service_.SetInt64( in TEST_F() [all …]
|
H A D | safe_browsing_metrics_collector_unittest.cc | 29 std::make_unique<SafeBrowsingMetricsCollector>(&pref_service_); in SetUp() 34 pref_service_.SetInt64(prefs::kSafeBrowsingMetricsLastLogTime, in SetSafeBrowsingMetricsLastLogTime() 40 TestingPrefServiceSimple pref_service_; member in safe_browsing::SafeBrowsingMetricsCollectorTest 44 pref_service_.registry()->RegisterInt64Pref( in RegisterPrefs() 48 pref_service_.registry()->RegisterBooleanPref( in RegisterPrefs() 50 pref_service_.registry()->RegisterBooleanPref( in RegisterPrefs() 60 SetSafeBrowsingState(&pref_service_, STANDARD_PROTECTION); in TEST_F() 61 SetExtendedReportingPrefForTests(&pref_service_, true); in TEST_F() 93 SetSafeBrowsingState(&pref_service_, STANDARD_PROTECTION); in TEST_F() 111 SetSafeBrowsingState(&pref_service_, STANDARD_PROTECTION); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/sync_preferences/ |
H A D | pref_model_associator_unittest.cc | 106 pref_service_->Set(pref_name.c_str(), *empty_value); in SetPrefToEmpty() 111 std::unique_ptr<PrefServiceSyncable> pref_service_; member in sync_preferences::__anond9b2245e0111::AbstractPreferenceMergeTest 152 pref_service_->FindPreference(kStringPrefName); in TEST_F() 162 pref_service_->FindPreference(kListPrefName); in TEST_F() 177 pref_service_->FindPreference(kListPrefName); in TEST_F() 181 pref_service_->GetList(kListPrefName); in TEST_F() 194 pref_service_->FindPreference(kListPrefName); in TEST_F() 198 pref_service_->GetList(kListPrefName); in TEST_F() 211 pref_service_->FindPreference(kListPrefName); in TEST_F() 233 pref_service_->FindPreference(kListPrefName); in TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/sync_preferences/ |
H A D | pref_model_associator_unittest.cc | 106 pref_service_->Set(pref_name.c_str(), *empty_value); in SetPrefToEmpty() 111 std::unique_ptr<PrefServiceSyncable> pref_service_; member in sync_preferences::__anon893138190111::AbstractPreferenceMergeTest 152 pref_service_->FindPreference(kStringPrefName); in TEST_F() 162 pref_service_->FindPreference(kListPrefName); in TEST_F() 177 pref_service_->FindPreference(kListPrefName); in TEST_F() 181 pref_service_->GetList(kListPrefName); in TEST_F() 194 pref_service_->FindPreference(kListPrefName); in TEST_F() 198 pref_service_->GetList(kListPrefName); in TEST_F() 211 pref_service_->FindPreference(kListPrefName); in TEST_F() 233 pref_service_->FindPreference(kListPrefName); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/services/multidevice_setup/ |
H A D | host_device_timestamp_manager_impl.cc | 80 pref_service_(pref_service), in HostDeviceTimestampManagerImpl() 86 return pref_service_->GetBoolean(kWasHostSetFromThisChromebookPrefName); in WasHostSetFromThisChromebook() 94 pref_service_->GetInt64(kSetupFlowCompletedPrefName)); in GetLatestSetupFlowCompletionTimestamp() 99 if (pref_service_->GetInt64(kHostVerifiedUpdateReceivedPrefName) == in GetLatestVerificationTimestamp() 103 pref_service_->GetInt64(kHostVerifiedUpdateReceivedPrefName)); in GetLatestVerificationTimestamp() 116 pref_service_->SetInt64(kSetupFlowCompletedPrefName, in OnHostStatusChange() 118 pref_service_->SetBoolean(kWasHostSetFromThisChromebookPrefName, true); in OnHostStatusChange() 121 << pref_service_->GetInt64(kSetupFlowCompletedPrefName) in OnHostStatusChange() 128 pref_service_->SetInt64(kHostVerifiedUpdateReceivedPrefName, in OnHostStatusChange() 132 << pref_service_->GetInt64( in OnHostStatusChange() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/unified_consent/ |
H A D | unified_consent_service_unittest.cc | 50 UnifiedConsentService::RegisterPrefs(pref_service_.registry()); in UnifiedConsentServiceTest() 51 syncer::SyncPrefs::RegisterProfilePrefs(pref_service_.registry()); in UnifiedConsentServiceTest() 61 &pref_service_, identity_test_environment_.identity_manager(), in CreateConsentService() 77 sync_preferences::TestingPrefServiceSyncable pref_service_; member in unified_consent::UnifiedConsentServiceTest 87 EXPECT_FALSE(pref_service_.GetBoolean( in TEST_F() 94 EXPECT_FALSE(pref_service_.GetBoolean( in TEST_F() 99 EXPECT_TRUE(pref_service_.GetBoolean( in TEST_F() 110 EXPECT_FALSE(pref_service_.GetBoolean( in TEST_F() 116 EXPECT_TRUE(pref_service_.GetBoolean( in TEST_F() 129 EXPECT_TRUE(pref_service_.GetBoolean( in TEST_F() [all …]
|
H A D | unified_consent_service.cc | 26 : pref_service_(pref_service), in UnifiedConsentService() 30 DCHECK(pref_service_); in UnifiedConsentService() 37 pref_service_->AddObserver(this); in UnifiedConsentService() 64 pref_service_->RemoveObserver(this); in Shutdown() 81 if (sync->IsSetupInProgress() && !pref_service_->IsSyncing()) { in OnStateChanged() 101 if (pref_service_->IsSyncing() && !service_pref_changes_.empty()) { in OnIsSyncingChanged() 107 pref_service_->Set(pref_change.first, pref_change.second); in OnIsSyncingChanged() 117 service_pref_change_registrar_.Init(pref_service_); in StartObservingServicePrefChanges() 132 const base::Value* value = pref_service_->Get(name); in ServicePrefChanged() 139 pref_service_->GetInteger(prefs::kUnifiedConsentMigrationState); in GetMigrationState() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/unified_consent/ |
H A D | unified_consent_service_unittest.cc | 50 UnifiedConsentService::RegisterPrefs(pref_service_.registry()); in UnifiedConsentServiceTest() 51 syncer::SyncPrefs::RegisterProfilePrefs(pref_service_.registry()); in UnifiedConsentServiceTest() 61 &pref_service_, identity_test_environment_.identity_manager(), in CreateConsentService() 77 sync_preferences::TestingPrefServiceSyncable pref_service_; member in unified_consent::UnifiedConsentServiceTest 87 EXPECT_FALSE(pref_service_.GetBoolean( in TEST_F() 94 EXPECT_FALSE(pref_service_.GetBoolean( in TEST_F() 99 EXPECT_TRUE(pref_service_.GetBoolean( in TEST_F() 110 EXPECT_FALSE(pref_service_.GetBoolean( in TEST_F() 116 EXPECT_TRUE(pref_service_.GetBoolean( in TEST_F() 129 EXPECT_TRUE(pref_service_.GetBoolean( in TEST_F() [all …]
|
H A D | unified_consent_service.cc | 26 : pref_service_(pref_service), in UnifiedConsentService() 30 DCHECK(pref_service_); in UnifiedConsentService() 37 pref_service_->AddObserver(this); in UnifiedConsentService() 64 pref_service_->RemoveObserver(this); in Shutdown() 81 if (sync->IsSetupInProgress() && !pref_service_->IsSyncing()) { in OnStateChanged() 101 if (pref_service_->IsSyncing() && !service_pref_changes_.empty()) { in OnIsSyncingChanged() 107 pref_service_->Set(pref_change.first, pref_change.second); in OnIsSyncingChanged() 117 service_pref_change_registrar_.Init(pref_service_); in StartObservingServicePrefChanges() 132 const base::Value* value = pref_service_->Get(name); in ServicePrefChanged() 139 pref_service_->GetInteger(prefs::kUnifiedConsentMigrationState); in GetMigrationState() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/cronet/ |
H A D | cronet_prefs_manager.cc | 107 pref_change_registrar_.Init(pref_service_); in PrefServiceAdapter() 114 return pref_service_->Get(path_); in GetServerProperties() 119 pref_service_->Set(path_, value); in SetServerProperties() 132 PrefService* pref_service_; member in cronet::__anonef65fbac0111::PrefServiceAdapter 145 DCHECK(pref_service_); in NetworkQualitiesPrefDelegateImpl() 186 pref_service_->SchedulePendingLossyWrites(); in SchedulePendingLossyWrites() 190 PrefService* pref_service_; member in cronet::__anonef65fbac0111::NetworkQualitiesPrefDelegateImpl 254 pref_service_ = factory.Create(registry.get()); in CronetPrefsManager() 272 pref_service_.get())); in SetupNqePersistence() 291 if (pref_service_) in PrepareForShutdown() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/arc/optin/ |
H A D | arc_optin_preference_handler.cc | 22 : observer_(observer), pref_service_(pref_service) { in ArcOptInPreferenceHandler() 24 DCHECK(pref_service_); in ArcOptInPreferenceHandler() 34 pref_change_registrar_.Init(pref_service_); in Start() 77 pref_service_->HasPrefPath(prefs::kArcBackupRestoreEnabled) in SendBackupAndRestoreMode() 78 ? pref_service_->GetBoolean(prefs::kArcBackupRestoreEnabled) in SendBackupAndRestoreMode() 82 pref_service_->IsManagedPreference(prefs::kArcBackupRestoreEnabled)); in SendBackupAndRestoreMode() 89 pref_service_->HasPrefPath(prefs::kArcLocationServiceEnabled) in SendLocationServicesMode() 90 ? pref_service_->GetBoolean(prefs::kArcLocationServiceEnabled) in SendLocationServicesMode() 94 pref_service_->IsManagedPreference(prefs::kArcLocationServiceEnabled)); in SendLocationServicesMode() 103 pref_service_->SetBoolean(prefs::kArcBackupRestoreEnabled, is_enabled); in EnableBackupRestore() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/password_manager/core/browser/ |
H A D | password_feature_manager_impl.cc | 19 : pref_service_(pref_service), sync_service_(sync_service) {} in PasswordFeatureManagerImpl() 25 pref_service_, sync_service_); in IsGenerationEnabled() 34 return password_manager_util::IsOptedInForAccountStorage(pref_service_, in IsOptedInForAccountStorage() 39 return password_manager_util::ShouldShowAccountStorageOptIn(pref_service_, in ShouldShowAccountStorageOptIn() 44 password_manager_util::SetAccountStorageOptIn(pref_service_, sync_service_, in SetAccountStorageOptIn() 50 password_manager_util::SetDefaultPasswordStore(pref_service_, sync_service_, in SetDefaultPasswordStore() 55 return password_manager_util::ShouldShowPasswordStorePicker(pref_service_, in ShouldShowPasswordStorePicker() 61 DCHECK(pref_service_); in GetDefaultPasswordStore() 62 return password_manager_util::GetDefaultPasswordStore(pref_service_, in GetDefaultPasswordStore()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/metrics/demographics/ |
H A D | user_demographics_unittest.cc | 59 RegisterDemographicsProfilePrefs(pref_service_.registry()); in UserDemographicsPrefsTest() 66 pref_service_.Set(kSyncDemographicsPrefName, dict); in SetDemographics() 69 sync_preferences::TestingPrefServiceSyncable pref_service_; member in metrics::UserDemographicsPrefsTest 97 pref_service_.HasPrefPath(kSyncDemographicsBirthYearOffsetPrefName)); in TEST_F() 108 GetUserNoisedBirthYearAndGenderFromPrefs(GetNowTime(), &pref_service_) in TEST_F() 117 pref_service_.SetInteger(kSyncDemographicsBirthYearOffsetPrefName, 2); in TEST_F() 126 ClearDemographicsPrefs(&pref_service_); in TEST_F() 134 GetUserNoisedBirthYearAndGenderFromPrefs(GetNowTime(), &pref_service_) in TEST_F() 136 EXPECT_FALSE(pref_service_.HasPrefPath(kSyncDemographicsPrefName)); in TEST_F() 138 pref_service_.HasPrefPath(kSyncDemographicsBirthYearOffsetPrefName)); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/login/quick_unlock/ |
H A D | pin_storage_prefs.cc | 24 : pref_service_(pref_service) {} in PinStoragePrefs() 45 pref_service_->SetString(ash::prefs::kQuickUnlockPinSalt, salt); in SetPin() 46 pref_service_->SetString(prefs::kQuickUnlockPinSecret, secret); in SetPin() 50 pref_service_->SetString(ash::prefs::kQuickUnlockPinSalt, ""); in RemovePin() 51 pref_service_->SetString(prefs::kQuickUnlockPinSecret, ""); in RemovePin() 55 return pref_service_->GetString(ash::prefs::kQuickUnlockPinSalt); in PinSalt() 59 return pref_service_->GetString(prefs::kQuickUnlockPinSecret); in PinSecret() 66 return IsPinEnabled(pref_service_) && !IsPinDisabledByPolicy(pref_service_) && in IsPinAuthenticationAvailable()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/prefs/ |
H A D | session_startup_pref_unittest.cc | 16 pref_service_.reset(new sync_preferences::TestingPrefServiceSyncable); in SetUp() 22 return pref_service_->registry(); in registry() 25 std::unique_ptr<sync_preferences::TestingPrefServiceSyncable> pref_service_; member in SessionStartupPrefTest 32 pref_service_->SetUserPref(prefs::kURLsToRestoreOnStartup, in TEST_F() 36 SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F() 45 pref_service_->SetUserPref(prefs::kURLsToRestoreOnStartup, in TEST_F() 52 pref_service_->SetManagedPref(prefs::kURLsToRestoreOnStartup, in TEST_F() 56 SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F() 62 SessionStartupPref::SetStartupPref(pref_service_.get(), override_test); in TEST_F() 64 result = SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/prefs/ |
H A D | session_startup_pref_unittest.cc | 16 pref_service_.reset(new sync_preferences::TestingPrefServiceSyncable); in SetUp() 22 return pref_service_->registry(); in registry() 25 std::unique_ptr<sync_preferences::TestingPrefServiceSyncable> pref_service_; member in SessionStartupPrefTest 32 pref_service_->SetUserPref(prefs::kURLsToRestoreOnStartup, in TEST_F() 36 SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F() 45 pref_service_->SetUserPref(prefs::kURLsToRestoreOnStartup, in TEST_F() 52 pref_service_->SetManagedPref(prefs::kURLsToRestoreOnStartup, in TEST_F() 56 SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F() 62 SessionStartupPref::SetStartupPref(pref_service_.get(), override_test); in TEST_F() 64 result = SessionStartupPref::GetStartupPref(pref_service_.get()); in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/safe_browsing/core/realtime/ |
H A D | policy_engine_unittest.cc | 32 RegisterProfilePrefs(pref_service_.registry()); in SetUp() 34 pref_service_.registry()); in SetUp() 49 &pref_service_, is_off_the_record, sync_service); in CanPerformFullURLLookupWithToken() 53 sync_preferences::TestingPrefServiceSyncable pref_service_; member in safe_browsing::RealTimePolicyEngineTest 69 pref_service_.SetUserPref( in TEST_F() 85 pref_service_.SetUserPref( in TEST_F() 103 pref_service_.SetUserPref( in TEST_F() 125 pref_service_.SetUserPref( in TEST_F() 155 pref_service_.SetUserPref( in TEST_F() 224 pref_service_.SetUserPref( in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/components/proximity_auth/ |
H A D | proximity_auth_profile_pref_manager.cc | 27 : pref_service_(pref_service), in ProximityAuthProfilePrefManager() 68 registrar_.Init(pref_service_); in StartSyncingToLocalState() 114 return pref_service_->GetBoolean( in IsEasyUnlockAllowed() 120 pref_service_->SetBoolean( in SetIsEasyUnlockEnabled() 132 return pref_service_->SetBoolean(prefs::kEasyUnlockEnabledStateSet, true); in SetEasyUnlockEnabledStateSet() 136 return pref_service_->GetBoolean(prefs::kEasyUnlockEnabledStateSet); in IsEasyUnlockEnabledStateSet() 141 pref_service_->SetInt64(prefs::kProximityAuthLastPromotionCheckTimestampMs, in SetLastPromotionCheckTimestampMs() 147 return pref_service_->GetInt64( in GetLastPromotionCheckTimestampMs() 152 pref_service_->SetInteger(prefs::kProximityAuthPromotionShownCount, count); in SetPromotionShownCount() 156 return pref_service_->GetInteger(prefs::kProximityAuthPromotionShownCount); in GetPromotionShownCount() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/browser/metrics/ |
H A D | cast_stability_metrics_provider.cc | 59 : metrics_service_(metrics_service), pref_service_(pref_service) { in CastStabilityMetricsProvider() 60 DCHECK(pref_service_); in CastStabilityMetricsProvider() 87 pref_service_->GetInteger(prefs::kStabilityChildProcessCrashCount); in ProvideStabilityMetrics() 90 pref_service_->SetInteger(prefs::kStabilityChildProcessCrashCount, 0); in ProvideStabilityMetrics() 93 count = pref_service_->GetInteger(prefs::kStabilityRendererCrashCount); in ProvideStabilityMetrics() 96 pref_service_->SetInteger(prefs::kStabilityRendererCrashCount, 0); in ProvideStabilityMetrics() 102 pref_service_->SetInteger(prefs::kStabilityRendererFailedLaunchCount, 0); in ProvideStabilityMetrics() 105 count = pref_service_->GetInteger(prefs::kStabilityRendererHangCount); in ProvideStabilityMetrics() 108 pref_service_->SetInteger(prefs::kStabilityRendererHangCount, 0); in ProvideStabilityMetrics() 187 int value = pref_service_->GetInteger(path); in IncrementPrefValue() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/optimization_guide/ |
H A D | optimization_guide_top_host_provider.cc | 129 DCHECK(pref_service_ in InitializeHintsFetcherTopHostBlacklist() 150 pref_service_->SetDouble( in InitializeHintsFetcherTopHostBlacklist() 159 pref_service_->SetDouble( in InitializeHintsFetcherTopHostBlacklist() 173 pref_service_->SetDouble( in InitializeHintsFetcherTopHostBlacklist() 194 pref_service_, optimization_guide::prefs:: in InitializeHintsFetcherTopHostBlacklist() 246 DCHECK(pref_service_); in GetTopHosts() 261 if (pref_service_->GetDouble( in GetTopHosts() 264 pref_service_->SetDouble( in GetTopHosts() 270 if (GetCurrentBlacklistState(pref_service_) == in GetTopHosts() 294 pref_service_, in GetTopHosts() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/safe_browsing/core/realtime/ |
H A D | policy_engine_unittest.cc | 33 RegisterProfilePrefs(pref_service_.registry()); in SetUp() 35 pref_service_.registry()); in SetUp() 83 pref_service_.SetUserPref( in TEST_F() 99 pref_service_.SetUserPref( in TEST_F() 117 pref_service_.SetUserPref( in TEST_F() 139 pref_service_.SetUserPref( in TEST_F() 169 pref_service_.SetUserPref( in TEST_F() 252 pref_service_.SetUserPref( in TEST_F() 278 pref_service_.SetUserPref( in TEST_F() 372 pref_service_.SetUserPref( in TEST_F() [all …]
|