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

Unified Diff: chrome/browser/icon_loader_auralinux.cc

Issue 2440273002: Clean up the IconLoader. (Closed)
Patch Set: Created 4 years, 2 months 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..04818217269fe84e8589981293bc41b5f5a37b53 100644
--- a/chrome/browser/icon_loader_auralinux.cc
+++ b/chrome/browser/icon_loader_auralinux.cc
@@ -10,17 +10,12 @@
#include "ui/views/linux_ui/linux_ui.h"
// static
-IconGroupID IconLoader::ReadGroupIDFromFilepath(
+IconLoader::IconGroup IconLoader::GroupForFilepath(
const base::FilePath& filepath) {
return base::nix::GetFileMimeType(filepath);
sky 2016/10/24 15:56:25 I believe this may trigger io: std::string GetFile
Avi (use Gerrit) 2016/10/24 16:02:18 :( Missed that platform. Let me try again.
}
// static
-bool IconLoader::IsIconMutableFromFilepath(const base::FilePath&) {
- return false;
-}
-
-// static
content::BrowserThread::ID IconLoader::ReadIconThreadID() {
// ReadIcon() calls into views::LinuxUI and GTK2 code, so it must be on the UI
// thread.
« 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