/external/chromium/chrome/browser/download/ |
download_extensions.h | 24 // Determine the download danger level using a file extension. 26 const FilePath::StringType& extension);
|
download_extensions.cc | 60 const char* extension; member in struct:download_util::Executables 191 return GetFileExtensionDangerLevel(path.Extension()); 195 const FilePath::StringType& extension) { 196 if (extension.empty()) 198 if (!IsStringASCII(extension)) 201 std::string ascii_extension = WideToASCII(extension); 203 std::string ascii_extension = extension; 211 if (LowerCaseEqualsASCII(ascii_extension, g_executables[i].extension))
|
/external/chromium/chrome/browser/extensions/ |
extension_install_dialog.h | 14 class Extension; 21 const Extension* extension,
|
extension_icon_manager_unittest.cc | 10 #include "chrome/common/extensions/extension.h" 18 // extension icons, and waiting for those loads to happen. 89 // Returns the default icon that ExtensionIconManager gives when an extension 93 EXPECT_TRUE(Extension::GenerateId(std::string("whatever"), &dummy_id)); 98 // Tests loading an icon for an extension, removing it, then re-loading it. 112 scoped_refptr<Extension> extension(Extension::Create( 113 manifest_path.DirName(), Extension::INVALID, *manifest.get(), 114 Extension::STRICT_ERROR_CHECKS, NULL)) [all...] |
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.h | 34 #include "chrome/common/extensions/extension.h" 62 virtual const Extension* GetExtensionById(const std::string& id, 90 // extension match the state in |extension_sync_data| (including 91 // installing/uninstalling the extension). 102 // GetInitialSyncData(bool (*filter)(Extension), 118 // Information about a registered component extension. 126 // The extension's manifest. This is required for component extensions so 130 // Directory where the extension is stored. 144 // Determine if a given extension download should be treated as if it came 150 // Determine if the downloaded extension came from the theme mini-gallery [all...] |
extension_infobar_delegate.h | 12 class Extension; 17 // plus monitor when the extension goes away. 32 const Extension* extension, 35 const Extension* extension() { return extension_; } function in class:ExtensionInfoBarDelegate 58 // The extension host we are showing the InfoBar for. The delegate needs to 67 const Extension* extension_;
|
/external/chromium/chrome/browser/ui/gtk/infobars/ |
extension_infobar_gtk.cc | 8 #include "chrome/common/extensions/extension.h" 49 const Extension* extension = delegate_->extension_host()->extension(); local 50 ExtensionResource icon_resource = extension->GetIconResource( 51 Extension::EXTENSION_ICON_BITTY, ExtensionIconSet::MATCH_EXACTLY); 54 tracker_.LoadImage(extension, icon_resource, 55 gfx::Size(Extension::EXTENSION_ICON_BITTY, 56 Extension::EXTENSION_ICON_BITTY),
|
/external/chromium/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/ |
contentscript.js | 12 chrome.extension.sendRequest(payload, function(response) {});
|
/external/chromium/chrome/common/extensions/ |
extension_sidebar_utils.h | 11 class Extension; 16 // Returns id of an extension owning a sidebar identified by |content_id|. 19 // Resolves |relative_path| relative to |extension|'s url. 23 const Extension* extension,
|
extension_file_util.cc | 18 #include "chrome/common/extensions/extension.h" 35 static bool ValidateLocaleInfo(const Extension& extension, std::string* error); 51 // Create the extension directory if it doesn't exist already. 70 LOG(ERROR) << "Could not find a home for extension " << id << " with " 89 scoped_refptr<Extension> LoadExtension(const FilePath& extension_path, 90 Extension::Location location, 94 extension_path.Append(Extension::kManifestFilename); 126 scoped_refptr<Extension> extension(Extension::Create [all...] |
extension_messages.cc | 11 : location(Extension::INVALID) { 26 const Extension* extension) 28 location(extension->location()), 29 path(extension->path()), 30 id(extension->id()) { 31 // As we need more bits of extension data in the renderer, add more keys to 45 if (extension->manifest_value()->Get(kRendererExtensionKeys[i], &temp)) 50 scoped_refptr<Extension> 54 scoped_refptr<Extension> extension [all...] |
/external/guava/guava/src/com/google/common/collect/ |
BstPathFactory.java | 32 P extension(P path, BstSide side); method in interface:BstPathFactory
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ExtensionRegistryLite.java | 51 * lite, whether the embedded type (in the case of a message-typed extension) 52 * is lite, and whether the extension itself is lite. Since all three are 56 * Extended type Inner type Extension Use registry 90 * Find an extension by containing type and field number. 92 * @return Information about the extension if found, or {@code null} 106 /** Add an extension from a lite generated file to the registry. */ 108 final GeneratedMessageLite.GeneratedExtension<?, ?> extension) { 110 new ObjectIntPair(extension.getContainingTypeDefaultInstance(), 111 extension.getNumber()), 112 extension); [all...] |
/external/webkit/Source/WebCore/platform/ |
MIMETypeRegistry.h | 38 static String getMIMETypeForExtension(const String& extension); 40 static String getMIMETypeForExtensionThreadSafe(const String& extension); 44 static String getMediaMIMETypeForExtension(const String& extension); 45 static Vector<String> getMediaMIMETypesForExtension(const String& extension);
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageSourceCGMac.mm | 44 RetainPtr<CFStringRef> extension(AdoptCF, UTTypeCopyPreferredTagWithClass(type.get(), kUTTagClassFilenameExtension)); 45 return extension.get();
|
/frameworks/base/core/java/android/webkit/ |
URLUtil.java | 291 * the URL and contentDisposition. File extension, if not defined, 304 String extension = null; local 340 // Split filename between base and extension 341 // Add an extension if filename does not have one 345 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType); 346 if (extension != null) { 347 extension = "." + extension; 350 if (extension == null) { 353 extension = ".html" [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-filepath.cc | 57 // Returns a copy of the FilePath with the case-insensitive extension removed. 59 // FilePath("dir/file"). If a case-insensitive extension is not 61 FilePath FilePath::RemoveExtension(const char* extension) const { 62 String dot_extension(String::Format(".%s", extension)); 95 // extension = "xml", returns "dir/test.xml". If number is greater 101 const char* extension) { 105 base_name.c_str(), extension)); 108 base_name.c_str(), number, extension)); 143 // will be directory/base_name.extension or 144 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/frameworks/base/tools/validatekeymaps/ |
Main.cpp | 51 const char *extension = strrchr(filename, '.'); local 52 if (extension) { 53 if (strcmp(extension, ".kl") == 0) { 56 if (strcmp(extension, ".kcm") == 0) { 59 if (strcmp(extension, ".idc") == 0) {
|
/external/chromium/chrome/browser/ |
background_mode_manager.cc | 21 #include "chrome/common/extensions/extension.h" 32 const Extension* extension) { 33 UpdateContextMenuEntryIcon(extension); 80 // loaded, to handle the case where an extension has been manually removed 123 Extension* extension = Details<Extension>(details).ptr(); local 124 if (BackgroundApplicationListModel::IsBackgroundApp(*extension)) { 128 OnBackgroundAppInstalled(extension); 332 const Extension* extension = applications_.GetExtension(item); local [all...] |
/external/webkit/Source/WebCore/loader/mac/ |
LoaderNSURLExtras.mm | 57 NSString *extension = nil; 68 // Save the extension for later correction. Only correct the extension of the lastPathComponent. 70 extension = [filename pathExtension]; 87 // If the type is known, check the extension and correct it if necessary. 91 if (extensions.isEmpty() || !vectorContainsString(extensions, extension)) { 92 // The extension doesn't match the MIME type. Correct this. 95 // Append the correct extension.
|
/libcore/luni/src/main/java/libcore/net/ |
MimeUtils.java | 47 // The "most popular" extension must come first, so that it's the one returned 365 private static void add(String mimeType, String extension) { 371 // the first extension is considered the most popular and is 375 mimeTypeToExtensionMap.put(mimeType, extension); 377 extensionToMimeTypeMap.put(extension, mimeType); 424 String extension = (String) entry.getKey(); local 426 add(mimeType, extension); 451 * Returns the MIME type for the given extension. 452 * @param extension A file extension without the leading '. [all...] |
/external/chromium/chrome/browser/ui/gtk/extensions/ |
extension_installed_bubble_gtk.h | 19 class Extension; 23 // extension. Depending on the type of extension, the InfoBubble will 47 // the extension has loaded. |extension| is the installed extension. |browser| 49 // icon of the extension. 51 const Extension* extension, Browser *browser, const SkBitmap& icon); 57 ExtensionInstalledBubbleGtk(const Extension* extension, Browser *browser [all...] |
/external/chromium/chrome/browser/ui/views/extensions/ |
extension_installed_bubble.h | 16 class Extension; 21 // extension. Depending on the type of extension, the Bubble will 45 // the extension has loaded. |extension| is the installed extension. |browser| 47 // icon of the extension. 49 const Extension* extension, Browser *browser, const SkBitmap& icon); 56 const Extension* extension, Browser *browser, const SkBitmap& icon) [all...] |
/external/chromium/chrome/browser/ui/views/infobars/ |
extension_infobar.cc | 13 #include "chrome/common/extensions/extension.h" 33 // The horizontal margin between the menu and the Extension (HTML) view. 93 const Extension* extension = extension_host->extension(); local 94 int image_size = Extension::EXTENSION_ICON_BITTY; 95 ExtensionResource icon_resource = extension->GetIconResource( 98 tracker_.LoadImage(extension, icon_resource, 145 // Fall back on the default extension icon on failure. 152 int image_size = Extension::EXTENSION_ICON_BITTY 174 const Extension* extension = GetDelegate()->extension_host()->extension(); local [all...] |