Lines Matching full:pref
35 // Converts an integer pref value to a SessionStartupPref::Type.
56 const SessionStartupPref& pref) {
58 SetStartupPref(profile->GetPrefs(), pref);
63 const SessionStartupPref& pref) {
67 prefs->SetInteger(prefs::kRestoreOnStartup, TypeToPrefValue(pref.type));
71 // user changes the startup type pref.
72 // Ownership of the ListValue retains with the pref service.
77 for (size_t i = 0; i < pref.urls.size(); ++i) {
79 new StringValue(pref.urls[i].spec()));
93 SessionStartupPref pref(
96 // Always load the urls, even if the pref type isn't URLS. This way the
107 pref.urls.push_back(fixed_url);
112 return pref;