Searched refs:GetPrefs (Results 1 - 25 of 546) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/signin/
H A Dtest_signin_client_builder.cc21 new TestSigninClient(static_cast<Profile*>(context)->GetPrefs());
H A Dfake_account_tracker_service.cc18 profile->GetPrefs(),
/external/chromium_org/chrome/browser/extensions/
H A Ddefault_apps_unittest.cc52 int state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
57 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
62 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
65 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
69 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
72 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
86 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
89 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
H A Dextension_error_controller_unittest.cc113 ExtensionPrefs* GetPrefs();
133 GetPrefs()->SetExtensionBlacklisted(extension->id(), true);
146 ExtensionPrefs* ExtensionErrorControllerUnitTest::GetPrefs() { function in class:extensions::ExtensionErrorControllerUnitTest
174 EXPECT_TRUE(GetPrefs()->IsBlacklistedExtensionAcknowledged(extension->id()));
194 EXPECT_TRUE(GetPrefs()->IsBlacklistedExtensionAcknowledged(extension->id()));
205 GetPrefs()->AcknowledgeBlacklistedExtension(extension->id());
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Dactivity_log_enabled_unittest.cc56 profile->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
61 profile->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
81 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
83 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
99 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
101 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
103 profile3->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
105 profile1->GetPrefs()->SetInteger(prefs::kWatchdogExtensionActive, 1);
106 profile3->GetPrefs()->SetInteger(prefs::kWatchdogExtensionActive, 2);
112 profile1->GetPrefs()
[all...]
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dpreferences_helper.cc21 PrefService* GetPrefs(int index) { function in namespace:preferences_helper
22 return test()->GetProfile(index)->GetPrefs();
26 return test()->verifier()->GetPrefs();
30 bool new_value = !GetPrefs(index)->GetBoolean(pref_name);
31 GetPrefs(index)->SetBoolean(pref_name, new_value);
37 GetPrefs(index)->SetInteger(pref_name, new_value);
43 GetPrefs(index)->SetInt64(pref_name, new_value);
49 GetPrefs(index)->SetDouble(pref_name, new_value);
57 GetPrefs(index)->SetString(pref_name, new_value);
65 GetPrefs(inde
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Ddrive_integration_service_browsertest.cc30 browser()->profile()->GetPrefs()->SetBoolean(prefs::kDisableDrive, false);
40 browser()->profile()->GetPrefs()->SetBoolean(prefs::kDisableDrive, true);
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_apitest.cc92 PrefService* pref_service = browser()->profile()->GetPrefs();
98 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
109 PrefService* pref_service = browser()->profile()->GetPrefs();
120 PrefService* pref_service = browser()->profile()->GetPrefs();
126 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
150 PrefService* pref_service = browser()->profile()->GetPrefs();
164 PrefService* pref_service = browser()->profile()->GetPrefs();
175 PrefService* pref_service = browser()->profile()->GetPrefs();
189 PrefService* pref_service = browser()->profile()->GetPrefs();
200 PrefService* pref_service = browser()->profile()->GetPrefs();
[all...]
/external/chromium_org/chrome/browser/invalidation/
H A Dticl_profile_settings_provider.cc20 registrar_.Init(profile->GetPrefs());
40 if (profile_->GetPrefs()->GetBoolean(
/external/chromium_org/chrome/browser/prefs/
H A Dpref_functional_browsertest.cc54 browser()->profile()->GetPrefs()->SetFilePath(
93 browser()->profile()->GetPrefs()->Set(prefs::kDefaultContentSettings,
112 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean(
119 browser()->profile()->GetPrefs()->SetBoolean(prefs::kWebKitJavascriptEnabled,
130 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean(
132 browser()->profile()->GetPrefs()->SetBoolean(prefs::kNetworkPredictionEnabled,
134 EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean(
141 EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean(
143 browser()->profile()->GetPrefs()->SetBoolean(
145 EXPECT_TRUE(browser()->profile()->GetPrefs()
[all...]
/external/chromium_org/chrome/browser/chromeos/login/session/
H A Dstub_login_session_manager_delegate.cc26 profile()->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
/external/chromium_org/chrome/browser/plugins/
H A Dplugin_status_pref_setter.cc34 profile->GetPrefs(), observer);
36 profile->GetPrefs(), observer);
66 profile_->GetPrefs()->SetBoolean(
69 profile_->GetPrefs()->SetBoolean(
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_pref_mapping_service_unittest.cc22 profile_.GetPrefs()->SetString(prefs::kSupervisedUserId,
52 profile_.GetPrefs()->SetInteger(prefs::kProfileAvatarIndex, 4);
61 EXPECT_EQ(profile_.GetPrefs()->GetInteger(prefs::kProfileAvatarIndex), -1);
68 EXPECT_EQ(profile_.GetPrefs()->GetInteger(prefs::kProfileAvatarIndex), 1);
H A Dsupervised_user_sync_service_factory.cc35 static_cast<Profile*>(profile)->GetPrefs());
/external/chromium_org/chrome/browser/ui/webui/
H A Ddownloads_ui_browsertest.cc22 browser()->profile()->GetPrefs()->
/external/chromium_org/chrome/browser/android/
H A Dnew_tab_page_prefs.cc38 PrefService* prefs = profile_->GetPrefs();
45 PrefService* prefs = profile_->GetPrefs();
51 return profile_->GetPrefs()->GetBoolean(prefs::kNtpCollapsedSnapshotDocument);
57 PrefService* prefs = profile_->GetPrefs();
63 return profile_->GetPrefs()->GetBoolean(
70 PrefService* prefs = profile_->GetPrefs();
76 return profile_->GetPrefs()->GetBoolean(prefs::kNtpCollapsedSyncPromo);
82 PrefService* prefs = profile_->GetPrefs();
89 const base::DictionaryValue* dict = profile_->GetPrefs()->GetDictionary(
100 PrefService* prefs = profile_->GetPrefs();
[all...]
/external/chromium_org/chrome/browser/search_engines/
H A Ddefault_search_pref_migration_unittest.cc54 profile_->GetPrefs(), DefaultSearchManager::ObserverCallback()));
74 profile()->GetPrefs());
77 ConfigureDefaultSearchPrefMigrationToDictionaryValue(profile()->GetPrefs());
95 profile()->GetPrefs());
98 ConfigureDefaultSearchPrefMigrationToDictionaryValue(profile()->GetPrefs());
112 ConfigureDefaultSearchPrefMigrationToDictionaryValue(profile()->GetPrefs());
127 profile()->GetPrefs());
133 ConfigureDefaultSearchPrefMigrationToDictionaryValue(profile()->GetPrefs());
157 profile()->GetPrefs());
160 ConfigureDefaultSearchPrefMigrationToDictionaryValue(profile()->GetPrefs());
[all...]
/external/chromium_org/chrome/browser/renderer_context_menu/
H A Dspellchecker_submenu_observer_browsertest.cc101 PrefService* GetPrefs() { function in class:__anon4544::MockRenderViewContextMenu
102 return profile_->GetPrefs();
111 // A dummy profile used in this test. Call GetPrefs() when a test needs to
139 menu->GetPrefs()->SetString(prefs::kAcceptLanguages, "en-US");
140 menu->GetPrefs()->SetString(prefs::kSpellCheckDictionary, "en-US");
141 menu->GetPrefs()->SetBoolean(prefs::kEnableContinuousSpellcheck, true);
155 menu->GetPrefs()->GetBoolean(prefs::kEnableContinuousSpellcheck));
H A Dspellchecker_submenu_observer_mac.cc27 PrefService* GetPrefs(content::BrowserContext* context) { function in namespace:__anon4545
94 return GetPrefs(context)->GetBoolean(prefs::kEnableContinuousSpellcheck);
122 GetPrefs(context)->SetBoolean(
124 !GetPrefs(context)->GetBoolean(prefs::kEnableContinuousSpellcheck));
/external/chromium_org/components/signin/core/browser/
H A Dsignin_manager_base.cc40 client_->GetPrefs()->ClearPref(prefs::kGoogleServicesUsername);
43 client_->GetPrefs()->GetString(prefs::kGoogleServicesUsername);
59 return client_->GetPrefs()->GetBoolean(prefs::kSigninAllowed);
90 client_->GetPrefs()->GetString(prefs::kGoogleServicesUsername);
94 client_->GetPrefs()->SetString(prefs::kGoogleServicesUsername, username);
100 client_->GetPrefs()->SetString(prefs::kGoogleServicesLastUsername, username);
/external/chromium_org/chrome/browser/extensions/api/font_settings/
H A Dfont_settings_apitest.cc16 PrefService* prefs = browser()->profile()->GetPrefs();
28 PrefService* prefs = browser()->profile()->GetPrefs();
/external/chromium_org/chrome/browser/autocomplete/
H A Dchrome_autocomplete_provider_client.cc38 return profile_->GetPrefs()->GetString(prefs::kAcceptLanguages);
42 return profile_->GetPrefs()->GetBoolean(prefs::kSearchSuggestEnabled);
46 return profile_->GetPrefs()->GetBoolean(bookmarks::prefs::kShowBookmarkBar);
85 sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs());
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_bar_view_unittest.cc44 static_cast<Profile*>(profile)->GetPrefs(),
61 browser()->profile()->GetPrefs()->SetBoolean(
67 browser()->profile()->GetPrefs()->SetBoolean(
76 browser()->profile()->GetPrefs()->SetBoolean(
/external/chromium_org/chrome/browser/
H A Ddo_not_track_browsertest.cc23 PrefService* prefs = browser()->profile()->GetPrefs();
42 PrefService* prefs = browser()->profile()->GetPrefs();
61 PrefService* prefs = browser()->profile()->GetPrefs();
/external/chromium_org/chrome/browser/extensions/api/hotword_private/
H A Dhotword_private_apitest.cc124 EXPECT_FALSE(profile()->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled));
129 EXPECT_TRUE(profile()->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled));
134 EXPECT_FALSE(profile()->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled));
139 EXPECT_TRUE(profile()->GetPrefs()->GetBoolean(
146 EXPECT_TRUE(profile()->GetPrefs()->GetBoolean(
154 EXPECT_FALSE(profile()->GetPrefs()->GetBoolean(
160 EXPECT_FALSE(profile()->GetPrefs()->GetBoolean(
167 EXPECT_TRUE(profile()->GetPrefs()->GetBoolean(
174 EXPECT_FALSE(profile()->GetPrefs()->GetBoolean(
205 profile()->GetPrefs()
[all...]

Completed in 7889 milliseconds

1234567891011>>