Home
last modified time | relevance | path

Searched refs:extension_service (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/external/chromium_org/chrome/browser/extensions/
Dnavigation_observer.cc59 ExtensionService* extension_service = in PromptToEnableExtensionIfNecessary() local
60 extensions::ExtensionSystem::Get(profile_)->extension_service(); in PromptToEnableExtensionIfNecessary()
61 const Extension* extension = extension_service->disabled_extensions()-> in PromptToEnableExtensionIfNecessary()
71 ExtensionPrefs* extension_prefs = extension_service->extension_prefs(); in PromptToEnableExtensionIfNecessary()
85 ExtensionService* extension_service = in InstallUIProceed() local
86 extensions::ExtensionSystem::Get(profile_)->extension_service(); in InstallUIProceed()
87 const Extension* extension = extension_service->GetExtensionById( in InstallUIProceed()
99 extension_service->GrantPermissionsAndEnableExtension(extension); in InstallUIProceed()
104 ExtensionService* extension_service = in InstallUIAbort() local
105 extensions::ExtensionSystem::Get(profile_)->extension_service(); in InstallUIAbort()
[all …]
Dextension_error_ui_android.cc8 ExtensionService* extension_service) in ExtensionErrorUIAndroid() argument
9 : ExtensionErrorUI(extension_service) { in ExtensionErrorUIAndroid()
31 ExtensionService* extension_service) { in Create() argument
32 return new ExtensionErrorUIAndroid(extension_service); in Create()
Dextension_error_ui_default.cc15 ExtensionService* extension_service) in ExtensionErrorUIDefault() argument
16 : ExtensionErrorUI(extension_service), in ExtensionErrorUIDefault()
26 chrome::FindLastActiveWithProfile(extension_service()->profile(), in ShowErrorInBubbleView()
112 ExtensionService* extension_service) { in Create() argument
113 return new ExtensionErrorUIDefault(extension_service); in Create()
Dextension_toolbar_model.cc175 ExtensionService* extension_service = in Observe() local
176 extensions::ExtensionSystem::Get(profile_)->extension_service(); in Observe()
177 if (!extension_service || !extension_service->is_ready()) in Observe()
181 InitializeExtensionList(extension_service); in Observe()
191 extension = extension_service->GetExtensionById( in Observe()
399 ExtensionService* extension_service = in IncognitoIndexToOriginal() local
400 extensions::ExtensionSystem::Get(profile_)->extension_service(); in IncognitoIndexToOriginal()
404 if (extension_util::IsIncognitoEnabled((*iter)->id(), extension_service)) { in IncognitoIndexToOriginal()
415 ExtensionService* extension_service = in OriginalIndexToIncognito() local
416 extensions::ExtensionSystem::Get(profile_)->extension_service(); in OriginalIndexToIncognito()
[all …]
Dextension_context_menu_model.cc120 extension_service()->extension_prefs(), in ExecuteCommand()
148 extensions::ExtensionSystem::Get(profile_)->extension_service()-> in ExtensionUninstallAccepted()
184 ExtensionService* extension_service = in GetExtension() local
185 extensions::ExtensionSystem::Get(profile_)->extension_service(); in GetExtension()
186 return extension_service->GetExtensionById(extension_id_, false); in GetExtension()
Dextension_error_ui.h20 static ExtensionErrorUI* Create(ExtensionService* extension_service);
54 explicit ExtensionErrorUI(ExtensionService* extension_service);
56 ExtensionService* extension_service() const { return extension_service_; } in extension_service() function
Dscript_bubble_controller.cc40 ExtensionService* extension_service = GetExtensionService(); in OnScriptsExecuted() local
46 extension_service->extensions()->GetByID(i->first); in OnScriptsExecuted()
76 return ExtensionSystem::Get(profile())->extension_service(); in GetExtensionService()
/external/chromium_org/chrome/browser/ui/app_list/search/
Dapp_search_provider.cc93 ExtensionService* extension_service = in RefreshApps() local
95 extension_service(); in RefreshApps()
96 if (!extension_service) in RefreshApps()
101 AddApps(extension_service->extensions(), extension_service); in RefreshApps()
102 AddApps(extension_service->disabled_extensions(), extension_service); in RefreshApps()
103 AddApps(extension_service->terminated_extensions(), extension_service); in RefreshApps()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dlauncher_app_tab_helper.cc22 ExtensionService* extension_service = profile->GetExtensionService(); in GetExtensionForTab() local
23 if (!extension_service || !extension_service->extensions_enabled()) in GetExtensionForTab()
30 return extension_service->GetInstalledApp(url); in GetExtensionForTab()
35 ExtensionService* extension_service = profile->GetExtensionService(); in GetExtensionByID() local
36 if (!extension_service || !extension_service->extensions_enabled()) in GetExtensionByID()
38 return extension_service->GetInstalledExtension(id); in GetExtensionByID()
/external/chromium_org/apps/
Dapp_restore_service.cc53 ExtensionService* extension_service = in HandleStartup() local
54 ExtensionSystem::Get(profile_)->extension_service(); in HandleStartup()
55 const ExtensionSet* extensions = extension_service->extensions(); in HandleStartup()
56 ExtensionPrefs* extension_prefs = extension_service->extension_prefs(); in HandleStartup()
117 ExtensionSystem::Get(profile_)->extension_service()->extension_prefs(); in RecordAppStart()
123 ExtensionSystem::Get(profile_)->extension_service()->extension_prefs(); in RecordAppStop()
129 ExtensionService* extension_service = in RecordAppActiveState() local
130 ExtensionSystem::Get(profile_)->extension_service(); in RecordAppActiveState()
131 ExtensionPrefs* extension_prefs = extension_service->extension_prefs(); in RecordAppActiveState()
/external/chromium_org/chrome/browser/extensions/api/declarative/
Drules_cache_delegate.cc128 ExtensionService* extension_service = system.extension_service(); in ReadRulesForInstalledExtensions() local
129 DCHECK(extension_service); in ReadRulesForInstalledExtensions()
132 DCHECK(!profile_->IsOffTheRecord() || extension_service->is_ready()); in ReadRulesForInstalledExtensions()
133 if (extension_service->is_ready()) { in ReadRulesForInstalledExtensions()
134 const ExtensionSet* extensions = extension_service->extensions(); in ReadRulesForInstalledExtensions()
143 extension_util::IsIncognitoEnabled((*i)->id(), extension_service); in ReadRulesForInstalledExtensions()
217 ExtensionService* extension_service = system.extension_service(); in SetDeclarativeRulesStored() local
218 DCHECK(extension_service); in SetDeclarativeRulesStored()
219 DCHECK(extension_service->GetInstalledExtension(extension_id)); in SetDeclarativeRulesStored()
/external/chromium_org/chrome/browser/notifications/
Dnotification_options_menu_model.cc140 ExtensionService* extension_service = in NotificationOptionsMenuModel() local
143 extension_service->extensions()->GetExtensionOrAppByURL(origin); in NotificationOptionsMenuModel()
191 ExtensionService* extension_service = in GetLabelForCommandId() local
194 extension_service->extensions()->GetExtensionOrAppByURL(origin); in GetLabelForCommandId()
197 extension_service->IsExtensionEnabled(extension->id()) ? in GetLabelForCommandId()
240 ExtensionService* extension_service = in ExecuteCommand() local
252 extension_service->extensions()->GetExtensionOrAppByURL(origin); in ExecuteCommand()
255 if (extension_service->IsExtensionEnabled(id)) in ExecuteCommand()
256 extension_service->DisableExtension( in ExecuteCommand()
259 extension_service->EnableExtension(id); in ExecuteCommand()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_app_helper.cc45 void LoadApp(ExtensionService* extension_service, in LoadApp() argument
48 app_state->app_launch_ordinal = extension_service->extension_prefs()-> in LoadApp()
50 app_state->page_ordinal = extension_service->extension_prefs()-> in LoadApp()
58 ExtensionService* extension_service = profile->GetExtensionService(); in GetAppStates() local
61 extension_service->GenerateInstalledExtensionsSet()); in GetAppStates()
66 LoadApp(extension_service, id, &(app_state_map[id])); in GetAppStates()
71 extension_service->pending_extension_manager(); in GetAppStates()
78 LoadApp(extension_service, *id, &(app_state_map[*id])); in GetAppStates()
/external/chromium/chrome/browser/extensions/
Dextension_context_menu_model.cc123 ExtensionService* extension_service = profile_->GetExtensionService(); in ExecuteCommand() local
124 extension_service->SetBrowserActionVisibility(extension, false); in ExecuteCommand()
128 ExtensionService* extension_service = profile_->GetExtensionService(); in ExecuteCommand() local
129 extension_service->DisableExtension(extension_id_); in ExecuteCommand()
166 ExtensionService* extension_service = profile_->GetExtensionService(); in GetExtension() local
167 return extension_service->GetExtensionById(extension_id_, false); in GetExtension()
/external/chromium_org/chrome/browser/ui/webui/sync_file_system_internals/
Dextension_statuses_handler.cc49 ExtensionService* extension_service = in GetExtensionStatusesAsDictionary() local
50 extensions::ExtensionSystem::Get(profile)->extension_service(); in GetExtensionStatusesAsDictionary()
51 if (!extension_service) in GetExtensionStatusesAsDictionary()
60 extension_service->GetExtensionById(extension_id, true); in GetExtensionStatusesAsDictionary()
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_controller_delegate.cc26 extensions::ExtensionSystem::Get(profile)->extension_service(); in GetExtension()
109 extensions::ExtensionSystem::Get(profile)->extension_service(); in HasOptionsPage()
134 extensions::ExtensionSystem::Get(profile)->extension_service(); in GetExtensionLaunchType()
144 extensions::ExtensionSystem::Get(profile)->extension_service(); in SetExtensionLaunchType()
156 if (extensions::ExtensionSystem::Get(profile)->extension_service()) in GetInstallTrackerFor()
164 extensions::ExtensionSystem::Get(profile)->extension_service(); in GetApps()
Dapp_list_syncable_service_factory.cc43 ExtensionService* extension_service = in BuildServiceInstanceFor() local
44 extensions::ExtensionSystem::Get(profile)->extension_service(); in BuildServiceInstanceFor()
45 return new AppListSyncableService(profile, extension_service); in BuildServiceInstanceFor()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextension_info_ui.cc60 ExtensionService* extension_service = ExtensionSystem::Get( in AddExtensionDataToSource() local
61 Profile::FromWebUI(web_ui()))->extension_service(); in AddExtensionDataToSource()
63 extension_service->extensions()->GetByID(extension_id); in AddExtensionDataToSource()
79 base::Time install_time = extension_service->extension_prefs()-> in AddExtensionDataToSource()
/external/chromium_org/chrome/browser/apps/
Dapp_launch_for_metro_restart_win.cc33 ExtensionService* extension_service = in LaunchAppWithId() local
34 ExtensionSystem::Get(profile)->extension_service(); in LaunchAppWithId()
35 if (!extension_service) in LaunchAppWithId()
39 extension_service->GetExtensionById(extension_id, false); in LaunchAppWithId()
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_helpers.cc96 ExtensionService* extension_service = in DispatchEventToExtensions() local
97 ExtensionSystem::Get(profile)->extension_service(); in DispatchEventToExtensions()
98 const ExtensionSet* extensions = extension_service->extensions(); in DispatchEventToExtensions()
106 extension_util::CanCrossIncognito(it->get(), extension_service))) { in DispatchEventToExtensions()
124 extension_service)) { in DispatchEventToExtensions()
/external/chromium_org/chrome/browser/chromeos/kiosk_mode/
Dkiosk_mode_screensaver.cc45 default_profile)->extension_service(); in GetDefaultExtensionService()
209 ExtensionService* extension_service = GetDefaultExtensionService(); in ScreensaverPathCallback() local
210 if (!extension_service) in ScreensaverPathCallback()
212 base::FilePath extensions_dir = extension_service->install_directory(); in ScreensaverPathCallback()
247 ExtensionService* extension_service = GetDefaultExtensionService(); in SetupScreensaver() local
249 if (extension_service) { in SetupScreensaver()
250 extension_service->AddExtension(extension.get()); in SetupScreensaver()
/external/chromium_org/chrome/browser/renderer_host/pepper/
Dpepper_isolated_file_system_message_filter.cc106 const ExtensionService* extension_service = in CreateCrxFileSystem() local
107 extension_system->extension_service(); in CreateCrxFileSystem()
108 if (!extension_service) in CreateCrxFileSystem()
112 extension_service->GetExtensionById(document_url_.host(), false); in CreateCrxFileSystem()
147 extension_service()->extensions(); in OpenCrxFileSystem()
/external/chromium_org/chrome/browser/background/
Dbackground_contents_service.cc128 extensions::ExtensionSystem::Get(profile_)->extension_service()-> in Click()
223 if (!extension_system || !extension_system->extension_service()) in ReloadExtension()
225 if (!extension_system->extension_service()-> in ReloadExtension()
231 extension_system->extension_service()->ReloadExtension(extension_id); in ReloadExtension()
370 ExtensionService* extension_service = in Observe() local
371 extensions::ExtensionSystem::Get(profile)->extension_service(); in Observe()
373 if (extension_service) { in Observe()
375 extension_service->GetExtensionById(UTF16ToUTF8(appid), false); in Observe()
393 extensions::ExtensionSystem::Get(profile)->extension_service(); in Observe()
421 extensions::ExtensionSystem::Get(profile)->extension_service()-> in Observe()
[all …]
/external/chromium_org/chrome/browser/autocomplete/
Dextension_app_provider.cc49 extension_service(); in LaunchAppFromOmnibox()
151 ExtensionService* extension_service = in RefreshAppList() local
153 extension_service(); in RefreshAppList()
154 if (!extension_service) in RefreshAppList()
156 const ExtensionSet* extensions = extension_service->extensions(); in RefreshAppList()
167 !extension_util::CanLoadInIncognito(app, extension_service)) in RefreshAppList()
/external/chromium_org/chrome/browser/extensions/error_console/
Derror_console.cc73 ExtensionService* extension_service) in ErrorConsole() argument
92 Enable(extension_service); in ErrorConsole()
164 Enable(ExtensionSystem::Get(profile_)->extension_service()); in OnPrefChanged()
169 void ErrorConsole::Enable(ExtensionService* extension_service) { in Enable() argument
185 if (extension_service) { in Enable()
187 const ExtensionSet* extensions = extension_service->extensions(); in Enable()

12345678910>>...13