Searched refs:ExtensionRegistry (Results 1 - 25 of 364) sorted by relevance

1234567891011>>

/external/chromium_org/extensions/browser/
H A Dextension_registry.cc13 ExtensionRegistry::ExtensionRegistry(content::BrowserContext* browser_context) function in class:extensions::ExtensionRegistry
15 ExtensionRegistry::~ExtensionRegistry() {}
18 ExtensionRegistry* ExtensionRegistry::Get(content::BrowserContext* context) {
22 scoped_ptr<ExtensionSet> ExtensionRegistry::GenerateInstalledExtensionsSet()
32 void ExtensionRegistry::AddObserver(ExtensionRegistryObserver* observer) {
36 void ExtensionRegistry::RemoveObserver(ExtensionRegistryObserver* observer) {
40 void ExtensionRegistry
[all...]
H A Dextension_registry_factory.cc16 ExtensionRegistry* ExtensionRegistryFactory::GetForBrowserContext(
18 return static_cast<ExtensionRegistry*>(
29 "ExtensionRegistry",
38 return new ExtensionRegistry(context);
H A Dextension_util.cc15 const Extension* extension = ExtensionRegistry::Get(context)->
16 GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING);
H A Dextension_registry_unittest.cc79 virtual void OnShutdown(extensions::ExtensionRegistry* registry) OVERRIDE {
90 ExtensionRegistry registry(NULL);
124 ExtensionRegistry registry(NULL);
145 ExtensionRegistry registry(NULL);
149 // this functionality, but some users of ExtensionRegistry need it.
160 ExtensionRegistry registry(NULL);
164 registry.GetExtensionById("id", ExtensionRegistry::EVERYTHING));
182 registry.GetExtensionById("enabled", ExtensionRegistry::EVERYTHING));
184 registry.GetExtensionById("enabled", ExtensionRegistry::ENABLED));
186 registry.GetExtensionById("enabled", ExtensionRegistry
[all...]
H A Dextension_registry_factory.h14 class ExtensionRegistry;
16 // Factory for ExtensionRegistry objects. ExtensionRegistry objects are shared
20 static ExtensionRegistry* GetForBrowserContext(
H A Dextension_registry.h25 // ExtensionRegistry holds sets of the installed extensions for a given
28 class ExtensionRegistry : public KeyedService { class in namespace:extensions
40 explicit ExtensionRegistry(content::BrowserContext* browser_context);
41 virtual ~ExtensionRegistry();
44 static ExtensionRegistry* Get(content::BrowserContext* browser_context);
102 // * enabled_extensions() --> ExtensionRegistry::ENABLED
103 // * disabled_extensions() --> ExtensionRegistry::DISABLED
104 // * terminated_extensions() --> ExtensionRegistry::TERMINATED
105 // * blacklisted_extensions() --> ExtensionRegistry::BLACKLISTED
167 DISALLOW_COPY_AND_ASSIGN(ExtensionRegistry);
[all...]
H A Dextension_registry_observer.h18 class ExtensionRegistry;
21 // Observer for ExtensionRegistry. Exists in a separate header file to reduce
22 // the include file burden for typical clients of ExtensionRegistry.
28 // in the enabled_extensions set of ExtensionRegistry.
34 // any of the ExtensionRegistry sets (enabled, disabled, etc.).
46 // The ExtensionRegistry will not be tracking |extension| at the time this
64 // extension is tracked in one of the ExtensionRegistry sets, but is not
71 // any of the ExtensionRegistry sets (enabled, disabled, etc.).
77 virtual void OnShutdown(ExtensionRegistry* registry) {}
/external/chromium_org/chrome/browser/extensions/
H A Dinstalled_loader.h13 class ExtensionRegistry;
34 ExtensionRegistry* extension_registry_;
H A Ddeclarative_user_script_master.h17 class ExtensionRegistry;
58 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
H A Dactive_tab_permission_granter.h26 class ExtensionRegistry;
68 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
H A Dbrowser_action_apitest.cc12 extension::ExtensionRegistry* registry =
13 extensions::ExtensionRegistry::Get(browser()->profile());
H A Dextension_web_ui_override_registrar.h18 class ExtensionRegistry;
47 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
H A Dlocation_bar_controller.h26 class ExtensionRegistry;
67 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
H A Dshared_user_script_master.h24 class ExtensionRegistry;
57 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
H A Dchrome_extension_web_contents_observer.cc82 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context());
88 if (registry->GetExtensionById(extension_id, ExtensionRegistry::TERMINATED)) {
H A Dextension_service_test_base.h32 class ExtensionRegistry;
95 ExtensionRegistry* registry() { return registry_; }
133 // The associated ExtensionRegistry, for convenience.
134 extensions::ExtensionRegistry* registry_;
H A Dsettings_api_helpers.cc25 ExtensionRegistry::Get(browser_context)->enabled_extensions();
93 return ExtensionRegistry::Get(browser_context)->GetExtensionById(
94 extension_id, ExtensionRegistry::ENABLED);
/external/chromium_org/chrome/browser/apps/
H A Dinstall_chrome_app.cc22 using extensions::ExtensionRegistry;
94 ExtensionRegistry* registry = ExtensionRegistry::Get(browser->profile());
99 app_id, ExtensionRegistry::ENABLED | ExtensionRegistry::BLACKLISTED);
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dwallpaper_manager_browsertest.cc15 using extensions::ExtensionRegistry;
44 ExtensionRegistry::Get(profile())->GetExtensionById(
45 kWallpaperManagerExtensionID, ExtensionRegistry::EVERYTHING);
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DExtensionRegistry.java43 * an {@code ExtensionRegistry} in which you have registered any extensions
64 * ExtensionRegistry registry = ExtensionRegistry.newInstance();
93 public final class ExtensionRegistry extends ExtensionRegistryLite { class in inherits:ExtensionRegistryLite
95 public static ExtensionRegistry newInstance() {
96 return new ExtensionRegistry();
100 public static ExtensionRegistry getEmptyRegistry() {
106 public ExtensionRegistry getUnmodifiable() {
107 return new ExtensionRegistry(this);
176 "ExtensionRegistry
195 private ExtensionRegistry() { method in class:ExtensionRegistry
200 private ExtensionRegistry(ExtensionRegistry other) { method in class:ExtensionRegistry
210 private ExtensionRegistry(boolean empty) { method in class:ExtensionRegistry
[all...]
/external/chromium_org/chrome/browser/apps/drive/
H A Ddrive_app_provider_browsertest.cc31 using extensions::ExtensionRegistry;
220 ExtensionRegistry::Get(profile())->GetExtensionById(
221 mapping()->GetChromeApp(kDriveAppId), ExtensionRegistry::EVERYTHING);
247 ExtensionRegistry::Get(profile())->GetExtensionById(
248 mapping()->GetChromeApp(kDriveAppId), ExtensionRegistry::EVERYTHING);
265 EXPECT_FALSE(ExtensionRegistry::Get(profile())->GetExtensionById(
266 url_app_id, ExtensionRegistry::EVERYTHING));
281 EXPECT_TRUE(ExtensionRegistry::Get(profile())->GetExtensionById(
282 url_app_id, ExtensionRegistry::EVERYTHING));
288 EXPECT_FALSE(ExtensionRegistry
[all...]
H A Ddrive_app_provider.cc28 using extensions::ExtensionRegistry;
43 ExtensionRegistry::Get(profile_)->AddObserver(this);
47 ExtensionRegistry::Get(profile_)->RemoveObserver(this);
81 ExtensionRegistry::Get(profile_)->GetExtensionById(
82 existing_chrome_app_id, ExtensionRegistry::EVERYTHING);
96 const Extension* app = ExtensionRegistry::Get(profile_)->GetExtensionById(
97 chrome_app_id, ExtensionRegistry::EVERYTHING);
141 const Extension* url_app = ExtensionRegistry::Get(profile_)->GetExtensionById(
142 url_app_id, ExtensionRegistry::EVERYTHING);
155 ExtensionRegistry
[all...]
/external/chromium_org/chrome/browser/extensions/api/spellcheck/
H A Dspellcheck_api.h13 class ExtensionRegistry;
41 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dlauncher_item_controller.cc39 extensions::ExtensionRegistry::Get(
41 app_id_, extensions::ExtensionRegistry::EVERYTHING);
/external/chromium_org/extensions/browser/api/runtime/
H A Druntime_apitest.cc77 ExtensionRegistry* registry = ExtensionRegistry::Get(profile());
112 ExtensionRegistry::TERMINATED)) {
120 registry->GetExtensionById(extension_id, ExtensionRegistry::TERMINATED));

Completed in 399 milliseconds

1234567891011>>