Home
last modified time | relevance | path

Searched refs:ExtensionPrefs (Results 1 – 25 of 169) sorted by relevance

1234567

/external/chromium_org/extensions/browser/
Dextension_prefs.cc241 void LoadExtensionControlledPrefs(ExtensionPrefs* prefs, in LoadExtensionControlledPrefs()
269 ExtensionPrefs::TimeProvider::TimeProvider() { in TimeProvider()
272 ExtensionPrefs::TimeProvider::~TimeProvider() { in ~TimeProvider()
275 base::Time ExtensionPrefs::TimeProvider::GetCurrentTime() const { in GetCurrentTime()
283 ExtensionPrefs::ScopedUpdate<T, type_enum_value>::ScopedUpdate( in ScopedUpdate()
284 ExtensionPrefs* prefs, in ScopedUpdate()
294 ExtensionPrefs::ScopedUpdate<T, type_enum_value>::~ScopedUpdate() { in ~ScopedUpdate()
298 T* ExtensionPrefs::ScopedUpdate<T, type_enum_value>::Get() { in Get()
312 T* ExtensionPrefs::ScopedUpdate<T, type_enum_value>::Create() { in Create()
332 template class ExtensionPrefs::ScopedUpdate<base::DictionaryValue,
[all …]
Dextension_prefs_factory.cc19 ExtensionPrefs* ExtensionPrefsFactory::GetForBrowserContext( in GetForBrowserContext()
21 return static_cast<ExtensionPrefs*>( in GetForBrowserContext()
31 content::BrowserContext* context, ExtensionPrefs* prefs) { in SetInstanceForTesting()
49 return ExtensionPrefs::Create( in BuildServiceInstanceFor()
Dextension_prefs_factory.h14 class ExtensionPrefs; variable
18 static ExtensionPrefs* GetForBrowserContext(content::BrowserContext* context);
23 content::BrowserContext* context, ExtensionPrefs* prefs);
/external/chromium_org/apps/
Dapp_restore_service.cc22 using extensions::ExtensionPrefs;
45 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in HandleStartup()
66 return ExtensionPrefs::Get(profile_)->IsExtensionRunning(extension_id); in IsAppRestorable()
104 ExtensionPrefs::Get(profile_)->SetExtensionRunning(extension_id, true); in RecordAppStart()
108 ExtensionPrefs::Get(profile_)->SetExtensionRunning(extension_id, false); in RecordAppStop()
113 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); in RecordAppActiveState()
Dsaved_devices_service.cc35 using extensions::ExtensionPrefs;
63 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile); in AddSavedDeviceEntry()
64 ExtensionPrefs::ScopedListUpdate update(prefs, extension_id, kDevices); in AddSavedDeviceEntry()
76 void ClearSavedDeviceEntries(ExtensionPrefs* prefs, in ClearSavedDeviceEntries()
83 ExtensionPrefs* prefs, in GetSavedDeviceEntries()
212 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in SavedDevices()
271 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in GetAllDevices()
277 ClearSavedDeviceEntries(ExtensionPrefs::Get(profile_), extension_id); in Clear()
Dsaved_files_service.cc30 using extensions::ExtensionPrefs;
56 void AddSavedFileEntry(ExtensionPrefs* prefs, in AddSavedFileEntry()
59 ExtensionPrefs::ScopedDictionaryUpdate update( in AddSavedFileEntry()
75 void UpdateSavedFileEntry(ExtensionPrefs* prefs, in UpdateSavedFileEntry()
78 ExtensionPrefs::ScopedDictionaryUpdate update( in UpdateSavedFileEntry()
91 void RemoveSavedFileEntry(ExtensionPrefs* prefs, in RemoveSavedFileEntry()
94 ExtensionPrefs::ScopedDictionaryUpdate update( in RemoveSavedFileEntry()
103 void ClearSavedFileEntries(ExtensionPrefs* prefs, in ClearSavedFileEntries()
110 ExtensionPrefs* prefs, in GetSavedFileEntries()
250 return GetSavedFileEntries(ExtensionPrefs::Get(profile_), extension_id); in GetAllFileEntries()
[all …]
Dapp_restore_service_browsertest.cc19 using extensions::ExtensionPrefs;
38 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
65 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
175 ExtensionPrefs* extension_prefs = in IN_PROC_BROWSER_TEST_F()
176 ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
Dapp_load_service.cc25 using extensions::ExtensionPrefs;
125 extensions::ExtensionPrefs* extension_prefs = in OnExtensionUnloaded()
126 extensions::ExtensionPrefs::Get(browser_context); in OnExtensionUnloaded()
138 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in WasUnloadedForReload()
/external/chromium_org/chrome/browser/extensions/
Dlaunch_util.h26 class ExtensionPrefs; variable
32 LaunchType GetLaunchType(const ExtensionPrefs* prefs,
37 LaunchType GetLaunchTypePrefValue(const ExtensionPrefs* prefs,
48 LaunchContainer GetLaunchContainer(const ExtensionPrefs* prefs,
54 bool HasPreferredLaunchContainer(const ExtensionPrefs* prefs,
Dtest_extension_system.cc63 ExtensionPrefs* TestExtensionSystem::CreateExtensionPrefs( in CreateExtensionPrefs()
74 ExtensionPrefs* extension_prefs = ExtensionPrefs::Create( in CreateExtensionPrefs()
91 if (!ExtensionPrefs::Get(profile_)) in CreateExtensionService()
94 new InstallVerifier(ExtensionPrefs::Get(profile_), profile_)); in CreateExtensionService()
101 blacklist_.reset(new Blacklist(ExtensionPrefs::Get(profile_))); in CreateExtensionService()
110 ExtensionPrefs::Get(profile_), in CreateExtensionService()
Dextension_util.cc98 return ExtensionPrefs::Get(context)->IsIncognitoEnabled(extension_id); in IsIncognitoEnabled()
124 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(context); in SetIsIncognitoEnabled()
169 ExtensionPrefs::Get(context)->AllowFileAccess(extension_id); in AllowFileAccess()
180 ExtensionPrefs::Get(context)->SetAllowFileAccess(extension_id, allow); in SetAllowFileAccess()
188 return ExtensionPrefs::Get(context)->ReadPrefAsBoolean( in AllowedScriptingOnAllUrls()
201 ExtensionPrefs::Get(context)->UpdateExtensionPref( in SetAllowedScriptingOnAllUrls()
232 int reason = ExtensionPrefs::Get(context)->GetDisableReasons(extension_id); in IsAppLaunchable()
246 !ExtensionPrefs::Get(context)->DoNotSync(extension->id()); in ShouldSyncExtension()
252 !ExtensionPrefs::Get(context)->DoNotSync(app->id()); in ShouldSyncApp()
Dlaunch_util.cc45 LaunchType GetLaunchType(const ExtensionPrefs* prefs, in GetLaunchType()
70 LaunchType GetLaunchTypePrefValue(const ExtensionPrefs* prefs, in GetLaunchTypePrefValue()
82 ExtensionPrefs::Get(service->profile())->UpdateExtensionPref( in SetLaunchType()
95 LaunchContainer GetLaunchContainer(const ExtensionPrefs* prefs, in GetLaunchContainer()
148 bool HasPreferredLaunchContainer(const ExtensionPrefs* prefs, in HasPreferredLaunchContainer()
Dtest_extension_prefs.h30 class ExtensionPrefs; variable
40 ExtensionPrefs* prefs() { return prefs_.get(); } in prefs()
41 const ExtensionPrefs& const_prefs() const { in const_prefs()
93 scoped_ptr<ExtensionPrefs> prefs_;
Dtest_extension_environment.h36 class ExtensionPrefs; variable
57 ExtensionPrefs* GetExtensionPrefs();
82 ExtensionPrefs* extension_prefs_;
Dextension_error_controller.cc82 ExtensionPrefs* prefs = ExtensionPrefs::Get(browser_context_); in OnAlertClosed()
95 ExtensionPrefs* prefs = ExtensionPrefs::Get(browser_context_); in IdentifyAlertableExtensions()
Dextension_sync_service.h31 class ExtensionPrefs; variable
43 extensions::ExtensionPrefs* extension_prefs,
51 const extensions::ExtensionPrefs& extension_prefs() const { in extension_prefs()
138 extensions::ExtensionPrefs* extension_prefs_;
Dsettings_api_bubble_controller.cc93 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in ShouldIncludeExtension()
121 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in AcknowledgeExtension()
295 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in ShouldShow()
Dsuspicious_extension_bubble_controller.cc75 extensions::ExtensionPrefs* prefs = extensions::ExtensionPrefs::Get(profile_); in ShouldIncludeExtension()
89 extensions::ExtensionPrefs* prefs = extensions::ExtensionPrefs::Get(profile_); in AcknowledgeExtension()
Dinstall_verifier.h30 class ExtensionPrefs; variable
45 InstallVerifier(ExtensionPrefs* prefs, content::BrowserContext* context);
149 ExtensionPrefs* prefs_;
/external/chromium_org/chrome/browser/apps/
Dephemeral_app_service.cc29 using extensions::ExtensionPrefs;
88 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in ClearCachedApps()
209 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in InitEphemeralAppCount()
236 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in DisableEphemeralAppsOnStartup()
279 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in HandleEphemeralAppPromoted()
304 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); in GarbageCollectApps()
Dephemeral_app_service_browsertest.cc17 using extensions::ExtensionPrefs;
77 ExtensionPrefs* prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
197 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_app_helper.cc23 using extensions::ExtensionPrefs;
65 ExtensionPrefs* prefs = ExtensionPrefs::Get(context); in LoadApp()
175 return ExtensionPrefs::Get(profile)->app_sorting()->GetPageOrdinal( in GetPageOrdinalForApp()
183 ExtensionPrefs::Get(profile)->app_sorting()->SetPageOrdinal( in SetPageOrdinalForApp()
190 return ExtensionPrefs::Get(profile)->app_sorting()->GetAppLaunchOrdinal( in GetAppLaunchOrdinalForApp()
198 ExtensionPrefs::Get(profile)->app_sorting()->SetAppLaunchOrdinal( in SetAppLaunchOrdinalForApp()
203 ExtensionPrefs::Get(profile)->app_sorting()->FixNTPOrdinalCollisions(); in FixNTPOrdinalCollisions()
/external/chromium_org/chrome/browser/extensions/api/permissions/
Dpermissions_apitest.cc81 ExtensionPrefs* prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
138 ExtensionPrefs* prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/app_list/
Drecommended_apps.cc43 extensions::ExtensionPrefs* prefs = extensions::ExtensionPrefs::Get(profile_); in RecommendedApps()
64 extensions::ExtensionPrefs* prefs = extensions::ExtensionPrefs::Get(profile_); in Update()
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
Dsigned_in_devices_api.cc31 ExtensionPrefs* extension_prefs, in GetIdMappingDictionary()
57 ExtensionPrefs* extension_prefs) { in GetAllSignedInDevices()
92 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile); in GetAllSignedInDevices()

1234567