/external/chromium_org/apps/ |
D | app_restore_service_browsertest.cc | 38 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local 41 ASSERT_TRUE(extension_prefs->IsExtensionRunning(extension->id())); in IN_PROC_BROWSER_TEST_F() 47 ASSERT_FALSE(extension_prefs->IsExtensionRunning(extension->id())); in IN_PROC_BROWSER_TEST_F() 50 extension_prefs->SetExtensionRunning(extension->id(), true); in IN_PROC_BROWSER_TEST_F() 65 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local 72 ASSERT_TRUE(extension_prefs->IsActive(extension->id())); in IN_PROC_BROWSER_TEST_F() 81 ASSERT_TRUE(extension_prefs->IsActive(extension->id())); in IN_PROC_BROWSER_TEST_F() 91 ASSERT_FALSE(extension_prefs->IsActive(extension->id())); in IN_PROC_BROWSER_TEST_F() 97 ASSERT_TRUE(extension_prefs->IsActive(extension->id())); in IN_PROC_BROWSER_TEST_F() 103 ASSERT_FALSE(extension_prefs->IsActive(extension->id())); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | app_restore_service.cc | 45 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in HandleStartup() local 50 if (extension_prefs->IsExtensionRunning(extension->id())) { in HandleStartup() 113 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in RecordAppActiveState() local 117 if (!extension_prefs->IsExtensionRunning(id)) in RecordAppActiveState() 120 extension_prefs->SetIsActive(id, is_active); in RecordAppActiveState()
|
D | app_load_service.cc | 125 extensions::ExtensionPrefs* extension_prefs = in OnExtensionUnloaded() local 128 extension_prefs->IsActive(extension->id()) && in OnExtensionUnloaded()
|
D | launcher.cc | 390 extensions::ExtensionPrefs* extension_prefs = in RestartPlatformApp() local 392 bool had_windows = extension_prefs->IsActive(extension->id()); in RestartPlatformApp() 393 extension_prefs->SetIsActive(extension->id(), false); in RestartPlatformApp()
|
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
D | signed_in_devices_api.cc | 31 ExtensionPrefs* extension_prefs, in GetIdMappingDictionary() argument 34 if (!extension_prefs->ReadPrefAsDictionary( in GetIdMappingDictionary() 42 extension_prefs->UpdateExtensionPref( in GetIdMappingDictionary() 57 ExtensionPrefs* extension_prefs) { in GetAllSignedInDevices() argument 61 extension_prefs, in GetAllSignedInDevices() 74 extension_prefs->UpdateExtensionPref(extension_id, in GetAllSignedInDevices() 92 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile); in GetAllSignedInDevices() local 94 return GetAllSignedInDevices(extension_id, device_tracker, extension_prefs); in GetAllSignedInDevices()
|
D | signed_in_devices_api_unittest.cc | 77 TestExtensionPrefs extension_prefs( in TEST() local 83 extension_prefs.AddExtension(extension_name); in TEST() 103 extension_test.get()->id(), &device_tracker, extension_prefs.prefs()); in TEST() 124 extension_test.get()->id(), &device_tracker, extension_prefs.prefs()); in TEST()
|
D | signed_in_devices_api.h | 38 ExtensionPrefs* extension_prefs);
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_garbage_collector.cc | 164 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(context_); in GarbageCollectExtensions() local 165 DCHECK(extension_prefs); in GarbageCollectExtensions() 167 if (extension_prefs->pref_service()->ReadOnly()) in GarbageCollectExtensions() 183 extension_prefs->GetInstalledExtensionsInfo()); in GarbageCollectExtensions() 190 info = extension_prefs->GetAllDelayedInstallInfo(); in GarbageCollectExtensions() 210 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(context_); in GarbageCollectIsolatedStorageIfNeeded() local 211 DCHECK(extension_prefs); in GarbageCollectIsolatedStorageIfNeeded() 212 if (!extension_prefs->NeedsStorageGarbageCollection()) in GarbageCollectIsolatedStorageIfNeeded() 214 extension_prefs->SetNeedsStorageGarbageCollection(false); in GarbageCollectIsolatedStorageIfNeeded()
|
D | test_extension_system.cc | 74 ExtensionPrefs* extension_prefs = ExtensionPrefs::Create( in CreateExtensionPrefs() local 83 extension_prefs); in CreateExtensionPrefs() 84 return extension_prefs; in CreateExtensionPrefs()
|
D | navigation_observer.cc | 73 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in PromptToEnableExtensionIfNecessary() local 74 if (extension_prefs->DidExtensionEscalatePermissions(extension->id())) { in PromptToEnableExtensionIfNecessary()
|
D | chrome_extensions_browser_client.cc | 172 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile); in DidVersionUpdate() local 173 if (!extension_prefs) in DidVersionUpdate() 180 PrefService* pref_service = extension_prefs->pref_service(); in DidVersionUpdate()
|
D | extension_sync_service.h | 43 extensions::ExtensionPrefs* extension_prefs, 51 const extensions::ExtensionPrefs& extension_prefs() const { in extension_prefs() function
|
D | extension_assets_manager_chromeos.cc | 542 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile); in CleanUpExtension() local 543 if (!extension_prefs || extension_prefs->pref_service()->ReadOnly()) in CleanUpExtension() 547 extension_prefs->GetInstalledExtensionInfo(id); in CleanUpExtension() 549 info = extension_prefs->GetDelayedInstallInfo(id); in CleanUpExtension()
|
D | extension_util.cc | 124 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(context); in SetIsIncognitoEnabled() local 128 bool old_enabled = extension_prefs->IsIncognitoEnabled(extension_id); in SetIsIncognitoEnabled() 132 extension_prefs->SetIsIncognitoEnabled(extension_id, enabled); in SetIsIncognitoEnabled()
|
/external/chromium_org/extensions/browser/api/declarative/ |
D | rules_cache_delegate.cc | 134 const ExtensionPrefs* extension_prefs = in ReadRulesForInstalledExtensions() local 146 extension_prefs->IsIncognitoEnabled((*i)->id()); in ReadRulesForInstalledExtensions() 203 const ExtensionScopedPrefs* extension_prefs = in GetDeclarativeRulesStored() local 207 if (extension_prefs->ReadPrefAsBoolean( in GetDeclarativeRulesStored() 223 ExtensionScopedPrefs* extension_prefs = ExtensionPrefs::Get(browser_context_); in SetDeclarativeRulesStored() local 224 extension_prefs->UpdateExtensionPref( in SetDeclarativeRulesStored()
|
/external/chromium_org/base/prefs/ |
D | pref_value_store.cc | 51 PrefStore* extension_prefs, in PrefValueStore() argument 61 InitPrefStore(EXTENSION_STORE, extension_prefs); in PrefValueStore() 75 PrefStore* extension_prefs, in CloneAndSpecialize() argument 86 if (!extension_prefs) in CloneAndSpecialize() 87 extension_prefs = GetPrefStore(EXTENSION_STORE); in CloneAndSpecialize() 98 managed_prefs, supervised_user_prefs, extension_prefs, command_line_prefs, in CloneAndSpecialize()
|
D | pref_service_factory.h | 37 void set_extension_prefs(const scoped_refptr<PrefStore>& extension_prefs) { in set_extension_prefs() argument 38 extension_prefs_ = extension_prefs; in set_extension_prefs()
|
D | pref_value_store.h | 51 PrefStore* extension_prefs, 63 PrefStore* extension_prefs,
|
/external/chromium_org/chrome/browser/extensions/api/commands/ |
D | command_service.cc | 96 ExtensionPrefs* extension_prefs, in MergeSuggestedKeyPrefs() argument 99 if (extension_prefs->ReadPrefAsDictionary(extension_id, in MergeSuggestedKeyPrefs() 107 extension_prefs->UpdateExtensionPref(extension_id, in MergeSuggestedKeyPrefs() 512 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in AssignKeybindings() local 514 if (!InitialBindingsHaveBeenAssigned(extension_prefs, extension->id())) in AssignKeybindings() 515 SetInitialBindingsHaveBeenAssigned(extension_prefs, extension->id()); in AssignKeybindings() 654 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in RemoveDefunctExtensionSuggestedCommandPrefs() local 656 extension_prefs->ReadPrefAsDictionary(extension->id(), in RemoveDefunctExtensionSuggestedCommandPrefs() 688 extension_prefs->UpdateExtensionPref(extension->id(), in RemoveDefunctExtensionSuggestedCommandPrefs() 700 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in IsCommandShortcutUserModified() local [all …]
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
D | preference_api.cc | 373 extension_prefs()->pref_service()->FindPreference(pref_key.c_str()); in SetExtensionControlledPref() 385 ExtensionPrefs::ScopedDictionaryUpdate update(extension_prefs(), in SetExtensionControlledPref() 401 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in RemoveExtensionControlledPref() 407 ExtensionPrefs::ScopedDictionaryUpdate update(extension_prefs(), in RemoveExtensionControlledPref() 422 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in CanExtensionControlPref() 434 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in DoesExtensionControlPref() 460 if (!extension_prefs()->extensions_disabled()) in Shutdown() 487 extension_prefs()->UpdateExtensionPref( in OnContentSettingChanged() 493 extension_prefs()->UpdateExtensionPref( in OnContentSettingChanged() 503 extension_prefs()->GetExtensions(&extension_ids); in ClearIncognitoSessionOnlyContentSettings() [all …]
|
D | preference_api.h | 88 virtual ExtensionPrefs* extension_prefs() = 0; 124 virtual ExtensionPrefs* extension_prefs() OVERRIDE;
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
D | declarative_apitest.cc | 247 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F() local 248 EXPECT_TRUE(extension_prefs->HasPrefForExtension(extension_id)); in IN_PROC_BROWSER_TEST_F() 255 EXPECT_FALSE(extension_prefs->HasPrefForExtension(extension_id)); in IN_PROC_BROWSER_TEST_F()
|
D | rules_registry_with_cache_unittest.cc | 226 ExtensionPrefs* extension_prefs = env_.GetExtensionPrefs(); in TEST_F() local 244 extension_prefs->UpdateExtensionPref( in TEST_F() 248 extension_prefs->UpdateExtensionPref( in TEST_F() 297 ExtensionPrefs* extension_prefs = env_.GetExtensionPrefs(); in TEST_F() local 324 extension_prefs->UpdateExtensionPref( in TEST_F()
|
/external/chromium_org/chrome/browser/prefs/ |
D | chrome_pref_service_factory.cc | 400 const scoped_refptr<PrefStore>& extension_prefs, in PrepareFactory() argument 425 factory->set_extension_prefs(extension_prefs); in PrepareFactory() 475 const scoped_refptr<PrefStore>& extension_prefs, in CreateProfilePrefs() argument 503 extension_prefs, in CreateProfilePrefs()
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | media_galleries_test_util.cc | 63 extensions::ExtensionPrefs* extension_prefs = in AddMediaGalleriesApp() local 65 base::FilePath path = extension_prefs->install_directory().AppendASCII(name); in AddMediaGalleriesApp() 76 extension_prefs->OnExtensionInstalled( in AddMediaGalleriesApp()
|