MatchesExtension 287 base/files/file_path.h bool MatchesExtension(const StringType& extension) const; MatchesExtension 968 base/files/file_path_unittest.cc TEST_F(FilePathTest, MatchesExtension) { MatchesExtension 1008 base/files/file_path_unittest.cc EXPECT_EQ(cases[i].expected, path.MatchesExtension(ext)) << MatchesExtension 58 chrome/browser/chromeos/file_manager/open_with_browser.cc if (file_path.MatchesExtension(kFileExtensionsViewableInBrowser[i])) MatchesExtension 179 chrome/browser/chromeos/file_manager/open_with_browser.cc if (file_path.MatchesExtension(kPdfExtension)) MatchesExtension 181 chrome/browser/chromeos/file_manager/open_with_browser.cc if (file_path.MatchesExtension(kSwfExtension)) MatchesExtension 191 chrome/browser/download/chrome_download_manager_delegate.cc if (path.MatchesExtension(FILE_PATH_LITERAL(".pdf")) || MatchesExtension 192 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".htm")) || MatchesExtension 193 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".html")) || MatchesExtension 194 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".shtm")) || MatchesExtension 195 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".shtml")) || MatchesExtension 196 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".svg")) || MatchesExtension 197 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".xht")) || MatchesExtension 198 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".xhtm")) || MatchesExtension 199 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".xhtml")) || MatchesExtension 200 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".xml")) || MatchesExtension 201 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".xsl")) || MatchesExtension 202 chrome/browser/download/chrome_download_manager_delegate.cc path.MatchesExtension(FILE_PATH_LITERAL(".xslt"))) { MatchesExtension 301 chrome/browser/download/chrome_download_manager_delegate.cc if (path.MatchesExtension(extensions::kExtensionFileExtension)) MatchesExtension 562 chrome/browser/download/download_target_determiner.cc DCHECK(!virtual_path_.MatchesExtension(kCrdownloadSuffix)); MatchesExtension 563 chrome/browser/download/download_target_determiner.cc DCHECK(!local_path_.MatchesExtension(kCrdownloadSuffix)); MatchesExtension 710 chrome/browser/download/download_target_determiner.cc !filename.MatchesExtension(extensions::kExtensionFileExtension) && MatchesExtension 434 chrome/browser/download/download_target_determiner_unittest.cc EXPECT_TRUE(target_info->intermediate_path.MatchesExtension( MatchesExtension 484 chrome/browser/download/download_target_determiner_unittest.cc if (new_path.MatchesExtension(FILE_PATH_LITERAL(".remove"))) MatchesExtension 494 chrome/browser/download/download_target_determiner_unittest.cc if (path.MatchesExtension(FILE_PATH_LITERAL(".exe"))) MatchesExtension 148 chrome/browser/download/save_package_file_picker.cc !suggested_path_copy.MatchesExtension(FILE_PATH_LITERAL(".htm")) && MatchesExtension 149 chrome/browser/download/save_package_file_picker.cc !suggested_path_copy.MatchesExtension(FILE_PATH_LITERAL(".html"))) { MatchesExtension 44 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc if (path.MatchesExtension( MatchesExtension 53 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc path.MatchesExtension(base::FilePath::StringType())) { MatchesExtension 54 chrome/browser/extensions/external_pref_loader.cc if (file.MatchesExtension(extension)) { MatchesExtension 29 chrome/browser/icon_loader_win.cc return filepath.MatchesExtension(L".exe") || MatchesExtension 30 chrome/browser/icon_loader_win.cc filepath.MatchesExtension(L".dll") || MatchesExtension 31 chrome/browser/icon_loader_win.cc filepath.MatchesExtension(L".ico"); MatchesExtension 23 chrome/browser/parsers/metadata_parser_jpeg_factory.cc return path.MatchesExtension(ext); MatchesExtension 62 chrome/browser/safe_browsing/download_protection_service.cc if (file.MatchesExtension(FILE_PATH_LITERAL(".apk"))) MatchesExtension 64 chrome/browser/safe_browsing/download_protection_service.cc else if (file.MatchesExtension(FILE_PATH_LITERAL(".crx"))) MatchesExtension 68 chrome/browser/safe_browsing/download_protection_service.cc else if (file.MatchesExtension(FILE_PATH_LITERAL(".zip"))) MatchesExtension 100 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".exe"))) return EXTENSION_EXE; MatchesExtension 101 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".msi"))) return EXTENSION_MSI; MatchesExtension 102 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".cab"))) return EXTENSION_CAB; MatchesExtension 103 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".sys"))) return EXTENSION_SYS; MatchesExtension 104 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".scr"))) return EXTENSION_SCR; MatchesExtension 105 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".drv"))) return EXTENSION_DRV; MatchesExtension 106 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".bat"))) return EXTENSION_BAT; MatchesExtension 107 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".zip"))) return EXTENSION_ZIP; MatchesExtension 108 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".rar"))) return EXTENSION_RAR; MatchesExtension 109 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".dll"))) return EXTENSION_DLL; MatchesExtension 110 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".pif"))) return EXTENSION_PIF; MatchesExtension 111 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".com"))) return EXTENSION_COM; MatchesExtension 112 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".jar"))) return EXTENSION_JAR; MatchesExtension 113 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".class"))) return EXTENSION_CLASS; MatchesExtension 114 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".pdf"))) return EXTENSION_PDF; MatchesExtension 115 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".vb"))) return EXTENSION_VB; MatchesExtension 116 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".reg"))) return EXTENSION_REG; MatchesExtension 117 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".grp"))) return EXTENSION_GRP; MatchesExtension 118 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".crx"))) return EXTENSION_CRX; MatchesExtension 119 chrome/browser/safe_browsing/download_protection_service.cc if (f.MatchesExtension(FILE_PATH_LITERAL(".apk"))) return EXTENSION_APK; MatchesExtension 336 chrome/browser/safe_browsing/download_protection_service.cc if (item_->GetTargetFilePath().MatchesExtension( MatchesExtension 208 chrome/common/extensions/extension_file_util.cc if (!current.MatchesExtension(extensions::kExtensionKeyFileExtension)) MatchesExtension 11 chrome/common/safe_browsing/download_protection_util.cc return file.MatchesExtension(FILE_PATH_LITERAL(".zip")); MatchesExtension 17 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".bas")) || MatchesExtension 18 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".bat")) || MatchesExtension 19 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".cab")) || MatchesExtension 20 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".cmd")) || MatchesExtension 21 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".com")) || MatchesExtension 22 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".exe")) || MatchesExtension 23 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".hta")) || MatchesExtension 24 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".msi")) || MatchesExtension 25 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".pif")) || MatchesExtension 26 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".reg")) || MatchesExtension 27 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".scr")) || MatchesExtension 28 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".vb")) || MatchesExtension 29 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".vbs")) || MatchesExtension 31 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".crx")) || MatchesExtension 32 chrome/common/safe_browsing/download_protection_util.cc file.MatchesExtension(FILE_PATH_LITERAL(".apk")) || MatchesExtension 52 content/browser/dom_storage/dom_storage_area.cc DCHECK(name.MatchesExtension(kDatabaseFileExtension)); MatchesExtension 96 content/browser/dom_storage/dom_storage_context_impl.cc if (path.MatchesExtension(DOMStorageArea::kDatabaseFileExtension)) { MatchesExtension 202 content/browser/download/download_stats.cc if (file_path.MatchesExtension(kDangerousFileTypes[i])) MatchesExtension 500 content/common/plugin_list_posix.cc if (path.MatchesExtension(FILE_PATH_LITERAL(".xpt"))) MatchesExtension 26 printing/image.cc if (path.MatchesExtension(FILE_PATH_LITERAL(".png"))) { MatchesExtension 28 printing/image.cc } else if (path.MatchesExtension(FILE_PATH_LITERAL(".emf"))) { MatchesExtension 349 third_party/leveldatabase/env_chromium.cc return path.MatchesExtension(table_extension); MatchesExtension 433 third_party/leveldatabase/env_chromium.cc if (current.MatchesExtension(table_extension)) MatchesExtension 435 third_party/leveldatabase/env_chromium.cc if (current.MatchesExtension(backup_table_extension)) MatchesExtension 496 third_party/leveldatabase/env_chromium.cc if (make_backup_ && fname_filepath.MatchesExtension(table_extension)) { MatchesExtension 154 third_party/leveldatabase/env_chromium_unittest.cc if (fname.MatchesExtension(extension)) MatchesExtension 165 third_party/leveldatabase/env_chromium_unittest.cc if (fname.MatchesExtension(FPL(".ldb"))) {