Home
last modified time | relevance | path

Searched refs:IntToAvailability (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/prefs/
Dincognito_mode_prefs_unittest.cc20 TEST_F(IncognitoModePrefsTest, IntToAvailability) { in TEST_F() argument
26 EXPECT_TRUE(IncognitoModePrefs::IntToAvailability(0, &incognito)); in TEST_F()
28 EXPECT_TRUE(IncognitoModePrefs::IntToAvailability(1, &incognito)); in TEST_F()
30 EXPECT_TRUE(IncognitoModePrefs::IntToAvailability(2, &incognito)); in TEST_F()
33 EXPECT_FALSE(IncognitoModePrefs::IntToAvailability(10, &incognito)); in TEST_F()
35 EXPECT_FALSE(IncognitoModePrefs::IntToAvailability(-1, &incognito)); in TEST_F()
Dincognito_mode_prefs.cc32 bool IncognitoModePrefs::IntToAvailability(int in_value, in IntToAvailability() function in IncognitoModePrefs
48 bool valid = IntToAvailability(pref_value, &result); in GetAvailability()
Dincognito_mode_prefs.h55 static bool IntToAvailability(int in_value, Availability* out_value);
/external/chromium_org/chrome/browser/profiles/
Dincognito_mode_policy_handler.cc33 if (!IncognitoModePrefs::IntToAvailability(int_value, in CheckPolicySettings()
70 IncognitoModePrefs::IntToAvailability(int_value, in ApplyPolicySettings()