HomeSort by relevance Sort by last modified time
    Searched refs:icon_file (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/chrome/browser/web_applications/
web_app_win.h 25 bool CheckAndSaveIcon(const base::FilePath& icon_file,
web_app_win.cc 57 // Saves |image| as an |icon_file| with the checksum.
58 bool SaveIconWithCheckSum(const base::FilePath& icon_file,
60 if (!IconUtil::CreateIconFileFromImageFamily(image, icon_file))
66 base::FilePath cheksum_file(icon_file.ReplaceExtension(kIconChecksumFileExt));
72 // Returns true if |icon_file| is missing or different from |image|.
73 bool ShouldUpdateIcon(const base::FilePath& icon_file,
76 icon_file.ReplaceExtension(kIconChecksumFileExt));
78 // Returns true if icon_file or checksum file is missing.
79 if (!base::PathExists(icon_file) ||
180 base::FilePath icon_file = web_app_path.Append(file_name).AddExtension local
445 base::FilePath icon_file = web_app_path.Append(file_name).AddExtension( local
    [all...]
  /external/chromium/chrome/browser/web_applications/
web_app.cc 110 // Saves |image| as an |icon_file| with the checksum.
111 bool SaveIconWithCheckSum(const FilePath& icon_file, const SkBitmap& image) {
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) {
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 = web_app_path_.Append(file_name).ReplaceExtension
    [all...]
web_app.h 73 bool CheckAndSaveIcon(const FilePath& icon_file, const SkBitmap& image);
  /external/chromium/chrome/browser/extensions/
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)) {
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())) {
  /external/chromium_org/chrome/browser/extensions/
convert_web_app_unittest.cc 39 base::FilePath icon_file; local
40 if (!PathService::Get(chrome::DIR_TEST_DATA, &icon_file)) {
45 icon_file = icon_file.AppendASCII("extensions")
54 if (!base::ReadFileToString(icon_file, &icon_data)) {
convert_web_app.cc 165 base::FilePath icon_file = icons_dir.AppendASCII( local
177 if (file_util::WriteFile(icon_file, image_data_ptr, size) != size) {
  /external/chromium/chrome/browser/ui/web_applications/
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/base/
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;
  /external/chromium_org/base/nix/
mime_util_xdg.cc 603 FilePath icon_file; local
640 icon_file = FilePath(icon_names[i]);
641 if (PathExists(icon_file))
642 return icon_file;
644 icon_file = LookupIconInDefaultTheme(icon_names[i], size);
645 if (!icon_file.empty())
646 return icon_file;
  /external/chromium_org/chrome/browser/ui/web_applications/
web_app_ui.cc 294 base::FilePath icon_file = web_app_path.Append(file_name_).ReplaceExtension( local
296 web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info_.favicon);
314 shortcut_properties.set_icon(icon_file, 0);
  /external/chromium_org/chrome/browser/ui/views/apps/
native_app_window_views.cc 143 const base::FilePath icon_file,
168 ui::win::SetAppIconForWindow(icon_file.value(), hwnd);
169 web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info.favicon);
379 base::FilePath icon_file = web_app_path local
386 web_app_path, icon_file, shortcut_info, hwnd));
    [all...]

Completed in 168 milliseconds