Chromium Code Reviews| Index: chrome/browser/icon_loader_chromeos.cc |
| diff --git a/chrome/browser/icon_loader_chromeos.cc b/chrome/browser/icon_loader_chromeos.cc |
| index 100f1ac1c4c958f9e4f35eaf1c0bbdead3271850..d82e08e676ea7f7c2e90c352b6889ad1f0fd77e6 100644 |
| --- a/chrome/browser/icon_loader_chromeos.cc |
| +++ b/chrome/browser/icon_loader_chromeos.cc |
| @@ -9,9 +9,11 @@ |
| #include <utility> |
| #include "base/bind.h" |
| +#include "base/file_path.h" |
|
Robert Sesek
2013/03/08 18:41:26
This file is now in base/files/
|
| #include "base/lazy_instance.h" |
| #include "base/memory/ref_counted_memory.h" |
| #include "base/message_loop.h" |
| +#include "base/string_util.h" |
| #include "chrome/browser/icon_loader.h" |
| #include "grit/theme_resources.h" |
| #include "third_party/skia/include/core/SkBitmap.h" |
| @@ -177,6 +179,11 @@ int IconSizeToDIPSize(IconLoader::IconSize size) { |
| } // namespace |
| +IconGroupID IconLoader::ReadGroupIDFromFilepath( |
| + const base::FilePath& filepath) { |
| + return StringToLowerASCII(filepath.Extension()); |
| +} |
| + |
| void IconLoader::ReadIcon() { |
| static base::LazyInstance<IconMapper>::Leaky icon_mapper = |
| LAZY_INSTANCE_INITIALIZER; |