Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1944)

Unified Diff: chrome/browser/icon_loader_mac.mm

Issue 2440273002: Clean up the IconLoader. (Closed)
Patch Set: nits Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/icon_loader_chromeos.cc ('k') | chrome/browser/icon_loader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/icon_loader_mac.mm
diff --git a/chrome/browser/icon_loader_mac.mm b/chrome/browser/icon_loader_mac.mm
index 6abeb4734b6aa759fa01aacdce6229f8e56054ec..2c1e2c03ef4d4883d81cb7d35d778378250bf37a 100644
--- a/chrome/browser/icon_loader_mac.mm
+++ b/chrome/browser/icon_loader_mac.mm
@@ -15,14 +15,9 @@
#include "ui/gfx/image/image_skia_util_mac.h"
// static
-IconGroupID IconLoader::ReadGroupIDFromFilepath(
- const base::FilePath& filepath) {
- return filepath.Extension();
-}
-
-// static
-bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) {
- return false;
+IconLoader::IconGroup IconLoader::GroupForFilepath(
+ const base::FilePath& file_path) {
+ return file_path.Extension();
}
// static
« no previous file with comments | « chrome/browser/icon_loader_chromeos.cc ('k') | chrome/browser/icon_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698