/external/chromium_org/chrome/browser/signin/ |
H A D | test_signin_client_builder.cc | 21 new TestSigninClient(static_cast<Profile*>(context)->GetPrefs());
|
H A D | fake_account_tracker_service.cc | 18 profile->GetPrefs(),
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | default_apps_unittest.cc | 52 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 D | extension_error_controller_unittest.cc | 113 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 D | activity_log_enabled_unittest.cc | 56 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 D | preferences_helper.cc | 21 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 D | 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/extensions/api/proxy/ |
H A D | proxy_apitest.cc | 92 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 D | ticl_profile_settings_provider.cc | 20 registrar_.Init(profile->GetPrefs()); 40 if (profile_->GetPrefs()->GetBoolean(
|
/external/chromium_org/chrome/browser/prefs/ |
H A D | pref_functional_browsertest.cc | 54 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 D | stub_login_session_manager_delegate.cc | 26 profile()->GetPrefs()->SetString(prefs::kGoogleServicesUsername,
|
/external/chromium_org/chrome/browser/plugins/ |
H A D | 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/supervised_user/ |
H A D | supervised_user_pref_mapping_service_unittest.cc | 22 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 D | supervised_user_sync_service_factory.cc | 35 static_cast<Profile*>(profile)->GetPrefs());
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | downloads_ui_browsertest.cc | 22 browser()->profile()->GetPrefs()->
|
/external/chromium_org/chrome/browser/android/ |
H A D | new_tab_page_prefs.cc | 38 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 D | default_search_pref_migration_unittest.cc | 54 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 D | spellchecker_submenu_observer_browsertest.cc | 101 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 D | spellchecker_submenu_observer_mac.cc | 27 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 D | signin_manager_base.cc | 40 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 D | font_settings_apitest.cc | 16 PrefService* prefs = browser()->profile()->GetPrefs(); 28 PrefService* prefs = browser()->profile()->GetPrefs();
|
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | chrome_autocomplete_provider_client.cc | 38 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 D | bookmark_bar_view_unittest.cc | 44 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 D | do_not_track_browsertest.cc | 23 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 D | hotword_private_apitest.cc | 124 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...] |