Searched defs:icon_file (Results 1 - 5 of 5) sorted by relevance
/external/chromium/chrome/browser/extensions/ |
H A D | convert_web_app.cc | 151 FilePath icon_file = icons_dir.AppendASCII( local 162 if (!file_util::WriteFile(icon_file, image_data_ptr, image_data.size())) {
|
H A D | convert_web_app_unittest.cc | 35 FilePath icon_file; local 36 if (!PathService::Get(chrome::DIR_TEST_DATA, &icon_file)) { 41 icon_file = icon_file.AppendASCII("extensions") 50 if (!file_util::ReadFileToString(icon_file, &icon_data)) {
|
/external/chromium/chrome/browser/ui/web_applications/ |
H A D | web_app_ui.cc | 232 FilePath icon_file = web_app_path.Append(file_name_).ReplaceExtension( local 234 web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info_.favicon); 254 icon_file.value().c_str(),
|
/external/chromium/chrome/browser/web_applications/ |
H A D | web_app.cc | 110 // Saves |image| as an |icon_file| with the checksum. 111 bool SaveIconWithCheckSum(const FilePath& icon_file, const SkBitmap& image) { argument 112 if (!IconUtil::CreateIconFileFromSkBitmap(image, icon_file)) 118 FilePath cheksum_file(icon_file.ReplaceExtension(kIconChecksumFileExt)); 124 // Returns true if |icon_file| is missing or different from |image|. 125 bool ShouldUpdateIcon(const FilePath& icon_file, const SkBitmap& image) { argument 126 FilePath checksum_file(icon_file.ReplaceExtension(kIconChecksumFileExt)); 128 // Returns true if icon_file or checksum file is missing. 129 if (!file_util::PathExists(icon_file) || 313 FilePath icon_file 428 CheckAndSaveIcon(const FilePath& icon_file, const SkBitmap& image) argument [all...] |
/external/chromium/base/ |
H A D | mime_util_xdg.cc | 593 FilePath icon_file; local 627 icon_file = FilePath(icon_names[i]); 628 if (file_util::PathExists(icon_file)) 629 return icon_file; 631 icon_file = LookupIconInDefaultTheme(icon_names[i], size); 632 if (!icon_file.empty()) 633 return icon_file;
|
Completed in 221 milliseconds