Home
last modified time | relevance | path

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

123456

/external/chromium_org/chrome/browser/extensions/
Dextension_prefs.cc227 ExtensionPrefs::TimeProvider::TimeProvider() { in TimeProvider()
230 ExtensionPrefs::TimeProvider::~TimeProvider() { in ~TimeProvider()
233 base::Time ExtensionPrefs::TimeProvider::GetCurrentTime() const { in GetCurrentTime()
241 ExtensionPrefs::ScopedUpdate<T, type_enum_value>::ScopedUpdate( in ScopedUpdate()
242 ExtensionPrefs* prefs, in ScopedUpdate()
252 ExtensionPrefs::ScopedUpdate<T, type_enum_value>::~ScopedUpdate() { in ~ScopedUpdate()
256 T* ExtensionPrefs::ScopedUpdate<T, type_enum_value>::Get() { in Get()
270 T* ExtensionPrefs::ScopedUpdate<T, type_enum_value>::Create() { in Create()
290 template class ExtensionPrefs::ScopedUpdate<DictionaryValue,
292 template class ExtensionPrefs::ScopedUpdate<ListValue, Value::TYPE_LIST>;
[all …]
Dlaunch_util.h15 class ExtensionPrefs; variable
21 LaunchType GetLaunchType(const ExtensionPrefs* prefs,
25 void SetLaunchType(ExtensionPrefs* prefs,
32 LaunchContainer GetLaunchContainer(const ExtensionPrefs* prefs,
38 bool HasPreferredLaunchContainer(const ExtensionPrefs* prefs,
Dtest_extension_system.cc56 ExtensionPrefs* TestExtensionSystem::CreateExtensionPrefs( in CreateExtensionPrefs()
67 ExtensionPrefs* extension_prefs = ExtensionPrefs::Create( in CreateExtensionPrefs()
83 if (!ExtensionPrefs::Get(profile_)) in CreateExtensionService()
85 install_verifier_.reset(new InstallVerifier(ExtensionPrefs::Get(profile_), in CreateExtensionService()
93 blacklist_.reset(new Blacklist(ExtensionPrefs::Get(profile_))); in CreateExtensionService()
95 new StandardManagementPolicyProvider(ExtensionPrefs::Get(profile_))); in CreateExtensionService()
102 ExtensionPrefs::Get(profile_), in CreateExtensionService()
Dextension_prefs_factory.cc21 ExtensionPrefs* ExtensionPrefsFactory::GetForBrowserContext( in GetForBrowserContext()
23 return static_cast<ExtensionPrefs*>( in GetForBrowserContext()
33 content::BrowserContext* context, ExtensionPrefs* prefs) { in SetInstanceForTesting()
49 return ExtensionPrefs::Create( in BuildServiceInstanceFor()
Dtest_extension_prefs.h30 class ExtensionPrefs; variable
39 ExtensionPrefs* prefs() { return prefs_.get(); } in prefs()
40 const ExtensionPrefs& const_prefs() const { in const_prefs()
92 scoped_ptr<ExtensionPrefs> prefs_;
Dextension_prefs_factory.h14 class ExtensionPrefs; variable
18 static ExtensionPrefs* GetForBrowserContext(content::BrowserContext* context);
23 content::BrowserContext* context, ExtensionPrefs* prefs);
Dlaunch_util.cc33 LaunchType GetLaunchType(const ExtensionPrefs* prefs, in GetLaunchType()
69 void SetLaunchType(ExtensionPrefs* prefs, in SetLaunchType()
76 LaunchContainer GetLaunchContainer(const ExtensionPrefs* prefs, in GetLaunchContainer()
129 bool HasPreferredLaunchContainer(const ExtensionPrefs* prefs, in HasPreferredLaunchContainer()
Dstandard_management_policy_provider.h14 class ExtensionPrefs; variable
21 explicit StandardManagementPolicyProvider(ExtensionPrefs* prefs);
35 ExtensionPrefs* const prefs_;
Dtest_extension_environment.h36 class ExtensionPrefs; variable
57 ExtensionPrefs* GetExtensionPrefs();
82 ExtensionPrefs* extension_prefs_;
Dextension_sync_service.h32 class ExtensionPrefs; variable
44 extensions::ExtensionPrefs* extension_prefs,
52 const extensions::ExtensionPrefs& extension_prefs() const { in extension_prefs()
134 extensions::ExtensionPrefs* extension_prefs_;
Dinstall_verifier.h25 class ExtensionPrefs; variable
40 InstallVerifier(ExtensionPrefs* prefs,
128 ExtensionPrefs* prefs_;
Dinstalled_loader.h12 class ExtensionPrefs; variable
34 ExtensionPrefs* extension_prefs_;
Dextension_prefs.h58 class ExtensionPrefs : public ExtensionScopedPrefs,
99 ScopedUpdate(ExtensionPrefs* prefs,
129 static ExtensionPrefs* Create(
138 static ExtensionPrefs* Create(
146 virtual ~ExtensionPrefs();
149 static ExtensionPrefs* Get(content::BrowserContext* context);
506 ExtensionPrefs(PrefService* prefs,
632 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs);
Dtest_extension_prefs.cc40 class IncrementalTimeProvider : public ExtensionPrefs::TimeProvider {
86 ExtensionPrefs::RegisterProfilePrefs(pref_registry_.get()); in ResetPrefRegistry()
113 prefs_.reset(ExtensionPrefs::Create( in RecreateExtensionPrefs()
121 scoped_ptr<ExtensionPrefs::TimeProvider>( in RecreateExtensionPrefs()
Dextension_system.cc107 event_router_.reset(new EventRouter(profile_, ExtensionPrefs::Get(profile_))); in InitPrefs()
123 blacklist_.reset(new Blacklist(ExtensionPrefs::Get(profile_))); in InitPrefs()
126 new StandardManagementPolicyProvider(ExtensionPrefs::Get(profile_))); in InitPrefs()
183 ExtensionPrefs::Get(profile_), in Init()
192 install_verifier_.reset(new InstallVerifier(ExtensionPrefs::Get(profile_), in Init()
414 install_time = ExtensionPrefs::Get(profile_)-> in RegisterExtensionWithRequestContexts()
/external/chromium/chrome/browser/extensions/
Dextension_prefs.cc121 DictionaryPrefUpdate(service, ExtensionPrefs::kExtensionsPref), in ScopedExtensionPrefUpdate()
146 DictionaryPrefUpdate(service, ExtensionPrefs::kExtensionsPref), in ScopedExtensionControlledPrefUpdate()
174 prefs->GetDictionary(ExtensionPrefs::kExtensionsPref); in CleanupBadExtensionKeys()
209 DictionaryPrefUpdate update(prefs, ExtensionPrefs::kExtensionsPref); in CleanupBadExtensionKeys()
241 ExtensionPrefs::ExtensionPrefs( in ExtensionPrefs() function in ExtensionPrefs
256 ExtensionPrefs::~ExtensionPrefs() {} in ~ExtensionPrefs()
259 const char ExtensionPrefs::kExtensionsPref[] = "extensions.settings";
274 void ExtensionPrefs::MakePathsRelative() { in MakePathsRelative()
318 void ExtensionPrefs::MakePathsAbsolute(DictionaryValue* dict) { in MakePathsAbsolute()
347 DictionaryValue* ExtensionPrefs::CopyCurrentExtensions() { in CopyCurrentExtensions()
[all …]
Dtest_extension_prefs.h16 class ExtensionPrefs; variable
27 ExtensionPrefs* prefs() { return prefs_.get(); } in prefs()
28 const ExtensionPrefs& const_prefs() const { return *prefs_.get(); } in const_prefs()
56 scoped_ptr<ExtensionPrefs> prefs_;
Dextension_module.h11 class ExtensionPrefs; variable
19 ExtensionPrefs* extension_prefs();
Dextension_updater.h29 class ExtensionPrefs; variable
110 ExtensionPrefs* prefs);
147 ExtensionPrefs* const prefs_;
174 ExtensionPrefs* extension_prefs,
348 ExtensionPrefs* extension_prefs_;
/external/chromium_org/apps/
Dsaved_files_service.cc28 using extensions::ExtensionPrefs;
54 void AddSavedFileEntry(ExtensionPrefs* prefs, in AddSavedFileEntry()
57 ExtensionPrefs::ScopedDictionaryUpdate update( in AddSavedFileEntry()
73 void UpdateSavedFileEntry(ExtensionPrefs* prefs, in UpdateSavedFileEntry()
76 ExtensionPrefs::ScopedDictionaryUpdate update( in UpdateSavedFileEntry()
89 void RemoveSavedFileEntry(ExtensionPrefs* prefs, in RemoveSavedFileEntry()
92 ExtensionPrefs::ScopedDictionaryUpdate update( in RemoveSavedFileEntry()
101 void ClearSavedFileEntries(ExtensionPrefs* prefs, in ClearSavedFileEntries()
108 ExtensionPrefs* prefs, in GetSavedFileEntries()
248 return GetSavedFileEntries(ExtensionPrefs::Get(profile_), extension_id); in GetAllFileEntries()
[all …]
Dapp_restore_service.cc28 using extensions::ExtensionPrefs;
56 ExtensionPrefs* extension_prefs = extension_service->extension_prefs(); in HandleStartup()
77 return extensions::ExtensionPrefs::Get(profile_) ->IsExtensionRunning( in IsAppRestorable()
116 ExtensionPrefs* extension_prefs = in RecordAppStart()
122 ExtensionPrefs* extension_prefs = in RecordAppStop()
131 ExtensionPrefs* extension_prefs = extension_service->extension_prefs(); in RecordAppActiveState()
Dapp_restore_service_browsertest.cc19 using extensions::ExtensionPrefs;
38 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
128 ExtensionPrefs* extension_prefs = in IN_PROC_BROWSER_TEST_F()
129 ExtensionPrefs::Get(browser()->profile()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_api.h26 class ExtensionPrefs; variable
87 virtual ExtensionPrefs* extension_prefs() = 0;
113 static void LoadExtensionControlledPrefs(ExtensionPrefs* prefs,
121 static void InitExtensionControlledPrefs(ExtensionPrefs* prefs,
135 virtual ExtensionPrefs* extension_prefs() OVERRIDE;
Dpreference_api.cc285 ExtensionPrefs* ep = ExtensionPrefs::Get(profile_); in OnPrefChanged()
317 ExtensionPrefs::ScopedDictionaryUpdate update(extension_prefs(), in SetExtensionControlledPref()
339 ExtensionPrefs::ScopedDictionaryUpdate update(extension_prefs(), in RemoveExtensionControlledPref()
417 ExtensionPrefs* prefs, in LoadExtensionControlledPrefs()
441 ExtensionPrefs* prefs, in InitExtensionControlledPrefs()
518 ExtensionPrefs* PreferenceAPI::extension_prefs() { in extension_prefs()
519 return ExtensionPrefs::Get(profile_); in extension_prefs()
601 ExtensionPrefs* ep = ExtensionPrefs::Get(GetProfile()); in RunImpl()
659 ExtensionPrefs* prefs = ExtensionPrefs::Get(GetProfile()); in RunImpl()
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
Dsigned_in_devices_api.cc28 ExtensionPrefs* extension_prefs, in GetIdMappingDictionary()
54 ExtensionPrefs* extension_prefs) { in GetAllSignedInDevices()
82 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile); in GetAllSignedInDevices()

123456