/external/chromium_org/chrome/browser/notifications/ |
welcome_notification_unittest.cc | 200 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()->GetBoolean(prefs::kWelcomeNotificationDismissed)) [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
preferences_helper.cc | 19 PrefService* GetPrefs(int index) { 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(index)->GetString(pref_name) + append_value) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
default_apps_unittest.cc | 53 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/ |
activity_log_enabled_unittest.cc | 54 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()->GetInteger(prefs::kWatchdogExtensionActive)) [all...] |
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_view_unittest.cc | 52 browser()->profile()->GetPrefs()->SetBoolean( 58 browser()->profile()->GetPrefs()->SetBoolean( 67 browser()->profile()->GetPrefs()->SetBoolean(
|
/external/chromium/chrome/browser/ |
background_contents_service_unittest.cc | 32 const DictionaryValue* GetPrefs(Profile* profile) { 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(&profile)->size()) [all...] |
/external/chromium_org/chrome/browser/android/ |
new_tab_page_prefs.cc | 38 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/ |
drive_integration_service_browsertest.cc | 30 browser()->profile()->GetPrefs()->SetBoolean(prefs::kDisableDrive, false); 40 browser()->profile()->GetPrefs()->SetBoolean(prefs::kDisableDrive, true);
|
/external/chromium_org/chrome/browser/background/ |
background_contents_service_unittest.cc | 34 const DictionaryValue* GetPrefs(Profile* profile) { 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(&profile)->size()) [all...] |
/external/chromium_org/chrome/browser/prefs/ |
pref_functional_browsertest.cc | 64 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()->GetBoolean [all...] |
/external/chromium_org/chrome/browser/extensions/api/proxy/ |
proxy_apitest.cc | 79 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/plugins/ |
plugin_status_pref_setter.cc | 34 profile->GetPrefs(), observer); 36 profile->GetPrefs(), observer); 66 profile_->GetPrefs()->SetBoolean( 69 profile_->GetPrefs()->SetBoolean(
|
/external/chromium_org/chrome/browser/ui/webui/ |
downloads_ui_browsertest.cc | 22 browser()->profile()->GetPrefs()->
|
/external/chromium/chrome/browser/instant/ |
promo_counter.cc | 65 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);
|
instant_confirm_dialog.cc | 24 PrefService* prefs = profile->GetPrefs();
|
promo_counter_unittest.cc | 14 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/ |
extension_proxy_apitest.cc | 80 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/ |
spellchecker_submenu_observer_browsertest.cc | 101 PrefService* GetPrefs() { 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/ |
ntp_login_handler.cc | 25 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/ |
font_settings_apitest.cc | 16 PrefService* prefs = browser()->profile()->GetPrefs(); 28 PrefService* prefs = browser()->profile()->GetPrefs();
|
/external/chromium_org/chrome/browser/profiles/ |
gaia_info_update_service.cc | 34 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/ |
hotword_service_factory.cc | 17 if (!profile->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled) || 19 !profile->GetPrefs()->GetBoolean(prefs::kHotwordSearchIncognitoEnabled)))
|
/external/chromium/chrome/browser/ui/webui/options/ |
options_managed_banner_handler.cc | 14 : policy::ManagedPrefsBannerBase(web_ui->GetProfile()->GetPrefs(), page),
|
/external/chromium_org/chrome/browser/managed_mode/ |
managed_user_sync_service_factory.cc | 34 return new ManagedUserSyncService(static_cast<Profile*>(profile)->GetPrefs());
|
/external/chromium_org/chrome/browser/signin/ |
signin_manager_base.cc | 50 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);
|