/external/chromium_org/apps/ |
D | app_restore_service.cc | 56 ExtensionPrefs* extension_prefs = extension_service->extension_prefs(); in HandleStartup() local 61 if (extension_prefs->IsExtensionRunning(extension->id())) { in HandleStartup() 116 ExtensionPrefs* extension_prefs = in RecordAppStart() local 117 ExtensionSystem::Get(profile_)->extension_service()->extension_prefs(); in RecordAppStart() 118 extension_prefs->SetExtensionRunning(extension_id, true); in RecordAppStart() 122 ExtensionPrefs* extension_prefs = in RecordAppStop() local 123 ExtensionSystem::Get(profile_)->extension_service()->extension_prefs(); in RecordAppStop() 124 extension_prefs->SetExtensionRunning(extension_id, false); in RecordAppStop() 131 ExtensionPrefs* extension_prefs = extension_service->extension_prefs(); in RecordAppActiveState() local 135 if (!extension_prefs->IsExtensionRunning(id)) in RecordAppActiveState() [all …]
|
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() 128 ExtensionPrefs* extension_prefs = in IN_PROC_BROWSER_TEST_F() local 137 extension_prefs->SetExtensionRunning(extension->id(), true); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
D | signed_in_devices_api.cc | 28 ExtensionPrefs* extension_prefs, in GetIdMappingDictionary() argument 31 if (!extension_prefs->ReadPrefAsDictionary( in GetIdMappingDictionary() 39 extension_prefs->UpdateExtensionPref( in GetIdMappingDictionary() 54 ExtensionPrefs* extension_prefs) { in GetAllSignedInDevices() argument 57 extension_prefs, in GetAllSignedInDevices() 70 extension_prefs->UpdateExtensionPref(extension_id, in GetAllSignedInDevices() 82 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile); in GetAllSignedInDevices() local 86 extension_prefs); in GetAllSignedInDevices()
|
D | signed_in_devices_api_unittest.cc | 37 TestExtensionPrefs extension_prefs( in TEST() local 43 extension_prefs.AddExtension(extension_name); in TEST() 65 extension_prefs.prefs()); in TEST() 93 extension_prefs.prefs()); in TEST()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_util.cc | 38 return service->extension_prefs()->IsIncognitoEnabled(extension_id); in IsIncognitoEnabled() 58 ExtensionPrefs* extension_prefs = service->extension_prefs(); in SetIsIncognitoEnabled() local 62 bool old_enabled = extension_prefs->IsIncognitoEnabled(extension_id); in SetIsIncognitoEnabled() 66 extension_prefs->SetIsIncognitoEnabled(extension_id, enabled); in SetIsIncognitoEnabled() 108 service->extension_prefs()->AllowFileAccess(extension->id())); in AllowFileAccess() 120 service->extension_prefs()->SetAllowFileAccess(extension->id(), allow); in SetAllowFileAccess() 129 return !(service->extension_prefs()->GetDisableReasons(extension_id) & in IsAppLaunchable()
|
D | navigation_observer.cc | 71 ExtensionPrefs* extension_prefs = extension_service->extension_prefs(); in PromptToEnableExtensionIfNecessary() local 72 if (extension_prefs->DidExtensionEscalatePermissions(extension->id())) { in PromptToEnableExtensionIfNecessary()
|
D | chrome_extensions_browser_client.cc | 116 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile); in DidVersionUpdate() local 117 if (!extension_prefs) in DidVersionUpdate() 124 PrefService* pref_service = extension_prefs->pref_service(); in DidVersionUpdate()
|
D | test_extension_system.cc | 67 ExtensionPrefs* extension_prefs = ExtensionPrefs::Create( in CreateExtensionPrefs() local 75 extension_prefs); in CreateExtensionPrefs() 76 return extension_prefs; in CreateExtensionPrefs()
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | sync_app_helper.cc | 48 app_state->app_launch_ordinal = extension_service->extension_prefs()-> in LoadApp() 50 app_state->page_ordinal = extension_service->extension_prefs()-> in LoadApp() 149 return profile->GetExtensionService()->extension_prefs()-> in GetPageOrdinalForApp() 157 profile->GetExtensionService()->extension_prefs()->app_sorting()-> in SetPageOrdinalForApp() 164 return profile->GetExtensionService()->extension_prefs()-> in GetAppLaunchOrdinalForApp() 172 profile->GetExtensionService()->extension_prefs()->app_sorting()-> in SetAppLaunchOrdinalForApp() 178 profile->GetExtensionService()->extension_prefs()->app_sorting()-> in FixNTPOrdinalCollisions()
|
D | two_client_apps_sync_test.cc | 399 extension_prefs()->app_sorting()->GetAppLaunchOrdinal( in IN_PROC_BROWSER_TEST_F() 401 GetProfile(0)->GetExtensionService()->extension_prefs()->app_sorting()-> in IN_PROC_BROWSER_TEST_F() 404 verifier()->GetExtensionService()->extension_prefs()->app_sorting()-> in IN_PROC_BROWSER_TEST_F() 413 extension_prefs()->app_sorting()->GetPageOrdinal( in IN_PROC_BROWSER_TEST_F() 415 GetProfile(1)->GetExtensionService()->extension_prefs()-> in IN_PROC_BROWSER_TEST_F() 418 verifier()->GetExtensionService()->extension_prefs()-> in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_module.cc | 13 ExtensionPrefs* SetUpdateUrlDataFunction::extension_prefs() { in extension_prefs() function in SetUpdateUrlDataFunction 14 return profile()->GetExtensionService()->extension_prefs(); in extension_prefs() 21 extension_prefs()->SetUpdateUrlData(extension_id(), data); in RunImpl()
|
D | extension_updater_unittest.cc | 144 ExtensionPrefs* extension_prefs() { return prefs_.prefs(); } in extension_prefs() function in MockService 392 &service, service.extension_prefs(), service.pref_service(), in TestExtensionUpdateCheckRequests() 445 &service, service.extension_prefs(), service.pref_service(), in TestBlacklistUpdateCheckRequests() 525 ManifestFetchesBuilder builder(&service, service.extension_prefs()); in TestUpdateUrlDataFromGallery() 557 &service, service.extension_prefs(), service.pref_service(), in TestDetermineUpdates() 598 &service, service.extension_prefs(), service.pref_service(), in TestDetermineUpdatesPending() 634 ExtensionUpdater updater(service.get(), service->extension_prefs(), in TestMultipleManifestDownloading() 707 ExtensionUpdater updater(service.get(), service->extension_prefs(), in TestSingleExtensionDownloading() 778 &service, service.extension_prefs(), service.pref_service(), in TestBlacklistDownloading() 824 &service, service.extension_prefs(), service.pref_service(), in TestMultipleExtensionDownloading() [all …]
|
D | extension_prefs.cc | 220 Value* extension_prefs = NULL; in CleanupBadExtensionKeys() local 222 i->first, &extension_prefs)); in CleanupBadExtensionKeys() 223 update_dictionary->SetWithoutPathExpansion(i->second, extension_prefs); in CleanupBadExtensionKeys() 941 const DictionaryValue* extension_prefs = GetExtensionPref(extension->id()); in GetBrowserActionVisibility() local 942 if (!extension_prefs) in GetBrowserActionVisibility() 945 if (!extension_prefs->GetBoolean(kBrowserActionVisible, &visible) || visible) in GetBrowserActionVisibility() 1143 DictionaryValue* extension_prefs = update.Get(); in SetIdleInstallInfo() local 1144 if (!extension_prefs) { in SetIdleInstallInfo() 1148 extension_prefs->Remove(kIdleInstallInfo, NULL); in SetIdleInstallInfo() 1154 extension_prefs->Set(kIdleInstallInfo, info); in SetIdleInstallInfo() [all …]
|
D | extension_management_browsertest.cc | 371 ExtensionPrefs* extension_prefs = service->extension_prefs(); in IN_PROC_BROWSER_TEST_F() local 372 EXPECT_TRUE(extension_prefs->IsExternalExtensionUninstalled(kExtensionId)) in IN_PROC_BROWSER_TEST_F() 382 EXPECT_TRUE(extension_prefs->IsExternalExtensionUninstalled(kExtensionId)) in IN_PROC_BROWSER_TEST_F() 388 EXPECT_FALSE(extension_prefs->IsExternalExtensionUninstalled(kExtensionId)) in IN_PROC_BROWSER_TEST_F() 394 EXPECT_FALSE(extension_prefs->IsExternalExtensionUninstalled(kExtensionId)) in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
D | preference_api.cc | 305 extension_prefs()->pref_service()->FindPreference(pref_key.c_str()); in SetExtensionControlledPref() 317 ExtensionPrefs::ScopedDictionaryUpdate update(extension_prefs(), in SetExtensionControlledPref() 333 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in RemoveExtensionControlledPref() 339 ExtensionPrefs::ScopedDictionaryUpdate update(extension_prefs(), in RemoveExtensionControlledPref() 354 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in CanExtensionControlPref() 366 DCHECK(extension_prefs()->pref_service()->FindPreference(pref_key.c_str())) in DoesExtensionControlPref() 384 extension_prefs()->content_settings_store()->AddObserver(this); in PreferenceAPI() 392 if (!extension_prefs()->extensions_disabled()) in Shutdown() 394 extension_prefs()->content_settings_store()->RemoveObserver(this); in Shutdown() 492 extension_prefs()->UpdateExtensionPref( in OnContentSettingChanged() [all …]
|
/external/chromium/chrome/browser/notifications/ |
D | notification_options_menu_model.cc | 171 ExtensionPrefs* extension_prefs = ext_service->extension_prefs(); in GetLabelForCommandId() local 173 if (extension_prefs->GetExtensionState(id) == Extension::ENABLED) in GetLabelForCommandId() 229 ExtensionPrefs* extension_prefs = ext_service->extension_prefs(); in ExecuteCommand() local 231 if (extension_prefs->GetExtensionState(id) == Extension::ENABLED) in ExecuteCommand()
|
/external/chromium_org/chrome/browser/prefs/ |
D | chrome_pref_service_factory.cc | 83 const scoped_refptr<PrefStore>& extension_prefs, in PrepareBuilder() argument 120 factory->set_extension_prefs(extension_prefs); in PrepareBuilder() 155 const scoped_refptr<PrefStore>& extension_prefs, in CreateProfilePrefs() argument 165 extension_prefs, in CreateProfilePrefs()
|
/external/chromium/chrome/browser/prefs/ |
D | pref_value_store.cc | 46 PrefStore* extension_prefs, in PrefValueStore() argument 56 InitPrefStore(EXTENSION_STORE, extension_prefs); in PrefValueStore() 71 PrefStore* extension_prefs, in CloneAndSpecialize() argument 83 if (!extension_prefs) in CloneAndSpecialize() 84 extension_prefs = GetPrefStore(EXTENSION_STORE); in CloneAndSpecialize() 97 managed_platform_prefs, managed_cloud_prefs, extension_prefs, in CloneAndSpecialize()
|
/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()
|
/external/chromium/chrome/browser/ui/webui/ |
D | app_launcher_handler.cc | 226 CreateAppInfo(*it, extensions_service_->extension_prefs(), app_info); in FillAppDictionary() 235 CreateAppInfo(*it, extensions_service_->extension_prefs(), app_info); in FillAppDictionary() 319 extensions_service_->extension_prefs()->pref_service()); in HandleGetApps() 384 extensions_service_->extension_prefs()->GetLaunchContainer( in HandleLaunchApp() 414 extensions_service_->extension_prefs()->SetLaunchType( in HandleSetLaunchType() 483 extensions_service_->extension_prefs()->SetAppDraggedByUser(dragged_app_id); in HandleReorderApps() 484 extensions_service_->extension_prefs()->SetAppLauncherOrder(extension_ids); in HandleReorderApps() 493 extensions_service_->extension_prefs()->SetPageIndex(extension_id, in HandleSetPageIndex() 552 ExtensionPrefs* extension_prefs = extensions_service_->extension_prefs(); in PromptToEnableApp() local 553 if (!extension_prefs->DidExtensionEscalatePermissions(extension_id)) { in PromptToEnableApp()
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
D | rules_cache_delegate.cc | 200 const ExtensionScopedPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in GetDeclarativeRulesStored() local 203 if (extension_prefs->ReadPrefAsBoolean( in GetDeclarativeRulesStored() 220 ExtensionScopedPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in SetDeclarativeRulesStored() local 221 extension_prefs->UpdateExtensionPref( in SetDeclarativeRulesStored()
|
/external/chromium_org/chrome/browser/ui/extensions/ |
D | extension_enable_flow.cc | 87 extensions::ExtensionPrefs* extension_prefs = service->extension_prefs(); in CheckPermissionAndMaybePromptUser() local 88 if (!extension_prefs->DidExtensionEscalatePermissions(extension_id_)) { in CheckPermissionAndMaybePromptUser()
|
/external/chromium_org/chrome/browser/ui/app_list/ |
D | extension_app_model_builder_unittest.cc | 236 extensions::AppSorting* sorting = service_->extension_prefs()->app_sorting(); in TEST_F() 258 extensions::AppSorting* sorting = service_->extension_prefs()->app_sorting(); in TEST_F() 280 extensions::AppSorting* sorting = service_->extension_prefs()->app_sorting(); in TEST_F() 284 extensions::ExtensionScopedPrefs* scoped_prefs = service_->extension_prefs(); in TEST_F() 300 extensions::AppSorting* sorting = service_->extension_prefs()->app_sorting(); in TEST_F()
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | media_galleries_test_util.cc | 61 extensions::ExtensionPrefs* extension_prefs = in AddMediaGalleriesApp() local 63 base::FilePath path = extension_prefs->install_directory().AppendASCII(name); in AddMediaGalleriesApp() 74 extension_prefs->OnExtensionInstalled( in AddMediaGalleriesApp()
|