/external/chromium/chrome/browser/extensions/ |
alert_apitest.cc | 18 const Extension* extension = GetSingleLoadedExtension(); local 20 GetBackgroundHostForExtension(extension);
|
extension_infobar_delegate.cc | 11 #include "chrome/common/extensions/extension.h" 19 const Extension* extension, 23 extension_(extension), 45 // When an extension crashes, an InfoBar is shown (for the crashed extension). 47 // is already showing the 'extension crashed InfoBar', which it never is), but 48 // if it is our extension that crashes, the extension delegate is NULL so 53 // Only allow one InfoBar at a time per extension 86 const Extension* extension = 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_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...] |
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...] |
extension_host_mac.h | 15 ExtensionHostMac(const Extension* extension, SiteInstance* site_instance, 17 ExtensionHost(extension, site_instance, url, host_type) {}
|
extension_toolbar_model.h | 10 #include "chrome/common/extensions/extension.h" 31 // An extension with a browser action button has been added, and should go 33 virtual void BrowserActionAdded(const Extension* extension, int index) {} 35 // The browser action button for |extension| should no longer show. 36 virtual void BrowserActionRemoved(const Extension* extension) {} 38 // The browser action button for |extension| has been moved to |index|. 39 virtual void BrowserActionMoved(const Extension* extension, int index) { [all...] |
extension_disabled_infobar_delegate.cc | 31 const Extension* extension); 46 const Extension* extension_; 52 const Extension* extension) 53 : service_(service), extension_(extension) { 72 // Do nothing. The extension will remain disabled. 84 const Extension* extension); 104 const Extension* extension_ 159 const Extension* extension; local [all...] |
extension_proxy_apitest.cc | 11 #include "chrome/common/extensions/extension.h" 77 const Extension* extension = GetSingleLoadedExtension(); local 78 ASSERT_TRUE(extension); 91 const Extension* extension = GetSingleLoadedExtension(); local 92 ASSERT_TRUE(extension); 105 const Extension* extension = GetSingleLoadedExtension(); local 106 ASSERT_TRUE(extension); 119 const Extension* extension = GetSingleLoadedExtension(); local 136 const Extension* extension = GetSingleLoadedExtension(); local 153 const Extension* extension = GetSingleLoadedExtension(); local 167 const Extension* extension = GetSingleLoadedExtension(); local 200 const Extension* extension = GetSingleLoadedExtension(); local 226 const Extension* extension = GetSingleLoadedExtension(); local 257 const Extension* extension = GetSingleLoadedExtension(); local 270 const Extension* extension = GetSingleLoadedExtension(); local [all...] |
/external/chromium/chrome/browser/sidebar/ |
sidebar_container.cc | 9 #include "chrome/common/extensions/extension.h" 36 const Extension* extension = GetExtension(); local 37 if (extension && extension->is_app()) { 40 process->set_installed_app(extension); 43 BindingsPolicy::EXTENSION); 55 const Extension* extension = GetExtension(); local 56 if (!extension) 82 const Extension* extension = GetExtension(); local [all...] |
/external/webkit/Source/WebCore/platform/qt/ |
MIMETypeRegistryQt.cpp | 38 const char* extension; member in struct:WebCore::ExtensionMap 81 while (e->extension) { 82 if (s == e->extension)
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
Extensions.java | 47 * Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension 58 private List<Extension> extensions; 61 // the flag showing is there any unsupported critical extension 65 // Extension objects as values 66 private HashMap<String, Extension> oidMap; 75 public Extensions(List<Extension> extensions) { 121 for (Extension extension : extensions) { 122 String oid = extension.getExtnID(); 123 if (extension.getCritical()) 144 oidMap.put(extension.getExtnID(), extension); local 178 Extension extension = getExtensionByOID("2.5.29.15"); local 204 Extension extension = getExtensionByOID("2.5.29.37"); local 229 Extension extension = getExtensionByOID("2.5.29.19"); local 253 Extension extension = getExtensionByOID("2.5.29.17"); local 276 Extension extension = getExtensionByOID("2.5.29.18"); local 297 Extension extension = getExtensionByOID("2.5.29.29"); local [all...] |
/external/chromium/chrome/browser/ |
background_contents_service.cc | 25 #include "chrome/common/extensions/extension.h" 51 CrashNotificationDelegate(Profile* profile, const Extension* extension) 53 is_hosted_app_(extension->is_hosted_app()), 54 extension_id_(extension->id()) { 91 void ShowBalloon(const Extension* extension, Profile* profile) { 93 extension->is_hosted_app() ? IDS_BACKGROUND_CRASHED_APP_BALLOON_MESSAGE : 95 UTF8ToUTF16(extension->name())); 97 extension->GetIconURL(Extension::EXTENSION_ICON_SMALLISH 227 const Extension* extension = local 236 const Extension* extension = Details<const Extension>(details).ptr(); local 261 const Extension* extension = NULL; local 299 const Extension* extension = local 342 const Extension* extension = extensions_service->GetExtensionById( local 361 const Extension* extension = local 409 const Extension* extension = *iter; local [all...] |
background_application_list_model.cc | 19 #include "chrome/common/extensions/extension.h" 28 bool operator()(const Extension* x, const Extension* y); 38 bool ExtensionNameComparator::operator()(const Extension* x, 39 const Extension* y) { 51 const Extension* an_extension); 60 // Uses the FILE thread to request this extension's icon, sized 62 void RequestIcon(Extension::Icons size); 64 const Extension* extension_; 78 const Extension* extension = *cursor local [all...] |
/external/chromium/android/jni/ |
mime_utils.h | 14 static bool GuessMimeTypeFromExtension(const std::string& extension,
|
/external/chromium/net/base/ |
platform_mime_util.h | 20 FilePath::StringType* extension) const; 23 // Get the mime type (if any) that is associated with the file extension.
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ExtensionRegistry.java | 78 * privileged class by registering itself as an extension of the right type. 81 * extension until it is first requested, at which point the caller must 83 * it would require a mutex lock any time an extension was accessed, which 112 /** The extension's descriptor. */ 116 * A default instance of the extension's type, if it has a message type. 133 * Find an extension by fully-qualified field name, in the proto namespace. 137 * @return Information about the extension if found, or {@code null} 145 * Find an extension by containing type and field number. 147 * @return Information about the extension if found, or {@code null} 156 /** Add an extension from a generated file to the registry. * 225 extensionsByName.put(extension.descriptor.getFullName(), extension); local 239 extensionsByName.put(field.getMessageType().getFullName(), extension); local [all...] |
/external/chromium/chrome/browser/sync/glue/ |
extension_sync_traits.cc | 13 #include "chrome/common/extensions/extension.h" 53 if (!entity_specifics.HasExtension(sync_pb::extension)) { 56 *extension_specifics = entity_specifics.GetExtension(sync_pb::extension); 60 bool IsSyncableExtension(Extension::Type type, const GURL& update_url) { 62 case Extension::TYPE_EXTENSION: 64 case Extension::TYPE_USER_SCRIPT: 72 bool IsValidAndSyncableExtension(const Extension& extension) { 74 IsExtensionValid(extension) && 75 IsSyncableExtension(extension.GetType(), extension.update_url()) [all...] |
/external/chromium/chrome/common/extensions/ |
extension_unittest.cc | 5 #include "chrome/common/extensions/extension.h" 64 ASSERT_EQ(0, Extension::INVALID); 65 ASSERT_EQ(1, Extension::INTERNAL); 66 ASSERT_EQ(2, Extension::EXTERNAL_PREF); 67 ASSERT_EQ(3, Extension::EXTERNAL_REGISTRY); 68 ASSERT_EQ(4, Extension::LOAD); 69 ASSERT_EQ(5, Extension::COMPONENT); 70 ASSERT_EQ(6, Extension::EXTERNAL_PREF_DOWNLOAD); 71 ASSERT_EQ(7, Extension::EXTERNAL_POLICY_DOWNLOAD); 75 for (int i = 0; i < Extension::NUM_LOCATIONS; i++) 126 Extension& extension = *extension_ptr; local 389 Extension& extension = *extension_ptr; local 460 Extension& extension = *extension_ptr; local 523 Extension& extension = *extension_ptr; local 835 scoped_refptr<Extension> extension = Extension::Create( local 849 scoped_refptr<Extension> extension; local 1199 scoped_refptr<Extension> extension; local 1210 scoped_refptr<Extension> extension; local 1219 scoped_refptr<Extension> extension; local 1234 scoped_refptr<Extension> extension; local 1329 scoped_refptr<Extension> extension = Extension::Create( local 1360 scoped_refptr<Extension> extension; local [all...] |
extension_sidebar_utils.cc | 7 #include "chrome/common/extensions/extension.h" 26 const Extension* extension, 28 GURL url(extension->GetResourceURL(relative_path));
|
/external/chromium/chrome/browser/ui/app_modal_dialogs/ |
message_box_handler.cc | 30 const Extension* extension = local 32 if (!extension) 33 extension = extensions_service->GetExtensionByWebExtent(frame_url); 35 if (extension && (extension->location() == Extension::COMPONENT)) { 37 } else if (extension && !extension->name().empty()) { 38 return UTF8ToWide(extension->name()) [all...] |
/external/srec/srec/include/ |
duk_io.h | 39 #define OS_EXT_DELIM '.' /* OS Filename Extension Delimeter */ 40 #define TCP_EXT "tcp" /* Transcription Extension */ 41 #define MDL_EXT "mdl" /* Model Extension */ 59 int check_file_extension(char *filename, char *extension); 60 void get_file_extension(char *filename, char *extension);
|
/frameworks/base/core/java/android/webkit/ |
MimeTypeMap.java | 38 * Returns the file extension or an empty string iff there is no 39 * extension. This method is a convenience method for obtaining the 40 * extension of a url and has undefined results for other Strings. 42 * @return The file extension of the given url. 84 * Return the MIME type for the given extension. 85 * @param extension A file extension without the leading '.' 86 * @return The MIME type for the given extension or null iff there is none. 88 public String getMimeTypeFromExtension(String extension) { 89 return MimeUtils.guessMimeTypeFromExtension(extension); 143 String extension = getFileExtensionFromUrl(url); local [all...] |
/frameworks/base/media/libstagefright/ |
StagefrightMediaScanner.cpp | 35 static bool FileHasAcceptableExtension(const char *extension) { 47 if (!strcasecmp(extension, kValidExtensions[i])) { 118 const char *extension = strrchr(path, '.'); local 120 if (!extension) { 124 if (!FileHasAcceptableExtension(extension)) { 128 if (!strcasecmp(extension, ".mid") 129 || !strcasecmp(extension, ".smf") 130 || !strcasecmp(extension, ".imy") 131 || !strcasecmp(extension, ".midi") 132 || !strcasecmp(extension, ".xmf" [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...] |