/external/chromium_org/extensions/common/manifest_handlers/ |
D | shared_module_manifest_unittest.cc | 34 EXPECT_TRUE(SharedModuleInfo::IsSharedModule(extension.get())) in TEST_F() 36 EXPECT_FALSE(SharedModuleInfo::ImportsModules(extension.get())) in TEST_F() 38 EXPECT_TRUE(SharedModuleInfo::IsExportAllowed(extension.get(), "foo")) in TEST_F() 40 EXPECT_TRUE(SharedModuleInfo::IsExportAllowed(extension.get(), "foo/bar")) in TEST_F() 43 EXPECT_TRUE(SharedModuleInfo::IsExportAllowedByWhitelist(extension.get(), in TEST_F() 45 EXPECT_TRUE(SharedModuleInfo::IsExportAllowedByWhitelist(extension.get(), in TEST_F() 47 EXPECT_FALSE(SharedModuleInfo::IsExportAllowedByWhitelist(extension.get(), in TEST_F() 56 EXPECT_TRUE(SharedModuleInfo::IsExportAllowedByWhitelist(extension.get(), in TEST_F() 58 EXPECT_TRUE(SharedModuleInfo::IsExportAllowedByWhitelist(extension.get(), in TEST_F() 60 EXPECT_TRUE(SharedModuleInfo::IsExportAllowedByWhitelist(extension.get(), in TEST_F() [all …]
|
D | shared_module_info.cc | 30 static base::LazyInstance<SharedModuleInfo> g_empty_shared_module_info = 33 const SharedModuleInfo& GetSharedModuleInfo(const Extension* extension) { in GetSharedModuleInfo() 34 SharedModuleInfo* info = static_cast<SharedModuleInfo*>( in GetSharedModuleInfo() 43 SharedModuleInfo::SharedModuleInfo() { in SharedModuleInfo() function in extensions::SharedModuleInfo 46 SharedModuleInfo::~SharedModuleInfo() { in ~SharedModuleInfo() 50 void SharedModuleInfo::ParseImportedPath(const std::string& path, in ParseImportedPath() 65 bool SharedModuleInfo::IsImportedPath(const std::string& path) { in IsImportedPath() 76 bool SharedModuleInfo::IsSharedModule(const Extension* extension) { in IsSharedModule() 82 bool SharedModuleInfo::IsExportAllowed(const Extension* extension, in IsExportAllowed() 89 bool SharedModuleInfo::IsExportAllowedByWhitelist(const Extension* extension, in IsExportAllowedByWhitelist() [all …]
|
D | shared_module_info.h | 17 class SharedModuleInfo : public Extension::ManifestData { 19 SharedModuleInfo(); 20 virtual ~SharedModuleInfo();
|
/external/chromium_org/chrome/browser/extensions/ |
D | shared_module_service.cc | 23 typedef std::vector<SharedModuleInfo::ImportInfo> ImportInfoVector; 24 typedef std::list<SharedModuleInfo::ImportInfo> ImportInfoList; 47 const ImportInfoVector& imports = SharedModuleInfo::GetImports(extension); in CheckImports() 62 } else if (!SharedModuleInfo::IsSharedModule(imported_module)) { in CheckImports() 99 SharedModuleInfo::IsSharedModule); in SatisfyImports() 110 if (SharedModuleInfo::IsSharedModule(extension)) { in GetDependentExtensions() 123 if (SharedModuleInfo::ImportsExtensionById(iter->get(), in GetDependentExtensions() 148 if (SharedModuleInfo::IsSharedModule(iter->get())) in PruneSharedModules() 151 const ImportInfoVector& imports = SharedModuleInfo::GetImports(iter->get()); in PruneSharedModules()
|
D | shared_module_service.h | 46 std::list<SharedModuleInfo::ImportInfo>* missing_modules, 47 std::list<SharedModuleInfo::ImportInfo>* outdated_modules);
|
D | crx_installer.cc | 69 using extensions::SharedModuleInfo; 289 if (SharedModuleInfo::IsSharedModule(extension) && in AllowInstall() 480 if (SharedModuleInfo::ImportsModules(extension())) { in CheckInstall() 481 const std::vector<SharedModuleInfo::ImportInfo>& imports = in CheckInstall() 482 SharedModuleInfo::GetImports(extension()); in CheckInstall() 483 std::vector<SharedModuleInfo::ImportInfo>::const_iterator i; in CheckInstall() 488 !SharedModuleInfo::IsSharedModule(imported_module)) { in CheckInstall() 495 !SharedModuleInfo::IsExportAllowedByWhitelist(imported_module, in CheckInstall()
|
D | webstore_installer.cc | 320 SharedModuleInfo::ImportInfo info; in Start() 327 std::list<SharedModuleInfo::ImportInfo>::const_iterator i; in Start() 389 SharedModuleInfo::ImportInfo info = pending_modules_.front(); in OnExtensionInstalled() 413 } else if (!SharedModuleInfo::IsSharedModule(extension)) { in OnExtensionInstalled() 457 const SharedModuleInfo::ImportInfo& info = pending_modules_.front(); in OnDownloadStarted()
|
D | webstore_installer.h | 280 std::list<SharedModuleInfo::ImportInfo> pending_modules_;
|
D | extension_service.cc | 107 using extensions::SharedModuleInfo; 1820 if (SharedModuleInfo::IsSharedModule(extension)) in FinishInstallation()
|
/external/chromium_org/chrome/common/ |
D | pepper_permission_util.cc | 20 using extensions::SharedModuleInfo; 56 typedef std::vector<SharedModuleInfo::ImportInfo> ImportInfoVector; in IsExtensionOrSharedModuleWhitelisted() 57 const ImportInfoVector& imports = SharedModuleInfo::GetImports(extension); in IsExtensionOrSharedModuleWhitelisted() 64 SharedModuleInfo::IsSharedModule(imported_extension) && in IsExtensionOrSharedModuleWhitelisted()
|
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/ |
D | app_info_header_panel.cc | 192 const std::vector<extensions::SharedModuleInfo::ImportInfo>& imports = in DisplayLicenses() 193 extensions::SharedModuleInfo::GetImports(app_); in DisplayLicenses() 205 if (!extensions::SharedModuleInfo::ImportsModules(app_)) in CanDisplayLicenses() 210 const std::vector<extensions::SharedModuleInfo::ImportInfo>& imports = in CanDisplayLicenses() 211 extensions::SharedModuleInfo::GetImports(app_); in CanDisplayLicenses()
|
/external/chromium_org/extensions/browser/ |
D | extension_protocols.cc | 65 using extensions::SharedModuleInfo; 482 if (SharedModuleInfo::IsImportedPath(path)) { in MaybeCreateJob() 485 SharedModuleInfo::ParseImportedPath(path, &new_extension_id, in MaybeCreateJob() 496 if (SharedModuleInfo::IsImportedPath(first_party_path)) { in MaybeCreateJob() 499 SharedModuleInfo::ParseImportedPath(first_party_path, &first_party_id, in MaybeCreateJob() 506 if (SharedModuleInfo::ImportsExtensionById(extension, new_extension_id) && in MaybeCreateJob() 509 SharedModuleInfo::IsExportAllowed(new_extension, new_relative_path))) { in MaybeCreateJob()
|
D | info_map.cc | 197 if (SharedModuleInfo::IsImportedPath(path)) { in MapUrlToLocalFilePath() 201 SharedModuleInfo::ParseImportedPath( in MapUrlToLocalFilePath() 207 if (!SharedModuleInfo::ImportsExtensionById(extension, new_extension_id) || in MapUrlToLocalFilePath() 208 !SharedModuleInfo::IsExportAllowed(new_extension, new_relative_path)) { in MapUrlToLocalFilePath()
|
/external/chromium_org/chrome/common/extensions/ |
D | manifest_url_handler.cc | 61 !SharedModuleInfo::IsSharedModule(extension); in GetHomepageURL()
|
/external/chromium_org/extensions/browser/api/runtime/ |
D | runtime_api.cc | 318 if (extension && SharedModuleInfo::IsSharedModule(extension)) { in DispatchOnInstalledEvent()
|