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

1234567891011>>

/external/chromium_org/chrome/browser/notifications/
H A Dwelcome_notification_unittest.cc200 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed));
202 profile()->GetPrefs()->GetBoolean(
211 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed));
213 profile()->GetPrefs()->GetBoolean(
222 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed));
224 profile()->GetPrefs()->GetBoolean(
233 profile()->GetPrefs()->GetBoolean(prefs::kWelcomeNotificationDismissed));
235 profile()->GetPrefs()->GetBoolean(
242 profile()->GetPrefs()->SetBoolean(
245 profile()->GetPrefs()
[all...]
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dpreferences_helper.cc19 PrefService* GetPrefs(int index) { function in namespace:preferences_helper
20 return test()->GetProfile(index)->GetPrefs();
24 return test()->verifier()->GetPrefs();
28 bool new_value = !GetPrefs(index)->GetBoolean(pref_name);
29 GetPrefs(index)->SetBoolean(pref_name, new_value);
35 GetPrefs(index)->SetInteger(pref_name, new_value);
41 GetPrefs(index)->SetInt64(pref_name, new_value);
47 GetPrefs(index)->SetDouble(pref_name, new_value);
55 GetPrefs(index)->SetString(pref_name, new_value);
65 GetPrefs(inde
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Ddefault_apps_unittest.cc53 int state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
58 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
63 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
66 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
70 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
73 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
87 profile->GetPrefs()->SetInteger(prefs::kDefaultAppsInstallState,
90 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState);
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Dactivity_log_enabled_unittest.cc54 profile->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
59 profile->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
79 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
81 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
97 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
99 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
101 profile3->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
103 profile1->GetPrefs()->SetInteger(prefs::kWatchdogExtensionActive, 1);
104 profile3->GetPrefs()->SetInteger(prefs::kWatchdogExtensionActive, 2);
110 profile1->GetPrefs()
[all...]
/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_bar_view_unittest.cc52 browser()->profile()->GetPrefs()->SetBoolean(
58 browser()->profile()->GetPrefs()->SetBoolean(
67 browser()->profile()->GetPrefs()->SetBoolean(
/external/chromium/chrome/browser/
H A Dbackground_contents_service_unittest.cc32 const DictionaryValue* GetPrefs(Profile* profile) { function in class:BackgroundContentsServiceTest
33 return profile->GetPrefs()->GetDictionary(
38 profile->GetPrefs()->ClearPref(prefs::kRegisteredBackgroundContents);
43 const DictionaryValue* pref = GetPrefs(profile);
136 EXPECT_EQ(0U, GetPrefs(&profile)->size());
140 EXPECT_EQ(1U, GetPrefs(&profile)->size());
145 EXPECT_EQ(1U, GetPrefs(&profile)->size());
149 EXPECT_EQ(1U, GetPrefs(&profile)->size());
158 EXPECT_EQ(0U, GetPrefs(&profile)->size());
161 EXPECT_EQ(1U, GetPrefs(
[all...]
/external/chromium_org/chrome/browser/android/
H A Dnew_tab_page_prefs.cc38 return profile_->GetPrefs()->GetBoolean(prefs::kNtpCollapsedSnapshotDocument);
44 PrefService* prefs = profile_->GetPrefs();
50 return profile_->GetPrefs()->GetBoolean(
57 PrefService* prefs = profile_->GetPrefs();
63 return profile_->GetPrefs()->GetBoolean(prefs::kNtpCollapsedSyncPromo);
69 PrefService* prefs = profile_->GetPrefs();
76 const DictionaryValue* dict = profile_->GetPrefs()->GetDictionary(
87 PrefService* prefs = profile_->GetPrefs();
/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/background/
H A Dbackground_contents_service_unittest.cc34 const DictionaryValue* GetPrefs(Profile* profile) { function in class:BackgroundContentsServiceTest
35 return profile->GetPrefs()->GetDictionary(
41 const DictionaryValue* pref = GetPrefs(profile);
135 EXPECT_EQ(0U, GetPrefs(&profile)->size());
139 EXPECT_EQ(1U, GetPrefs(&profile)->size());
144 EXPECT_EQ(1U, GetPrefs(&profile)->size());
148 EXPECT_EQ(1U, GetPrefs(&profile)->size());
159 EXPECT_EQ(0U, GetPrefs(&profile)->size());
162 EXPECT_EQ(1U, GetPrefs(&profile)->size());
167 EXPECT_EQ(0U, GetPrefs(
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dpref_functional_browsertest.cc64 browser()->profile()->GetPrefs()->SetFilePath(
104 browser()->profile()->GetPrefs()->Set(prefs::kDefaultContentSettings,
123 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean(
130 browser()->profile()->GetPrefs()->SetBoolean(prefs::kWebKitJavascriptEnabled,
141 EXPECT_TRUE(browser()->profile()->GetPrefs()->GetBoolean(
143 browser()->profile()->GetPrefs()->SetBoolean(prefs::kNetworkPredictionEnabled,
145 EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean(
152 EXPECT_FALSE(browser()->profile()->GetPrefs()->GetBoolean(
154 browser()->profile()->GetPrefs()->SetBoolean(prefs::kShowBookmarkBar, true);
155 EXPECT_TRUE(browser()->profile()->GetPrefs()
[all...]
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_apitest.cc79 PrefService* pref_service = browser()->profile()->GetPrefs();
90 PrefService* pref_service = browser()->profile()->GetPrefs();
101 PrefService* pref_service = browser()->profile()->GetPrefs();
115 PrefService* pref_service = browser()->profile()->GetPrefs();
129 PrefService* pref_service = browser()->profile()->GetPrefs();
140 PrefService* pref_service = browser()->profile()->GetPrefs();
154 PrefService* pref_service = browser()->profile()->GetPrefs();
165 PrefService* pref_service = browser()->profile()->GetPrefs();
176 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
195 PrefService* pref_service = browser()->profile()->GetPrefs();
[all...]
/external/chromium_org/chrome/browser/managed_mode/
H A Dmanaged_user_sync_service_factory.cc34 return new ManagedUserSyncService(static_cast<Profile*>(profile)->GetPrefs());
/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/ui/webui/
H A Ddownloads_ui_browsertest.cc22 browser()->profile()->GetPrefs()->
/external/chromium/chrome/browser/instant/
H A Dpromo_counter.cc65 if (profile_->GetPrefs())
66 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
70 PrefService* prefs = profile_->GetPrefs();
104 if (profile_->GetPrefs())
105 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
113 if (profile_->GetPrefs())
114 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
H A Dinstant_confirm_dialog.cc24 PrefService* prefs = profile->GetPrefs();
H A Dpromo_counter_unittest.cc14 PromoCounter::RegisterUserPrefs(profile.GetPrefs(), "test");
26 PromoCounter::RegisterUserPrefs(profile.GetPrefs(), "test");
48 PromoCounter::RegisterUserPrefs(profile.GetPrefs(), "test");
67 PromoCounter::RegisterUserPrefs(profile.GetPrefs(), "test");
/external/chromium/chrome/browser/extensions/
H A Dextension_proxy_apitest.cc80 PrefService* pref_service = browser()->profile()->GetPrefs();
94 PrefService* pref_service = browser()->profile()->GetPrefs();
108 PrefService* pref_service = browser()->profile()->GetPrefs();
125 PrefService* pref_service = browser()->profile()->GetPrefs();
139 PrefService* pref_service = browser()->profile()->GetPrefs();
156 PrefService* pref_service = browser()->profile()->GetPrefs();
170 PrefService* pref_service = browser()->profile()->GetPrefs();
181 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
203 PrefService* pref_service = browser()->profile()->GetPrefs();
207 pref_service = browser()->profile()->GetOffTheRecordProfile()->GetPrefs();
[all...]
/external/chromium_org/chrome/browser/tab_contents/
H A Dspellchecker_submenu_observer_browsertest.cc101 PrefService* GetPrefs() { function in class:__anon6121::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));
/external/chromium/chrome/browser/ui/webui/
H A Dntp_login_handler.cc25 PrefService* pref_service = web_ui->GetProfile()->GetPrefs();
50 std::string username = web_ui_->GetProfile()->GetPrefs()->GetString(
/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/profiles/
H A Dgaia_info_update_service.cc34 PrefService* prefs = profile_->GetPrefs();
49 std::string username = profile_->GetPrefs()->GetString(
93 return profile_->GetPrefs()->GetString(prefs::kProfileGAIAInfoPictureURL);
104 profile_->GetPrefs()->SetInt64(prefs::kProfileGAIAInfoUpdateTime,
129 profile_->GetPrefs()->SetString(prefs::kProfileGAIAInfoPictureURL,
160 profile_->GetPrefs()->SetInt64(prefs::kProfileGAIAInfoUpdateTime,
172 std::string username = profile_->GetPrefs()->GetString(
183 profile_->GetPrefs()->ClearPref(prefs::kProfileGAIAInfoPictureURL);
/external/chromium_org/chrome/browser/search/
H A Dhotword_service_factory.cc17 if (!profile->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled) ||
19 !profile->GetPrefs()->GetBoolean(prefs::kHotwordSearchIncognitoEnabled)))
/external/chromium/chrome/browser/ui/webui/options/
H A Doptions_managed_banner_handler.cc14 : policy::ManagedPrefsBannerBase(web_ui->GetProfile()->GetPrefs(), page),
/external/chromium_org/chrome/browser/signin/
H A Dsignin_manager_base.cc50 profile->GetPrefs()->ClearPref(prefs::kGoogleServicesUsername);
52 std::string user = profile_->GetPrefs()->GetString(
63 return profile_->GetPrefs()->GetBoolean(prefs::kSigninAllowed);
99 profile_->GetPrefs()->SetString(prefs::kGoogleServicesLastUsername, username);

Completed in 630 milliseconds

1234567891011>>