Home
last modified time | relevance | path

Searched refs:extension_prefs (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
Dextension_module.cc13 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()
Dextension_updater_unittest.cc144 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 …]
Dextension_prefs.cc220 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 …]
Dextension_management_browsertest.cc371 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()
Dextension_management_api.cc157 bool enabled = service()->extension_prefs()-> in RunImpl()
185 service()->extension_prefs()->GetLaunchContainer( in RunImpl()
207 ExtensionPrefs* prefs = service()->extension_prefs(); in RunImpl()
236 ExtensionPrefs* prefs = service()->extension_prefs(); in RunImpl()
Dextension_preference_api.cc96 ExtensionPrefs* ep = profile->GetExtensionService()->extension_prefs(); in GetLevelOfControl()
247 ExtensionPrefs* ep = extension_service->extension_prefs(); in OnPrefChanged()
327 ExtensionPrefs* ep = profile_->GetExtensionService()->extension_prefs(); in RunImpl()
365 ExtensionPrefs* prefs = profile_->GetExtensionService()->extension_prefs(); in RunImpl()
409 ExtensionPrefs* prefs = profile_->GetExtensionService()->extension_prefs(); in RunImpl()
Dextension_toolbar_model.cc175 std::vector<std::string> pref_order = service_->extension_prefs()-> in InitializeExtensionList()
223 if (!service_->extension_prefs()) in UpdatePrefs()
230 service_->extension_prefs()->SetToolbarOrder(ids); in UpdatePrefs()
Dextension_management_apitest.cc105 service->extension_prefs()->SetLaunchType( in IN_PROC_BROWSER_TEST_F()
153 service->extension_prefs()->SetLaunchType( in IN_PROC_BROWSER_TEST_F()
Dextension_module.h19 ExtensionPrefs* extension_prefs();
Dbrowser_action_apitest.cc298 browser()->profile()->GetExtensionService()->extension_prefs()-> in IN_PROC_BROWSER_TEST_F()
333 service->extension_prefs()->SetIsIncognitoEnabled( in IN_PROC_BROWSER_TEST_F()
335 service->extension_prefs()->SetIsIncognitoEnabled( in IN_PROC_BROWSER_TEST_F()
Dcrx_installer.cc338 if (frontend_->extension_prefs()->IsExtensionBlacklisted(extension_->id())) { in ConfirmInstall()
345 if (!frontend_->extension_prefs()->IsExtensionAllowedByPolicy( in ConfirmInstall()
363 frontend_->extension_prefs()->GetVersionString(extension_->id()); in ConfirmInstall()
Dextension_service.h170 ExtensionPrefs* extension_prefs,
391 ExtensionPrefs* extension_prefs();
Dextension_webstore_private_api.cc452 ExtensionPrefs* prefs = service->extension_prefs(); in RunImpl()
468 ExtensionPrefs* prefs = service->extension_prefs(); in RunImpl()
Dextension_updater.h174 ExtensionPrefs* extension_prefs,
Dextension_prefs_unittest.cc631 Value* extension_prefs; in Initialize() local
633 extension_id_, &extension_prefs)); in Initialize()
635 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", extension_prefs); in Initialize()
/external/chromium/chrome/browser/notifications/
Dnotification_options_menu_model.cc171 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/chrome/browser/prefs/
Dpref_value_store.cc46 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()
Dpref_value_store.h53 PrefStore* extension_prefs,
66 PrefStore* extension_prefs,
Dpref_service.cc88 PrefStore* extension_prefs, in CreatePrefService() argument
90 return CreatePrefServiceAsync(pref_filename, extension_prefs, profile, NULL); in CreatePrefService()
96 PrefStore* extension_prefs, in CreatePrefServiceAsync() argument
130 return new PrefService(managed_platform, managed_cloud, extension_prefs, in CreatePrefServiceAsync()
142 PrefStore* extension_prefs, in PrefService() argument
156 extension_prefs, in PrefService()
Dpref_service.h259 PrefStore* extension_prefs,
/external/chromium/chrome/browser/ui/webui/
Dapp_launcher_handler.cc226 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()
Dapp_launcher_handler.h40 ExtensionPrefs* extension_prefs,
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pref_provider_unittest.cc30 PrefStore* extension_prefs, in ContentSettingsPrefService() argument
37 managed_platform_prefs, managed_cloud_prefs, extension_prefs, in ContentSettingsPrefService()
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_popup_controller_unittest.mm8 #include "chrome/browser/extensions/extension_prefs.h"
/external/chromium/chrome/browser/ui/
Dbrowser_init_browsertest.cc40 service->extension_prefs()->SetLaunchType(app_id, launch_type); in SetAppLaunchPref()

12