/external/chromium_org/extensions/browser/ |
test_management_policy.h | 36 void SetDisableReason(Extension::DisableReason reason); 40 virtual bool UserMayLoad(const Extension* extension, 43 virtual bool UserMayModifySettings(const Extension* extension, 46 virtual bool MustRemainEnabled(const Extension* extension, 49 virtual bool MustRemainDisabled(const Extension* extension, 50 Extension::DisableReason* reason [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_view_host_factory.cc | 29 ExtensionViewHost* CreateViewHostForExtension(const Extension* extension, 42 new ExtensionViewHostMac(extension, site_instance, url, view_type); 44 new ExtensionViewHost(extension, site_instance, url, view_type); 50 // Return true if this extension can run in an incognito window. 51 bool IsIncognitoEnabled(Profile* profile, const Extension* extension) { 54 return extension_util::IsIncognitoEnabled(extension->id(), service); 57 // Creates a view host for an extension in an incognito window. Returns NULL 58 // if the extension is not allowed to run in incognito 108 const Extension* extension = GetExtensionForUrl(profile, url); local [all...] |
standard_management_policy_provider_unittest.cc | 31 scoped_refptr<const Extension> CreateExtension(Manifest::Location location, 37 scoped_refptr<const Extension> extension = Extension::Create( local 38 base::FilePath(), location, values, Extension::NO_FLAGS, &error); 39 CHECK(extension.get()) << error; 40 return extension; 53 // extension required by policy. 55 scoped_refptr<const Extension> extension local 73 scoped_refptr<const Extension> extension = local [all...] |
extension_nacl_browsertest.cc | 29 using extensions::Extension; 37 // .nexe is part of an extension from the Chrome Webstore. 58 const Extension* InstallExtension(const base::FilePath& file_path, 62 const Extension* extension = NULL; local 66 extension = service->GetExtensionById(kExtensionId, false); 71 // Install the extension from a folder so it's unpacked. 73 extension = service->GetExtensionById(kExtensionId, false); 80 extension = service->GetExtensionById(last_loaded_extension_id(), 88 extension = service->GetExtensionById(last_loaded_extension_id() 154 const Extension* extension = InstallExtension(INSTALL_TYPE_FROM_WEBSTORE); local 164 const Extension* extension = InstallExtension(INSTALL_TYPE_NON_WEBSTORE); local 174 const Extension* extension = InstallExtension(INSTALL_TYPE_COMPONENT); local 185 const Extension* extension = InstallExtension(INSTALL_TYPE_UNPACKED); local 197 const Extension* extension = InstallExtension(INSTALL_TYPE_FROM_WEBSTORE); local 216 const Extension* extension = InstallHostedApp(); local [all...] |
extension_special_storage_policy.cc | 20 #include "extensions/common/extension.h" 24 using extensions::Extension; 85 const extensions::Extension* extension) { 86 return extension->is_hosted_app() && !extension->from_bookmark(); 96 const extensions::Extension* extension) { 97 DCHECK(extension); 98 if (!(NeedsProtection(extension) || [all...] |
launch_util.h | 14 class Extension; 22 const Extension* extension); 24 // Sets an extension's launch type preference. 30 // If |extension|'s prefs do not have a launch type set, then the default 33 const Extension* extension); 36 // |extension|. GetLaunchContainer() will still return a default value even if 39 const Extension* extension); [all...] |
/external/chromium_org/chrome/common/extensions/api/identity/ |
oauth2_manifest_handler.h | 12 #include "extensions/common/extension.h" 17 // OAuth2 info included in the extension. 18 struct OAuth2Info : public Extension::ManifestData { 28 static const OAuth2Info& GetOAuth2Info(const Extension* extension); 37 virtual bool Parse(Extension* extension,
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
app_isolation_info.h | 11 #include "extensions/common/extension.h" 17 struct AppIsolationInfo : public Extension::ManifestData { 21 static bool HasIsolatedStorage(const Extension* extension); 23 // Whether this extension requests isolated storage. 33 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
|
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
extension_manifests_devtools_unittest.cc | 7 #include "extensions/common/extension.h" 19 scoped_refptr<extensions::Extension> extension; local 20 extension = LoadAndExpectSuccess("devtools_extension.json"); 21 EXPECT_EQ(extension->url().spec() + "devtools.html", 22 extensions::ManifestURL::GetDevToolsPage(extension.get()).spec()); 24 extension.get()));
|
extension_manifests_background_unittest.cc | 13 #include "extensions/common/extension.h" 37 scoped_refptr<Extension> extension( 39 ASSERT_TRUE(extension.get()); 41 BackgroundInfo::GetBackgroundScripts(extension.get()); 46 EXPECT_TRUE(BackgroundInfo::HasBackgroundPage(extension.get())); 49 BackgroundInfo::GetBackgroundURL(extension.get()).path()); 57 scoped_refptr<Extension> extension( 59 ASSERT_TRUE(extension.get()) 80 scoped_refptr<Extension> extension; local [all...] |
/external/chromium_org/extensions/common/manifest_handlers/ |
offline_enabled_info.h | 11 #include "extensions/common/extension.h" 17 struct OfflineEnabledInfo : public Extension::ManifestData { 21 // Whether the extension or app should be enabled when offline. 25 static bool IsOfflineEnabled(const Extension* extension); 34 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
|
/external/chromium_org/chrome/common/extensions/api/ |
_permission_features.json | 20 "extension_types": ["extension", "legacy_packaged_app"], 25 "extension_types": ["extension", "platform_app"], 38 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 79 "extension_types": ["extension", "legacy_packaged_app"], 89 "extension_types": ["extension"], 103 "extension", "legacy_packaged_app", "hosted_app" 129 "extension_types": ["extension", "legacy_packaged_app"], 138 "extension_types": ["extension", "legacy_packaged_app"] 142 "extension_types": ["extension", "legacy_packaged_app", "platform_app"], 147 "extension_types": ["extension", "legacy_packaged_app" [all...] |
_manifest_features.json | 53 "extension", "legacy_packaged_app", "hosted_app" 59 "extension", "legacy_packaged_app" 66 "extension", "legacy_packaged_app", "hosted_app" 72 "extension_types": ["extension"] 76 "extension_types": ["extension"] 79 "extension_types": ["extension"], 88 "extension_types": ["extension", "legacy_packaged_app"] 97 "extension_types": ["extension"], 104 "extension_types": ["extension", "platform_app"], 110 "extension_types": ["extension"] [all...] |
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
extension_basic_info.cc | 9 #include "extensions/common/extension.h" 33 void GetExtensionBasicInfo(const Extension* extension, 36 info->SetString(kIdKey, extension->id()); 37 info->SetString(kNameKey, extension->name()); 40 KioskModeInfo::IsKioskEnabled(extension)); 42 KioskModeInfo::IsKioskOnly(extension)); 44 OfflineEnabledInfo::IsOfflineEnabled(extension)); 45 info->SetString(kVersionKey, extension->VersionString()); 46 info->SetString(kDescriptionKey, extension->description()) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_info_map_unittest.cc | 9 #include "chrome/common/extensions/extension.h" 31 // Returns a barebones test Extension object with the given name. 32 static scoped_refptr<Extension> CreateExtension(const std::string& name) { 44 scoped_refptr<Extension> extension = Extension::Create( local 45 path.AppendASCII(name), Extension::INVALID, manifest, 46 Extension::STRICT_ERROR_CHECKS, &error); 47 EXPECT_TRUE(extension) << error; 49 return extension; 66 scoped_refptr<Extension> extension = Extension::Create( local [all...] |
extension_service.cc | 59 #include "chrome/common/extensions/extension.h" 110 NEEDS_RELOCALIZATION, // The local has changed since we read this extension. 117 if (info.extension_location == Extension::LOAD) 163 // Loads a single extension from |path| where |path| is the top directory of 164 // a specific extension where its manifest file lives. 167 // TODO(erikkay): It might be useful to be able to load a packed extension 177 // Finish installing the extension in |crx_path| after it has been unpacked to 179 // extension's manifest before installation. If |silent| is true, there will 183 // Note: We take ownership of |extension|. 186 const Extension* extension 388 const Extension* extension = local 563 const Extension* extension = GetExtensionByIdInternal(id, true, true); local 643 const Extension* extension = local 737 const Extension* extension = local 764 const Extension* extension = local 1178 const Extension* extension = (*iter); local 1219 const Extension* extension = (*iter); local 1253 const Extension* extension = GetExtensionByIdInternal(id, true, true); local 1299 const Extension* extension = GetExtensionById(extension_id, true); local 1309 const Extension* extension = GetExtensionById(extension_id, false); local 1863 const Extension* extension = GetExtensionByWebExtent(url); local [all...] |
extension_info_map.h | 15 #include "chrome/common/extensions/extension.h" 19 class Extension; 21 // Contains extension data that needs to be accessed on the IO thread. It can 33 void AddExtension(const Extension* extension); 35 // Callback for when an extension is unloaded. 39 // Gets the name for the specified extension. 42 // Gets the path to the directory for the specified extension. 45 // Gets the path to the directory for the specified disabled extension. 48 // Returns true if the specified extension exists and has a non-empty we [all...] |
extension_special_storage_policy.h | 16 class Extension; 32 void GrantRightsForExtension(const Extension* extension); 33 void RevokeRightsForExtension(const Extension* extension); 44 void Add(const Extension* extension); 45 void Remove(const Extension* extension); 50 typedef std::map<std::string, scoped_refptr<const Extension> > Extensions [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketExtensionParserTest.cpp | 45 CString input("extension"); 46 String extension; local 50 ASSERT_TRUE(parser.parseExtension(extension, parameters)); 51 EXPECT_EQ("extension", extension); 57 CString input("extension; foo=FOO; bar=BAR; baz"); 58 String extension; local 62 ASSERT_TRUE(parser.parseExtension(extension, parameters)); 63 EXPECT_EQ("extension", extension); 74 String extension; local 88 String extension; local 98 String extension; local 108 String extension; local 118 String extension; local 128 String extension; local 138 String extension; local 148 String extension; local 158 String extension; local 168 String extension; local 178 String extension; local [all...] |
/external/chromium_org/chrome/common/extensions/api/extension_action/ |
action_info.cc | 13 #include "extensions/common/extension.h" 25 struct ActionInfoData : public Extension::ManifestData { 40 static const ActionInfo* GetActionInfo(const Extension* extension, 43 extension->GetManifestData(key)); 56 scoped_ptr<ActionInfo> ActionInfo::Load(const Extension* extension, 61 if (extension->manifest_version() == 1) { 122 } else if (extension->manifest_version() == 1 && dict->HasKey(keys::kName)) { 134 if (extension->manifest_version() == 1 & [all...] |
/external/chromium_org/chrome/common/extensions/ |
web_accessible_resources_handler.cc | 22 const WebAccessibleResourcesInfo* GetResourcesInfo(const Extension* extension) { 24 extension->GetManifestData(keys::kWebAccessibleResources)); 37 const Extension* extension, 41 if (extension->manifest_version() < 2 && 42 !WebAccessibleResourcesInfo::HasWebAccessibleResources(extension)) 45 const WebAccessibleResourcesInfo* info = GetResourcesInfo(extension); 47 extension->ResourceMatches( 53 const Extension* extension) [all...] |
/external/chromium/chrome/browser/automation/ |
automation_extension_tracker.h | 11 class Extension; 13 // Tracks an Extension. An Extension is removed on uninstall, not on disable. 15 : public AutomationResourceTracker<const Extension*> { 22 // extension added to the tracker. This is because the profile, not the 23 // extension, is the one who sends the notification about extension 26 virtual void AddObserver(const Extension* resource); 29 virtual void RemoveObserver(const Extension* resource); 33 // This is not true for the relevant extension notifications, so we have t [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
extension_action_context_menu_controller.h | 17 class Extension; 20 // Controller for extension context menu. This class builds the context menu 25 // The extension that the menu belongs to. Weak. 26 const extensions::Extension* extension_; 28 // The extension action the menu belongs to. Weak. 31 // The browser that contains this extension. Weak. 34 // Used to load the extension icon asynchronously on the I/O thread then show 39 // Initializes and returns a context menu controller for the given extension and 41 - (id)initWithExtension:(const extensions::Extension*)extension [all...] |
extension_install_prompt_test_utils.h | 33 // Loads the test extension from the given test directory and manifest file. 34 scoped_refptr<extensions::Extension> LoadInstallPromptExtension( 38 // Loads the default install_prompt test extension. 39 scoped_refptr<extensions::Extension> LoadInstallPromptExtension(); 41 // Loads the icon for the install prompt extension. 44 // Builds a prompt using the given extension. 46 extensions::Extension* extension); 49 extensions::Extension* extension); [all...] |
/external/chromium_org/chrome/common/extensions/api/i18n/ |
default_locale_handler.h | 10 #include "extensions/common/extension.h" 15 // A structure to hold the locale information for an extension. 16 struct LocaleInfo : public Extension::ManifestData { 17 // Default locale for fall back. Can be empty if extension is not localized. 20 static const std::string& GetDefaultLocale(const Extension* extension); 29 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; 32 virtual bool Validate(const Extension* extension, [all...] |