/external/chromium_org/chrome/browser/extensions/ |
notifications_apitest.cc | 13 #include "extensions/common/extension.h" 29 const extensions::Extension* LoadExtensionAndWait( 33 const extensions::Extension* extension = LoadExtension(extdir); local 34 if (extension) 36 return extension; 59 "chrome-extension://peoadpeiejnhkmpaakpnompolbglelel")); 72 const extensions::Extension* extension = local 74 ASSERT_TRUE(extension) << message_ [all...] |
standard_management_policy_provider.cc | 12 #include "extensions/common/extension.h" 35 const Extension* extension, 50 blacklist, whitelist, forcelist, allowed_types, extension, error); 54 const Extension* extension, 56 return admin_policy::UserMayModifySettings(extension, error); 60 const Extension* extension, 62 return admin_policy::MustRemainEnabled(extension, error) [all...] |
extension_view_host_factory_browsertest.cc | 20 // Load a very simple extension with just a background page. 21 scoped_refptr<const Extension> extension = local 25 ASSERT_TRUE(extension.get()); 31 ExtensionViewHostFactory::CreatePopupHost(extension->url(), browser())); 32 EXPECT_EQ(extension.get(), host->extension()); 41 ExtensionViewHostFactory::CreateInfobarHost(extension->url(), 43 EXPECT_EQ(extension.get(), host->extension()); [all...] |
subscribe_page_action_browsertest.cc | 13 #include "extensions/common/extension.h" 16 using extensions::Extension; 73 // Navigate to the feed content (which will cause the extension to try to 95 // extension to kick in, detect the feed and redirect to a feed preview page. 154 const Extension* extension = LoadExtension( local 156 ASSERT_TRUE(extension); 157 std::string id = extension->id(); 169 const Extension* extension = LoadExtension local 184 const Extension* extension = LoadExtension( local 199 const Extension* extension = LoadExtension( local 214 const Extension* extension = LoadExtension( local 231 const Extension* extension = LoadExtension( local 247 const Extension* extension = LoadExtension( local 263 const Extension* extension = LoadExtension( local 279 const Extension* extension = LoadExtension( local 295 const Extension* extension = LoadExtension( local 311 const Extension* extension = LoadExtension( local 334 const Extension* extension = LoadExtension( local [all...] |
permissions_updater_unittest.cc | 21 #include "extensions/common/extension.h" 58 const Extension* extension() const { return extension_.get(); } function in class:extensions::__anon4971::PermissionsUpdaterListener 70 extension_ = info->extension; 83 scoped_refptr<const Extension> extension_; 91 scoped_refptr<Extension> LoadOurManifest() { 99 Extension::NO_FLAGS); 116 // Load the test extension. 117 scoped_refptr<Extension> extension = LoadOurManifest() local [all...] |
requirements_checker_browsertest.cc | 21 #include "extensions/common/extension.h" 31 scoped_refptr<const Extension> LoadExtensionFromDirName( 38 scoped_refptr<const Extension> extension = local 42 return extension; 77 scoped_refptr<const Extension> extension( 79 ASSERT_TRUE(extension.get()); 80 checker_.Check(extension, base::Bind( 87 scoped_refptr<const Extension> extension [all...] |
/external/chromium_org/chrome/common/extensions/api/extension_action/ |
browser_action_handler.cc | 12 #include "extensions/common/extension.h" 26 bool BrowserActionHandler::Parse(Extension* extension, 29 if (!extension->manifest()->GetDictionary( 35 scoped_ptr<ActionInfo> action_info = ActionInfo::Load(extension, dict, error); 39 ActionInfo::SetBrowserActionInfo(extension, action_info.release()); 45 const Extension* extension, 48 const ActionInfo* action = ActionInfo::GetBrowserActionInfo(extension); 52 extension, [all...] |
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
extension_manifests_icons_unittest.cc | 10 #include "extensions/common/extension.h" 19 scoped_refptr<extensions::Extension> extension( 21 const ExtensionIconSet& icons = IconsInfo::GetIcons(extension.get()); 30 scoped_refptr<extensions::Extension> extension( 33 IconsInfo::GetIcons(extension.get()) 38 scoped_refptr<extensions::Extension> extension( 40 const ExtensionIconSet& icons = IconsInfo::GetIcons(extension.get()) [all...] |
/external/chromium_org/extensions/common/manifest_handlers/ |
offline_enabled_info.cc | 26 bool OfflineEnabledInfo::IsOfflineEnabled(const Extension* extension) { 28 extension->GetManifestData(keys::kOfflineEnabled)); 38 bool OfflineEnabledHandler::Parse(Extension* extension, string16* error) { 39 if (!extension->manifest()->HasKey(keys::kOfflineEnabled)) { 42 DCHECK(extension->is_platform_app()); 43 extension->SetManifestData(keys::kOfflineEnabled, 50 if (!extension->manifest()->GetBoolean(keys::kOfflineEnabled, 56 extension->SetManifestData(keys::kOfflineEnabled [all...] |
/external/clang/test/Sema/ |
pointer-addition.c | 8 c++; // expected-warning {{arithmetic on a pointer to void is a GNU extension}} 9 c += 1; // expected-warning {{arithmetic on a pointer to void is a GNU extension}} 10 c--; // expected-warning {{arithmetic on a pointer to void is a GNU extension}} 11 c -= 1; // expected-warning {{arithmetic on a pointer to void is a GNU extension}} 12 (void) c[1]; // expected-warning {{subscript of a pointer to void is a GNU extension}} 16 d += 1; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}} 17 d++; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}} 18 d--; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}} 19 d -= 1; // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}} 20 (void)(1 + d); // expected-warning {{arithmetic on a pointer to the function type 'void (S *, void *)' is a GNU extension}} [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_management_api.cc | 22 #include "chrome/common/extensions/extension.h" 50 const char kNoExtensionError[] = "No extension with id *"; 51 const char kNotAnAppError[] = "Extension * is not an App"; 52 const char kUserCantDisableError[] = "Extension * can not be disabled by user"; 59 static DictionaryValue* CreateExtensionInfo(const Extension& extension, 62 info->SetString(kIdKey, extension.id()); 63 info->SetBoolean(kIsAppKey, extension.is_app()); 64 info->SetString(kNameKey, extension.name()); 67 Extension::UserMayDisable(extension.location())) 129 const Extension& extension = **i; local 151 const Extension* extension = service()->GetExtensionById(extension_id, true); local 169 const Extension* extension = service()->GetExtensionById(extension_id, true); local 187 Browser::OpenApplication(profile(), extension, launch_container, NULL); local 309 const Extension* extension = NULL; local [all...] |
extensions_ui.cc | 34 #include "chrome/common/extensions/extension.h" 59 bool ShouldShowExtension(const Extension* extension) { 61 if (extension->is_theme()) 66 if (extension->location() == Extension::COMPONENT) 70 if (extension->location() == Extension::LOAD) 74 if (extension->is_hosted_app()) 113 GURL(Extension::ChromeStoreLaunchURL())).spec()) 371 const Extension* extension = local 398 const Extension* extension = local 424 const Extension* extension = local 440 const Extension* extension = local 468 const Extension* extension = local 493 const Extension* extension = GetExtension(args); local 501 const Extension* extension = GetExtension(args); local [all...] |
test_extension_prefs.cc | 19 #include "chrome/common/extensions/extension.h" 97 scoped_refptr<Extension> TestExtensionPrefs::AddExtension(std::string name) { 101 return AddExtensionWithManifest(dictionary, Extension::INTERNAL); 104 scoped_refptr<Extension> TestExtensionPrefs::AddExtensionWithManifest( 105 const DictionaryValue& manifest, Extension::Location location) { 110 scoped_refptr<Extension> extension = Extension::Create( local 111 path, location, manifest, Extension::STRICT_ERROR_CHECKS, &errors); 112 EXPECT_TRUE(extension); [all...] |
extension_icon_manager.h | 18 class Extension; 25 // Start loading the icon for the given extension. 26 void LoadIcon(const Extension* extension); 29 // entry specified in the extension's 'icon' section of the manifest, or a 30 // default extension icon. 33 // Removes the extension's icon from memory. 44 // Makes sure we've done one-time initialization of the default extension icon 52 // Used for loading extension icons. 55 // Maps extension id to an SkBitmap with the icon for that extension [all...] |
/external/chromium/chrome/common/extensions/docs/static/ |
packaging.html | 5 This page describes how to package your extension. 8 with the file extension "crx" — 14 You might not need to package your extension. 15 If you publish your extension using the 22 <!-- [PENDING: Refer to instructions on submitting an extension for inclusion in the gallery.] --> 25 When you package an extension, 26 the extension is assigned a unique key pair. 27 The public key is used as the identifier for the extension. 29 and used to sign each version of the extension. 35 <p>To package an extension:</p [all...] |
/external/chromium_org/chrome/browser/extensions/api/gcm/ |
gcm_apitest.cc | 29 const Extension* LoadTestExtension(const std::string& extension_path, 58 const Extension* GcmApiTest::LoadTestExtension( 61 const Extension* extension = local 63 if (extension) { 65 browser(), extension->GetResourceURL(page_name)); 67 return extension; 90 const extensions::Extension* extension = local 92 ASSERT_TRUE(extension); 127 const extensions::Extension* extension = local 155 const extensions::Extension* extension = local 174 const extensions::Extension* extension = local 198 const extensions::Extension* extension = local [all...] |
/external/chromium_org/chrome/browser/ui/extensions/ |
extension_enable_flow.cc | 16 using extensions::Extension; 54 const Extension* extension = service->GetExtensionById(extension_id_, true); local 55 if (!extension) { 56 extension = service->GetTerminatedExtension(extension_id_); 59 if (!extension) 64 // ReloadExtension reallocates the Extension object. 65 extension = service->GetExtensionById(extension_id_, true); 67 // |extension| could be NULL for asynchronous load, such as the case of 68 // an unpacked extension. Wait for the load to continue the flow 81 const Extension* extension = service->GetExtensionById(extension_id_, true); local 127 const Extension* extension = local 142 const Extension* extension = local 162 const Extension* extension = service->GetExtensionById(extension_id_, true); local [all...] |
extension_installed_bubble.cc | 18 #include "extensions/common/extension.h" 21 using extensions::Extension; 33 const Extension* extension, 37 extension_(extension), 42 if (!extensions::OmniboxInfo::GetKeyword(extension).empty()) 44 else if (extensions::ActionInfo::GetBrowserActionInfo(extension)) 46 else if (extensions::ActionInfo::GetPageActionInfo(extension) && 47 extensions::ActionInfo::IsVerboseInstallMessage(extension)) 52 // |extension| has been initialized but not loaded at this point. We nee 90 const Extension* extension = Details<const Extension>(details).ptr(); local 102 const Extension* extension = local [all...] |
/external/protobuf/src/google/protobuf/ |
extension_set.cc | 85 GOOGLE_LOG(FATAL) << "Multiple extension registrations for type \"" 102 const ExtensionInfo* extension = local 104 if (extension == NULL) { 107 *output = *extension; 165 for (map<int, Extension>::iterator iter = extensions_.begin(); 177 map<int, Extension>::const_iterator iter = extensions_.find(number); 184 map<int, Extension>::const_iterator iter = extensions_.find(number); 190 map<int, Extension>::iterator iter = extensions_.find(number); 207 #define GOOGLE_DCHECK_TYPE(EXTENSION, LABEL, CPPTYPE) \ 208 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? REPEATED : OPTIONAL, LABEL); 300 Extension* extension; local 329 Extension* extension; local 360 Extension* extension; local 389 Extension* extension; local 425 Extension* extension; local 461 Extension* extension; local 494 Extension* extension = &iter->second; local 535 Extension* extension = &iter->second; local 587 Extension* extension; local 687 const Extension& extension = iter->second; local 712 ExtensionInfo extension; local [all...] |
/external/chromium_org/chrome/common/extensions/permissions/ |
settings_override_permission_unittest.cc | 29 scoped_refptr<Extension> GetPermissionSet(uint32 flags) { 64 scoped_refptr<Extension> extension(GetPermissionSet(kHomepage)); 66 extension->GetActivePermissions()); 70 PermissionsData::GetPermissionMessageStrings(extension.get()); 81 scoped_refptr<Extension> extension(GetPermissionSet(kStartupPages)); 83 extension->GetActivePermissions()); 87 PermissionsData::GetPermissionMessageStrings(extension.get()); 98 scoped_refptr<Extension> extension(GetPermissionSet(kSearchProvider)) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
ExtensionsGenerator.java | 30 * Add an extension with the given oid and the passed in value to be included 31 * in the OCTET STRING associated with the extension. 33 * @param oid OID for the extension. 35 * @param value the ASN.1 object to be included in the extension. 47 * Add an extension with the given oid and the passed in byte array to be wrapped in the 48 * OCTET STRING associated with the extension. 50 * @param oid OID for the extension. 61 throw new IllegalArgumentException("extension " + oid + " already added"); 65 extensions.put(oid, new Extension(oid, critical, new DEROctetString(value))); 69 * Return true if there are no extension present in this generator [all...] |
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
extension_installed_bubble_bridge.mm | 16 #include "chrome/common/extensions/extension.h" 21 // When an extension is installed on Mac with neither browser action nor 24 const Extension* new_extension, 50 const Extension* extension, 54 if ((extension->browser_action()) || !extension->omnibox_keyword().empty() || 55 (extension->page_action() && 56 !extension->page_action()->default_icon_path().empty())) { 61 extension:extensio [all...] |
/external/chromium_org/chrome/common/extensions/api/storage/ |
storage_schema_manifest_handler.cc | 16 #include "extensions/common/extension.h" 40 const Extension* extension, 43 extension->manifest()->GetString(kStorageManagedSchema, &path); 50 file = extension->path().AppendASCII(path); 65 bool StorageSchemaManifestHandler::Parse(Extension* extension, 68 if (!extension->manifest()->GetString(kStorageManagedSchema, &path)) { 74 // If an extension declares the "storage.managed_schema" key then it gets 77 PermissionsData::GetInitialAPIPermissions(extension); [all...] |
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
app_isolation_info.cc | 29 bool AppIsolationInfo::HasIsolatedStorage(const Extension* extension) { 31 extension->GetManifestData(keys::kIsolation)); 41 bool AppIsolationHandler::Parse(Extension* extension, base::string16* error) { 43 if (extension->is_platform_app()) { 44 extension->SetManifestData(keys::kIsolation, new AppIsolationInfo(true)); 50 if (!extension->is_app() || 51 !PermissionsData::GetInitialAPIPermissions(extension)->count( 56 // We should only be parsing if the extension has the key in the manifest [all...] |
/external/chromium_org/chrome/common/extensions/ |
extension_set.h | 15 #include "extensions/common/extension.h" 18 // The one true extension container. Extensions are identified by their id. 19 // Only one extension can be in the set with a given ID. 23 typedef std::map<std::string, scoped_refptr<const extensions::Extension> > 32 scoped_refptr<const extensions::Extension> > { 47 const scoped_refptr<const extensions::Extension>& operator*() const { 50 const scoped_refptr<const extensions::Extension>* operator->() const { 74 // Returns true if the set contains the specified extension. 77 // Adds the specified extension to the set. The set becomes an owner. Any 78 // previous extension with the same ID is removed [all...] |