Home
last modified time | relevance | path

Searched refs:pref_service (Results 1 – 25 of 1310) sorted by relevance

12345678910>>...53

/dports/www/chromium-legacy/chromium-88.0.4324.182/components/autofill/core/common/
H A Dautofill_prefs_unittest.cc92 EXPECT_TRUE(pref_service() in TEST_F()
101 EXPECT_EQ(1U, pref_service() in TEST_F()
110 EXPECT_TRUE(pref_service() in TEST_F()
119 EXPECT_EQ(1U, pref_service() in TEST_F()
140 EXPECT_TRUE(pref_service() in TEST_F()
146 EXPECT_FALSE(pref_service() in TEST_F()
163 EXPECT_TRUE(pref_service() in TEST_F()
169 EXPECT_FALSE(pref_service() in TEST_F()
175 EXPECT_FALSE(pref_service() in TEST_F()
181 EXPECT_TRUE(pref_service() in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/autofill/core/common/
H A Dautofill_prefs_unittest.cc88 EXPECT_TRUE(pref_service() in TEST_F()
97 EXPECT_EQ(1U, pref_service() in TEST_F()
106 EXPECT_TRUE(pref_service() in TEST_F()
115 EXPECT_EQ(1U, pref_service() in TEST_F()
135 EXPECT_TRUE(pref_service() in TEST_F()
141 EXPECT_FALSE(pref_service() in TEST_F()
158 EXPECT_TRUE(pref_service() in TEST_F()
164 EXPECT_FALSE(pref_service() in TEST_F()
170 EXPECT_FALSE(pref_service() in TEST_F()
176 EXPECT_TRUE(pref_service() in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/password_manager/core/browser/
H A Dpassword_manager_features_util_unittest.cc35 TestingPrefServiceSimple pref_service; in TEST() local
68 TestingPrefServiceSimple pref_service; in TEST() local
89 TestingPrefServiceSimple pref_service; in TEST() local
110 TestingPrefServiceSimple pref_service; in TEST() local
129 TestingPrefServiceSimple pref_service; in TEST() local
148 TestingPrefServiceSimple pref_service; in TEST() local
177 &pref_service, &sync_service, in TEST()
185 TestingPrefServiceSimple pref_service; in TEST() local
265 TestingPrefServiceSimple pref_service; in TEST() local
314 TestingPrefServiceSimple pref_service; in TEST() local
[all …]
H A Dpassword_manager_features_util.cc187 DCHECK(pref_service); in IsOptedInForAccountStorage()
213 DCHECK(pref_service); in ShouldShowAccountStorageReSignin()
242 DCHECK(pref_service); in ShouldShowAccountStorageOptIn()
252 DCHECK(pref_service); in OptInToAccountStorage()
276 DCHECK(pref_service); in OptOutOfAccountStorageAndClearSettings()
320 DCHECK(pref_service); in GetDefaultPasswordStore()
344 DCHECK(pref_service); in SetDefaultPasswordStore()
367 DCHECK(pref_service); in KeepAccountStorageSettingsOnlyForUsers()
390 DCHECK(pref_service); in ClearAccountStorageSettingsForAllUsers()
403 DCHECK(pref_service); in ComputePasswordAccountStorageUserState()
[all …]
H A Dpassword_manager_features_util.h27 bool IsOptedInForAccountStorage(const PrefService* pref_service,
38 bool ShouldShowAccountStorageOptIn(const PrefService* pref_service,
57 void OptInToAccountStorage(PrefService* pref_service,
66 PrefService* pref_service,
72 PrefService* pref_service,
89 void SetDefaultPasswordStore(PrefService* pref_service,
101 const PrefService* pref_service,
109 PrefService* pref_service,
128 const PrefService* pref_service,
136 void RecordMoveOfferedToNonOptedInUser(PrefService* pref_service,
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/feed/core/v2/
H A Dprefs.cc30 PrefService& pref_service) { in SetThrottlerRequestCounts() argument
36 pref_service.Set(kThrottlerRequestCountListPrefName, in SetThrottlerRequestCounts()
40 base::Time GetLastRequestTime(PrefService& pref_service) { in GetLastRequestTime() argument
41 return pref_service.GetTime(kThrottlerLastRequestTime); in GetLastRequestTime()
54 PrefService& pref_service) { in SetDebugStreamData() argument
59 PrefService& pref_service) { in SetRequestSchedule() argument
85 void ClearClientInstanceId(PrefService& pref_service) { in ClearClientInstanceId() argument
86 pref_service.ClearPref(feed::prefs::kClientInstanceId); in ClearClientInstanceId()
99 pref_service.SetBoolean( in SetHasReachedClickAndViewActionsUploadConditions()
104 const PrefService& pref_service) { in GetHasReachedClickAndViewActionsUploadConditions() argument
[all …]
H A Dprefs.h26 PrefService& pref_service);
30 base::Time GetLastRequestTime(PrefService& pref_service);
33 DebugStreamData GetDebugStreamData(PrefService& pref_service);
37 PrefService& pref_service);
38 RequestSchedule GetRequestSchedule(PrefService& pref_service);
42 PrefService& pref_service);
44 std::string GetClientInstanceId(PrefService& pref_service);
45 void ClearClientInstanceId(PrefService& pref_service);
53 const PrefService& pref_service);
56 void IncrementNoticeCardViewsCount(PrefService& pref_service);
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/proxy/
H A Dproxy_apitest.cc109 pref_service); in IN_PROC_BROWSER_TEST_F()
115 pref_service); in IN_PROC_BROWSER_TEST_F()
127 pref_service); in IN_PROC_BROWSER_TEST_F()
130 ExpectNoSettings(pref_service); in IN_PROC_BROWSER_TEST_F()
134 pref_service); in IN_PROC_BROWSER_TEST_F()
146 pref_service); in IN_PROC_BROWSER_TEST_F()
149 ExpectNoSettings(pref_service); in IN_PROC_BROWSER_TEST_F()
163 pref_service); in IN_PROC_BROWSER_TEST_F()
172 ExpectNoSettings(pref_service); in IN_PROC_BROWSER_TEST_F()
178 pref_service); in IN_PROC_BROWSER_TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/proxy/
H A Dproxy_apitest.cc110 pref_service); in IN_PROC_BROWSER_TEST_F()
116 pref_service); in IN_PROC_BROWSER_TEST_F()
128 pref_service); in IN_PROC_BROWSER_TEST_F()
131 ExpectNoSettings(pref_service); in IN_PROC_BROWSER_TEST_F()
135 pref_service); in IN_PROC_BROWSER_TEST_F()
147 pref_service); in IN_PROC_BROWSER_TEST_F()
150 ExpectNoSettings(pref_service); in IN_PROC_BROWSER_TEST_F()
164 pref_service); in IN_PROC_BROWSER_TEST_F()
173 ExpectNoSettings(pref_service); in IN_PROC_BROWSER_TEST_F()
179 pref_service); in IN_PROC_BROWSER_TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/privacy_budget/
H A Didentifiability_study_state_unittest.cc133 pref_service()->SetString( in TEST_F()
140 pref_service()); in TEST_F()
151 pref_service()->SetString( in TEST_F()
157 pref_service()); in TEST_F()
168 pref_service()->SetString( in TEST_F()
174 pref_service()); in TEST_F()
187 pref_service()->SetString( in TEST_F()
193 pref_service()); in TEST_F()
206 pref_service()->SetString( in TEST_F()
211 pref_service()); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/signin/
H A Dsignin_profile_attributes_updater_unittest.cc52 CheckProfilePrefsSet(pref_service, false); in SetProfilePrefs()
157 CheckProfilePrefsReset(pref_service, true); in TEST_F()
159 SetProfilePrefs(pref_service); in TEST_F()
166 CheckProfilePrefsReset(pref_service, false); in TEST_F()
167 SetProfilePrefs(pref_service); in TEST_F()
170 CheckProfilePrefsReset(pref_service, false); in TEST_F()
173 SetProfilePrefs(pref_service); in TEST_F()
178 SetProfilePrefs(pref_service); in TEST_F()
196 SetProfilePrefs(pref_service); in TEST_F()
201 CheckProfilePrefsSet(pref_service, false); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/components/
H A Dweb_app_prefs_utils.cc27 const PrefService* pref_service, in GetWebAppDictionary() argument
114 bool GetBoolWebAppPref(const PrefService* pref_service, in GetBoolWebAppPref() argument
118 GetWebAppDictionary(pref_service, app_id); in GetBoolWebAppPref()
125 void UpdateBoolWebAppPref(PrefService* pref_service, in UpdateBoolWebAppPref() argument
129 prefs::ScopedDictionaryPrefUpdate update(pref_service, in UpdateBoolWebAppPref()
141 GetWebAppDictionary(pref_service, app_id); in GetIntWebAppPref()
147 void UpdateIntWebAppPref(PrefService* pref_service, in UpdateIntWebAppPref() argument
163 GetWebAppDictionary(pref_service, app_id); in GetDoubleWebAppPref()
169 void UpdateDoubleWebAppPref(PrefService* pref_service, in UpdateDoubleWebAppPref() argument
192 void UpdateTimeWebAppPref(PrefService* pref_service, in UpdateTimeWebAppPref() argument
[all …]
H A Dweb_app_prefs_utils.h35 bool GetBoolWebAppPref(const PrefService* pref_service,
39 void UpdateBoolWebAppPref(PrefService* pref_service,
44 base::Optional<int> GetIntWebAppPref(const PrefService* pref_service,
48 void UpdateIntWebAppPref(PrefService* pref_service,
53 base::Optional<double> GetDoubleWebAppPref(const PrefService* pref_service,
57 void UpdateDoubleWebAppPref(PrefService* pref_service,
62 base::Optional<base::Time> GetTimeWebAppPref(const PrefService* pref_service,
66 void UpdateTimeWebAppPref(PrefService* pref_service,
71 void RemoveWebAppPref(PrefService* pref_service,
78 void RecordInstallIphIgnored(PrefService* pref_service, const AppId& app_id);
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/media/router/
H A Dmedia_router_feature_unittest.cc15 auto pref_service = std::make_unique<TestingPrefServiceSimple>(); in TEST() local
16 pref_service->registry()->RegisterBooleanPref( in TEST()
18 EXPECT_FALSE(GetCastAllowAllIPsPref(pref_service.get())); in TEST()
22 EXPECT_TRUE(GetCastAllowAllIPsPref(pref_service.get())); in TEST()
24 pref_service->SetManagedPref(prefs::kMediaRouterCastAllowAllIPs, in TEST()
26 EXPECT_TRUE(GetCastAllowAllIPsPref(pref_service.get())); in TEST()
28 pref_service->SetManagedPref(prefs::kMediaRouterCastAllowAllIPs, in TEST()
30 EXPECT_FALSE(GetCastAllowAllIPsPref(pref_service.get())); in TEST()
35 pref_service->registry()->RegisterStringPref( in TEST()
38 std::string token = GetReceiverIdHashToken(pref_service.get()); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/data_reduction_proxy/
H A Ddata_reduction_proxy_chrome_settings_unittest.cc72 test_context_->pref_service()); in TEST_F()
74 EXPECT_EQ(NULL, test_context_->pref_service()->GetUserPref( in TEST_F()
108 test_context_->pref_service()); in TEST_F()
111 test_context_->pref_service() in TEST_F()
127 test_context_->pref_service()); in TEST_F()
129 EXPECT_EQ(NULL, test_context_->pref_service()->GetUserPref( in TEST_F()
142 test_context_->pref_service()); in TEST_F()
168 test_context_->pref_service()); in TEST_F()
276 test_context_->pref_service()); in TEST_F()
287 EXPECT_TRUE(test_context_->pref_service() in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/password_manager/core/browser/
H A Dpassword_manager_util_unittest.cc428 TestingPrefServiceSimple pref_service; in TEST() local
429 pref_service.registry()->RegisterDictionaryPref( in TEST()
465 TestingPrefServiceSimple pref_service; in TEST() local
466 pref_service.registry()->RegisterDictionaryPref( in TEST()
506 SetAccountStorageOptIn(&pref_service, &sync_service, true); in TEST()
510 SetDefaultPasswordStore(&pref_service, &sync_service, in TEST()
546 TestingPrefServiceSimple pref_service; in TEST() local
547 pref_service.registry()->RegisterDictionaryPref( in TEST()
585 TestingPrefServiceSimple pref_service; in TEST() local
586 pref_service.registry()->RegisterDictionaryPref( in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/arc/net/
H A Dalways_on_vpn_manager_unittest.cc66 arc::prefs::RegisterProfilePrefs(pref_service()->registry()); in SetUp()
74 TestingPrefServiceSimple* pref_service() { return &pref_service_; } in pref_service() function in arc::__anon6a67d0420211::AlwaysOnVpnManagerTest
88 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, kVpnPackageValue); in TEST_F()
94 pref_service()->Set(arc::prefs::kAlwaysOnVpnLockdown, base::Value(true)); in TEST_F()
100 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, kVpnPackageValue); in TEST_F()
104 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, in TEST_F()
111 pref_service()->Set(arc::prefs::kAlwaysOnVpnLockdown, base::Value(true)); in TEST_F()
112 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, kVpnPackageValue); in TEST_F()
120 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, kVpnPackageValue); in TEST_F()
124 pref_service()->Set(arc::prefs::kAlwaysOnVpnLockdown, base::Value(true)); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/login/quick_unlock/
H A Dquick_unlock_storage_unittest.cc30 PrefService* pref_service, in SetConfirmationFrequency() argument
32 pref_service->SetInteger(prefs::kQuickUnlockTimeout, in SetConfirmationFrequency()
36 base::TimeDelta GetExpirationTime(PrefService* pref_service) { in GetExpirationTime() argument
37 int frequency = pref_service->GetInteger(prefs::kQuickUnlockTimeout); in GetExpirationTime()
92 PrefService* pref_service = profile_->GetPrefs(); in TEST_F() local
100 base::TimeDelta expiration_time = GetExpirationTime(pref_service); in TEST_F()
113 PrefService* pref_service = profile_->GetPrefs(); in TEST_F() local
119 base::TimeDelta expiration_time = GetExpirationTime(pref_service); in TEST_F()
135 expiration_time = GetExpirationTime(pref_service); in TEST_F()
146 expiration_time = GetExpirationTime(pref_service); in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/arc/net/
H A Dalways_on_vpn_manager_unittest.cc72 arc::prefs::RegisterProfilePrefs(pref_service()->registry()); in SetUp()
80 TestingPrefServiceSimple* pref_service() { return &pref_service_; } in pref_service() function in arc::__anon985cad9d0211::AlwaysOnVpnManagerTest
94 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, kVpnPackageValue); in TEST_F()
100 pref_service()->Set(arc::prefs::kAlwaysOnVpnLockdown, base::Value(true)); in TEST_F()
106 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, kVpnPackageValue); in TEST_F()
110 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, in TEST_F()
117 pref_service()->Set(arc::prefs::kAlwaysOnVpnLockdown, base::Value(true)); in TEST_F()
118 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, kVpnPackageValue); in TEST_F()
126 pref_service()->Set(arc::prefs::kAlwaysOnVpnPackage, kVpnPackageValue); in TEST_F()
130 pref_service()->Set(arc::prefs::kAlwaysOnVpnLockdown, base::Value(true)); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/safe_browsing/core/realtime/
H A Dpolicy_engine.cc77 return pref_service->GetBoolean( in IsUserMbbOptedIn()
82 bool RealTimePolicyEngine::IsUserEpOptedIn(PrefService* pref_service) { in IsUserEpOptedIn() argument
83 return IsEnhancedProtectionEnabled(*pref_service); in IsUserEpOptedIn()
97 PrefService* pref_service, in CanPerformFullURLLookup() argument
108 if (IsUrlLookupEnabledForEp() && IsUserEpOptedIn(pref_service)) in CanPerformFullURLLookup()
111 return IsUrlLookupEnabled() && IsUserMbbOptedIn(pref_service); in CanPerformFullURLLookup()
116 PrefService* pref_service, in CanPerformFullURLLookupWithToken() argument
121 if (!CanPerformFullURLLookup(pref_service, is_off_the_record, in CanPerformFullURLLookupWithToken()
126 if (IsUrlLookupEnabledForEp() && IsUserEpOptedIn(pref_service) && in CanPerformFullURLLookupWithToken()
152 const PrefService* pref_service, in CanPerformEnterpriseFullURLLookup() argument
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/data_reduction_proxy/core/browser/
H A Ddata_reduction_proxy_settings_test_utils.cc48 TestingPrefServiceSimple* pref_service = test_context_->pref_service(); in SetUp() local
49 pref_service->SetInt64(prefs::kDailyHttpContentLengthLastUpdateDate, 0L); in SetUp()
50 pref_service->registry()->RegisterDictionaryPref(kProxy); in SetUp()
55 ListPrefUpdate original_update(test_context_->pref_service(), in SetUp()
57 ListPrefUpdate received_update(test_context_->pref_service(), in SetUp()
66 pref_service->SetInt64(prefs::kDailyHttpContentLengthLastUpdateDate, in SetUp()
81 settings->prefs_ = test_context_->pref_service(); in ResetSettings()
86 .WillRepeatedly(Return(test_context_->pref_service())); in ResetSettings()
89 .WillRepeatedly(Return(test_context_->pref_service())); in ResetSettings()
113 test_context_->pref_service()->SetManagedPref( in CheckOnPrefChange()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/data_reduction_proxy/core/browser/
H A Ddata_reduction_proxy_settings_test_utils.cc49 TestingPrefServiceSimple* pref_service = test_context_->pref_service(); in SetUp() local
50 pref_service->SetInt64(prefs::kDailyHttpContentLengthLastUpdateDate, 0L); in SetUp()
51 pref_service->registry()->RegisterDictionaryPref(kProxy); in SetUp()
56 ListPrefUpdate original_update(test_context_->pref_service(), in SetUp()
58 ListPrefUpdate received_update(test_context_->pref_service(), in SetUp()
67 pref_service->SetInt64(prefs::kDailyHttpContentLengthLastUpdateDate, in SetUp()
83 settings->prefs_ = test_context_->pref_service(); in ResetSettings()
88 .WillRepeatedly(Return(test_context_->pref_service())); in ResetSettings()
91 .WillRepeatedly(Return(test_context_->pref_service())); in ResetSettings()
115 test_context_->pref_service()->SetManagedPref( in CheckOnPrefChange()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/safe_browsing/core/realtime/
H A Dpolicy_engine.cc65 bool RealTimePolicyEngine::IsUserMbbOptedIn(PrefService* pref_service) { in IsUserMbbOptedIn() argument
66 return pref_service->GetBoolean( in IsUserMbbOptedIn()
71 bool RealTimePolicyEngine::IsUserEpOptedIn(PrefService* pref_service) { in IsUserEpOptedIn() argument
72 return IsEnhancedProtectionEnabled(*pref_service); in IsUserEpOptedIn()
76 bool RealTimePolicyEngine::CanPerformFullURLLookup(PrefService* pref_service, in CanPerformFullURLLookup() argument
81 if (IsUrlLookupEnabledForEp() && IsUserEpOptedIn(pref_service)) in CanPerformFullURLLookup()
84 return IsUrlLookupEnabled() && IsUserMbbOptedIn(pref_service); in CanPerformFullURLLookup()
89 PrefService* pref_service, in CanPerformFullURLLookupWithToken() argument
92 if (!CanPerformFullURLLookup(pref_service, is_off_the_record)) { in CanPerformFullURLLookupWithToken()
96 if (IsUrlLookupEnabledForEp() && IsUserEpOptedIn(pref_service) && in CanPerformFullURLLookupWithToken()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/app_mode/
H A Dapp_launch_utils_unittest.cc90 auto pref_service = CreatePrefService(); in TEST_F() local
93 pref_service->SetBoolean(pref_name, true); in TEST_F()
94 pref_service->SetBoolean(pref2_name, true); in TEST_F()
95 chromeos::ResetEphemeralKioskPreferences(pref_service.get()); in TEST_F()
96 EXPECT_FALSE(pref_service->GetBoolean(pref_name)); in TEST_F()
97 EXPECT_TRUE(pref_service->GetBoolean(pref2_name)); in TEST_F()
108 auto pref_service = CreatePrefService(); in TEST_F() local
110 pref_service->SetBoolean(pref_a, true); in TEST_F()
111 pref_service->SetBoolean(pref_b, true); in TEST_F()
114 EXPECT_FALSE(pref_service->GetBoolean(pref_a)); in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/ui/webui/settings/
H A Dsettings_manage_profile_handler_unittest.cc105 PrefService* pref_service = profile()->GetPrefs(); in TEST_F() local
115 PrefService* pref_service = profile()->GetPrefs(); in TEST_F() local
126 PrefService* pref_service = profile()->GetPrefs(); in TEST_F() local
131 PrefService* pref_service = profile()->GetPrefs(); in TEST_F() local
132 pref_service->SetInteger(prefs::kProfileAvatarIndex, 27); in TEST_F()
151 PrefService* pref_service = profile()->GetPrefs(); in TEST_F() local
152 pref_service->SetInteger(prefs::kProfileAvatarIndex, 7); in TEST_F()
171 PrefService* pref_service = profile()->GetPrefs(); in TEST_F() local
172 pref_service->SetInteger(prefs::kProfileAvatarIndex, 27); in TEST_F()
192 PrefService* pref_service = profile()->GetPrefs(); in TEST_F() local
[all …]

12345678910>>...53