Searched refs:icon_file (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/web_applications/ |
D | web_app.cc | 111 bool SaveIconWithCheckSum(const FilePath& icon_file, const SkBitmap& image) { in SaveIconWithCheckSum() argument 112 if (!IconUtil::CreateIconFileFromSkBitmap(image, icon_file)) in SaveIconWithCheckSum() 118 FilePath cheksum_file(icon_file.ReplaceExtension(kIconChecksumFileExt)); in SaveIconWithCheckSum() 125 bool ShouldUpdateIcon(const FilePath& icon_file, const SkBitmap& image) { in ShouldUpdateIcon() argument 126 FilePath checksum_file(icon_file.ReplaceExtension(kIconChecksumFileExt)); in ShouldUpdateIcon() 129 if (!file_util::PathExists(icon_file) || in ShouldUpdateIcon() 313 FilePath icon_file = web_app_path_.Append(file_name).ReplaceExtension( in CreateShortcut() local 315 if (!web_app::internals::CheckAndSaveIcon(icon_file, in CreateShortcut() 369 icon_file.value().c_str(), in CreateShortcut() 428 bool CheckAndSaveIcon(const FilePath& icon_file, const SkBitmap& image) { in CheckAndSaveIcon() argument [all …]
|
D | web_app.h | 73 bool CheckAndSaveIcon(const FilePath& icon_file, const SkBitmap& image);
|
/external/chromium/chrome/browser/extensions/ |
D | convert_web_app_unittest.cc | 35 FilePath icon_file; in GetIconInfo() local 36 if (!PathService::Get(chrome::DIR_TEST_DATA, &icon_file)) { in GetIconInfo() 41 icon_file = icon_file.AppendASCII("extensions") in GetIconInfo() 50 if (!file_util::ReadFileToString(icon_file, &icon_data)) { in GetIconInfo()
|
D | convert_web_app.cc | 151 FilePath icon_file = icons_dir.AppendASCII( in ConvertWebAppToExtension() local 162 if (!file_util::WriteFile(icon_file, image_data_ptr, image_data.size())) { in ConvertWebAppToExtension()
|
/external/chromium/base/ |
D | mime_util_xdg.cc | 593 FilePath icon_file; in GetMimeIcon() local 627 icon_file = FilePath(icon_names[i]); in GetMimeIcon() 628 if (file_util::PathExists(icon_file)) in GetMimeIcon() 629 return icon_file; in GetMimeIcon() 631 icon_file = LookupIconInDefaultTheme(icon_names[i], size); in GetMimeIcon() 632 if (!icon_file.empty()) in GetMimeIcon() 633 return icon_file; in GetMimeIcon()
|
/external/chromium/chrome/browser/ui/web_applications/ |
D | web_app_ui.cc | 232 FilePath icon_file = web_app_path.Append(file_name_).ReplaceExtension( in UpdateShortcutsOnFileThread() local 234 web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info_.favicon); in UpdateShortcutsOnFileThread() 254 icon_file.value().c_str(), in UpdateShortcutsOnFileThread()
|