OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SessionStartupPref
(Results
1 - 2
of
2
) 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
...]
Completed in 513 milliseconds