Searched defs:file_extension (Results 1 - 12 of 12) sorted by relevance

/external/chromium/webkit/glue/
H A Dsimple_webmimeregistry_impl.cc95 const WebString& file_extension) {
98 WebStringToFilePathString(file_extension), &mime_type);
112 FilePath::StringType file_extension; local
114 &file_extension); local
115 return FilePathStringToWebString(file_extension);
94 mimeTypeForExtension( const WebString& file_extension) argument
H A Dwebdropdata.h40 string16 file_extension; member in struct:WebDropData
/external/chromium_org/webkit/glue/
H A Dsimple_webmimeregistry_impl.cc74 const WebString& file_extension) {
77 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type);
82 const WebString& file_extension) {
85 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type);
99 base::FilePath::StringType file_extension; local
101 &file_extension); local
102 return base::FilePath(file_extension).AsUTF16Unsafe();
73 mimeTypeForExtension( const WebString& file_extension) argument
81 wellKnownMimeTypeForExtension( const WebString& file_extension) argument
/external/chromium_org/chrome/common/extensions/api/file_handlers/
H A Dfile_handlers_parser.cc93 std::string file_extension; local
95 if (!file_extensions->GetString(i, &file_extension)) {
102 handler.extensions.insert(file_extension);
/external/chromium_org/chrome/renderer/plugins/
H A Dplugin_uma.cc143 std::string file_extension; local
144 ExtractFileExtension(src, &file_extension);
147 file_extension.c_str())) {
153 file_extension.c_str())) {
159 file_extension.c_str())) {
165 file_extension.c_str())) {
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dselect_file_dialog_impl_gtk2.cc54 std::string* file_extension) {
55 return EndsWith(file_info->filename, *file_extension, false);
59 void OnFileFilterDataDestroyed(std::string* file_extension) { argument
60 delete file_extension;
291 scoped_ptr<std::string> file_extension(
293 fallback_labels.insert(std::string("*").append(*file_extension));
298 file_extension.release(),
53 FileFilterCaseInsensitive(const GtkFileFilterInfo* file_info, std::string* file_extension) argument
/external/chromium_org/content/worker/
H A Dworker_webkitplatformsupport_impl.cc260 const WebString& file_extension) {
263 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type));
268 const WebString& file_extension) {
271 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type);
287 base::FilePath::StringType file_extension; local
290 UTF16ToASCII(mime_type), &file_extension));
291 return base::FilePath(file_extension).AsUTF16Unsafe();
259 mimeTypeForExtension( const WebString& file_extension) argument
267 wellKnownMimeTypeForExtension( const WebString& file_extension) argument
/external/chromium_org/ui/shell_dialogs/gtk/
H A Dselect_file_dialog_impl_gtk.cc29 std::string* file_extension) {
30 return EndsWith(file_info->filename, *file_extension, false);
34 void OnFileFilterDataDestroyed(std::string* file_extension) { argument
35 delete file_extension;
247 scoped_ptr<std::string> file_extension(
249 fallback_labels.insert(std::string("*").append(*file_extension));
254 file_extension.release(),
28 FileFilterCaseInsensitive(const GtkFileFilterInfo* file_info, std::string* file_extension) argument
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dfile_manager_util.cc108 bool IsSupportedBrowserExtension(const char* file_extension) { argument
110 if (base::strcasecmp(file_extension, kBrowserSupportedExtensions[i]) == 0) {
117 bool IsCRXFile(const char* file_extension) { argument
118 return base::strcasecmp(file_extension, kCRXExtension) == 0;
773 std::string file_extension = path.Extension(); local
776 if (IsSupportedBrowserExtension(file_extension.data()) ||
777 ShouldBeOpenedWithPlugin(profile, file_extension.data())) {
806 if (IsCRXFile(file_extension.data())) {
827 bool ShouldBeOpenedWithPlugin(Profile* profile, const char* file_extension) { argument
828 if (LowerCaseEqualsASCII(file_extension, kPdfExtensio
836 const base::FilePath::StringType file_extension = local
[all...]
/external/chromium_org/chrome/browser/google_apis/
H A Ddrive_api_parser.h525 const std::string& file_extension() const { return file_extension_; } function in class:google_apis::FileResource
588 void set_file_extension(const std::string& file_extension) { argument
589 file_extension_ = file_extension;
H A Dgdata_wapi_parser.cc584 std::string file_extension = WideToUTF8(file_path.Extension()); local
586 std::string file_extension = file_path.Extension();
590 if (document_extension && file_extension == document_extension)
/external/chromium_org/content/renderer/
H A Drenderer_webkitplatformsupport_impl.cc148 const WebKit::WebString& file_extension);
460 const WebString& file_extension) {
462 return SimpleWebMimeRegistryImpl::mimeTypeForExtension(file_extension);
469 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type));
495 base::FilePath::StringType file_extension;
498 UTF16ToASCII(mime_type), &file_extension));
499 return base::FilePath(file_extension).AsUTF16Unsafe();
459 mimeTypeForExtension( const WebString& file_extension) argument

Completed in 206 milliseconds