HomeSort by relevance Sort by last modified time
    Searched defs:SessionStartupPref (Results 1 - 4 of 4) sorted by null

  /external/chromium/chrome/browser/prefs/
session_startup_pref.h 18 struct SessionStartupPref {
34 static void SetStartupPref(Profile* profile, const SessionStartupPref& pref);
36 const SessionStartupPref& pref);
37 static SessionStartupPref GetStartupPref(Profile* profile);
38 static SessionStartupPref GetStartupPref(PrefService* prefs);
44 SessionStartupPref();
46 explicit SessionStartupPref(Type type);
48 ~SessionStartupPref();
session_startup_pref.cc 26 // Converts a SessionStartupPref::Type to an integer written to prefs.
27 int TypeToPrefValue(SessionStartupPref::Type type) {
29 case SessionStartupPref::LAST: return kPrefValueLast;
30 case SessionStartupPref::URLS: return kPrefValueURLs;
35 // Converts an integer pref value to a SessionStartupPref::Type.
36 SessionStartupPref::Type PrefValueToType(int pref_value) {
38 case kPrefValueLast: return SessionStartupPref::LAST;
39 case kPrefValueURLs: return SessionStartupPref::URLS;
40 default: return SessionStartupPref::DEFAULT;
47 void SessionStartupPref::RegisterUserPrefs(PrefService* prefs)
    [all...]
  /external/chromium_org/chrome/browser/prefs/
session_startup_pref.h 21 struct SessionStartupPref {
56 static void SetStartupPref(Profile* profile, const SessionStartupPref& pref);
58 const SessionStartupPref& pref);
59 static SessionStartupPref GetStartupPref(Profile* profile);
60 static SessionStartupPref GetStartupPref(PrefService* prefs);
78 // Converts an integer pref value to a SessionStartupPref::Type.
79 static SessionStartupPref::Type PrefValueToType(int pref_value);
81 explicit SessionStartupPref(Type type);
83 ~SessionStartupPref();
session_startup_pref.cc 33 // Converts a SessionStartupPref::Type to an integer written to prefs.
34 int TypeToPrefValue(SessionStartupPref::Type type) {
36 case SessionStartupPref::LAST: return SessionStartupPref::kPrefValueLast;
37 case SessionStartupPref::URLS: return SessionStartupPref::kPrefValueURLs;
38 default: return SessionStartupPref::kPrefValueNewTab;
52 void URLListToPref(const base::ListValue* url_list, SessionStartupPref* pref) {
66 void SessionStartupPref::RegisterProfilePrefs(
87 SessionStartupPref::Type SessionStartupPref::GetDefaultStartupType()
    [all...]

Completed in 4555 milliseconds