Home
last modified time | relevance | path

Searched refs:kURLsToRestoreOnStartup (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/chrome/browser/prefs/
Dprefs_syncable_service_unittest.cc87 prefs::kURLsToRestoreOnStartup, in SetUp()
243 ListPrefUpdate update(GetPrefs(), prefs::kURLsToRestoreOnStartup); in TEST_F()
254 value = FindValue(prefs::kURLsToRestoreOnStartup, out).Pass(); in TEST_F()
257 GetPreferenceValue(prefs::kURLsToRestoreOnStartup).Equals(value.get())); in TEST_F()
263 ListPrefUpdate update(GetPrefs(), prefs::kURLsToRestoreOnStartup); in TEST_F()
275 AddToRemoteDataList(prefs::kURLsToRestoreOnStartup, urls_to_restore, &in); in TEST_F()
291 FindValue(prefs::kURLsToRestoreOnStartup, out)); in TEST_F()
294 EXPECT_TRUE(GetPreferenceValue(prefs::kURLsToRestoreOnStartup). in TEST_F()
301 ASSERT_TRUE(IsMigratedPreference(prefs::kURLsToRestoreOnStartup)); in TEST_F()
318 ASSERT_TRUE(HasSyncData(prefs::kURLsToRestoreOnStartup)); in TEST_F()
[all …]
Dpref_model_associator_unittest.cc88 SetPrefToEmpty(prefs::kURLsToRestoreOnStartup); in TEST_F()
90 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
101 ListPrefUpdate update(pref_service_, prefs::kURLsToRestoreOnStartup); in TEST_F()
107 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
113 pref_service_->GetList(prefs::kURLsToRestoreOnStartup); in TEST_F()
120 ListPrefUpdate update(pref_service_, prefs::kURLsToRestoreOnStartup); in TEST_F()
126 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
132 pref_service_->GetList(prefs::kURLsToRestoreOnStartup); in TEST_F()
138 ListPrefUpdate update(pref_service_, prefs::kURLsToRestoreOnStartup); in TEST_F()
145 pref_service_->FindPreference(prefs::kURLsToRestoreOnStartup); in TEST_F()
[all …]
Dsession_startup_pref.cc43 if (prefs->IsUserModifiablePreference(prefs::kURLsToRestoreOnStartup)) { in SetNewURLList()
48 prefs->Set(prefs::kURLsToRestoreOnStartup, new_url_pref_list); in SetNewURLList()
72 registry->RegisterListPref(prefs::kURLsToRestoreOnStartup, in RegisterProfilePrefs()
115 ListPrefUpdate update(prefs, prefs::kURLsToRestoreOnStartup); in SetStartupPref()
145 prefs->GetList(prefs::kURLsToRestoreOnStartup); in GetStartupPref()
167 if (!prefs->GetUserPrefValue(prefs::kURLsToRestoreOnStartup)) { in MigrateIfNecessary()
169 prefs->Set(prefs::kURLsToRestoreOnStartup, *old_startup_urls); in MigrateIfNecessary()
279 prefs->FindPreference(prefs::kURLsToRestoreOnStartup); in URLsAreManaged()
Dsession_startup_pref_unittest.cc54 pref_service_->SetUserPref(prefs::kURLsToRestoreOnStartup, url_pref_list); in TEST_F()
66 pref_service_->SetUserPref(prefs::kURLsToRestoreOnStartup, url_pref_list1); in TEST_F()
72 pref_service_->SetManagedPref(prefs::kURLsToRestoreOnStartup, in TEST_F()
Dpref_metrics_service.cc109 prefs_->GetList(prefs::kURLsToRestoreOnStartup); in RecordLaunchPrefs()
Dpref_model_associator.cc60 { prefs::kURLsToRestoreOnStartupOld, prefs::kURLsToRestoreOnStartup },
320 if (name == prefs::kURLsToRestoreOnStartup || in MergePreference()
Dchrome_pref_service_factory.cc115 4, prefs::kURLsToRestoreOnStartup,
/external/chromium_org/chrome/browser/sync/test/integration/
Dmultiple_client_preferences_sync_test.cc35 ChangeListPref(i, prefs::kURLsToRestoreOnStartup, urls); in IN_PROC_BROWSER_TEST_F()
38 ASSERT_TRUE(AwaitListPrefMatches(prefs::kURLsToRestoreOnStartup)); in IN_PROC_BROWSER_TEST_F()
Dtwo_client_preferences_sync_test.cc85 ASSERT_TRUE(AwaitListPrefMatches(prefs::kURLsToRestoreOnStartup)); in IN_PROC_BROWSER_TEST_F()
94 ChangeListPref(0, prefs::kURLsToRestoreOnStartup, urls); in IN_PROC_BROWSER_TEST_F()
96 ASSERT_TRUE(AwaitListPrefMatches(prefs::kURLsToRestoreOnStartup)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/profile_resetter/
Dbrandcoded_default_settings.cc91 return ExtractList(prefs::kURLsToRestoreOnStartup); in GetUrlsToRestoreOnStartup()
Dprofile_resetter.cc272 ListPrefUpdate(prefs, prefs::kURLsToRestoreOnStartup)->Swap(url_list.get()); in ResetStartupPages()
/external/chromium_org/chrome/browser/extensions/api/settings_overrides/
Dsettings_overrides_api.cc192 extension->id(), prefs::kURLsToRestoreOnStartup, url_list.release()); in OnExtensionLoaded()
232 UnsetPref(extension->id(), prefs::kURLsToRestoreOnStartup); in OnExtensionUnloaded()
/external/chromium_org/chrome/installer/util/
Dmaster_preferences.cc271 !master_dictionary_->GetList(prefs::kURLsToRestoreOnStartup, NULL) && in EnforceLegacyPreferences()
276 master_dictionary_->Set(prefs::kURLsToRestoreOnStartup, in EnforceLegacyPreferences()
Dmaster_preferences_unittest.cc439 EXPECT_TRUE(master_dictionary.GetList(prefs::kURLsToRestoreOnStartup, in TEST_F()
474 EXPECT_TRUE(master_dictionary.GetList(prefs::kURLsToRestoreOnStartup, in TEST_F()
/external/chromium_org/chrome/browser/sessions/
Drestore_on_startup_policy_handler.cc73 prefs->SetValue(prefs::kURLsToRestoreOnStartup, url_list); in ApplyPolicySettingsFromHomePage()
Drestore_on_startup_policy_handler_unittest.cc282 EXPECT_TRUE(prefs().GetValue(prefs::kURLsToRestoreOnStartup, &url_result)); in TEST_F()
/external/chromium_org/chrome/browser/prefs/tracked/
Dpref_hash_browsertest.cc623 prefs::kURLsToRestoreOnStartup); in SetupPreferences()
638 selected_prefs->GetList(prefs::kURLsToRestoreOnStartup, &startup_urls)); in AttackPreferencesOnDisk()
670 ->GetList(prefs::kURLsToRestoreOnStartup) in VerifyReactionToPrefAttack()
/external/chromium_org/chrome/browser/ui/webui/options/
Dstartup_pages_handler.cc99 prefs::kURLsToRestoreOnStartup, in InitializeHandler()
Dcore_options_handler.cc55 return preference->name() != prefs::kURLsToRestoreOnStartup && in CanSetExtensionControlledPrefValue()
Dpreferences_browsertest.cc464 pref_names_.push_back(prefs::kURLsToRestoreOnStartup); in UseDefaultTestPrefs()
Dbrowser_options_handler.cc889 prefs::kURLsToRestoreOnStartup, in InitializeHandler()
/external/chromium_org/chrome/common/
Dpref_names.cc80 const char kURLsToRestoreOnStartup[] = "session.startup_urls"; variable
Dpref_names.h47 extern const char kURLsToRestoreOnStartup[];
/external/chromium_org/chrome/browser/policy/
Dconfiguration_policy_handler_list_factory.cc73 prefs::kURLsToRestoreOnStartup,