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

Unified Diff: chrome/browser/icon_loader_auralinux.cc

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_android.cc ('k') | chrome/browser/icon_loader_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/icon_loader_auralinux.cc
diff --git a/chrome/browser/icon_loader_auralinux.cc b/chrome/browser/icon_loader_auralinux.cc
index 7783751e22209b52229242888ff873ff36782818..c3b57ed8cfd9c37973be1a3cb5652144e442caf3 100644
--- a/chrome/browser/icon_loader_auralinux.cc
+++ b/chrome/browser/icon_loader_auralinux.cc
@@ -10,14 +10,9 @@
#include "ui/views/linux_ui/linux_ui.h"
// static
-IconGroupID IconLoader::ReadGroupIDFromFilepath(
- const base::FilePath& filepath) {
- return base::nix::GetFileMimeType(filepath);
-}
-
-// static
-bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) {
- return false;
+IconLoader::IconGroup IconLoader::GroupForFilepath(
+ const base::FilePath& file_path) {
+ return base::nix::GetFileMimeType(file_path);
}
// static
« no previous file with comments | « chrome/browser/icon_loader_android.cc ('k') | chrome/browser/icon_loader_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698