Lines Matching defs:incognito
36 const char kIncognito[] = "incognito";
44 "You do not have permission to access incognito preferences.";
90 bool incognito) {
91 PrefService* prefs = incognito ? profile->GetOffTheRecordPrefs()
101 if (ep->DoesExtensionControlPref(extension_id, browser_pref, incognito))
104 if (ep->CanExtensionControlPref(extension_id, browser_pref, incognito))
228 bool incognito = (pref_service != profile_->GetPrefs());
246 if (incognito) {
263 (!incognito || extension_service->CanCrossIncognito(*it))) {
265 GetLevelOfControl(profile_, extension_id, browser_pref, incognito);
294 bool incognito = false;
296 EXTENSION_FUNCTION_VALIDATE(details->GetBoolean(kIncognito, &incognito));
298 if (incognito && !include_incognito()) {
303 PrefService* prefs = incognito ? profile_->GetOffTheRecordPrefs()
319 GetLevelOfControl(profile_, extension_id(), browser_pref, incognito);
326 if (incognito) {
347 bool incognito = false;
349 EXTENSION_FUNCTION_VALIDATE(details->GetBoolean(kIncognito, &incognito));
351 if (incognito && !include_incognito()) {
380 incognito,
393 bool incognito = false;
395 EXTENSION_FUNCTION_VALIDATE(details->GetBoolean(kIncognito, &incognito));
397 // We don't check incognito permissions here, as an extension should be always
410 prefs->RemoveExtensionControlledPref(extension_id(), browser_pref, incognito);