summaryrefslogtreecommitdiffstats
path: root/chrome/browser/icon_manager_mac.mm
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 19:57:22 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 19:57:22 +0000
commit09c6dec4e18784861660f716d038035be9540601 (patch)
treeb5e5419aff269cb15c13ea6a3eab0c90a527ef4a /chrome/browser/icon_manager_mac.mm
parent66980a010042f2e44efb21360e662daeae8c5668 (diff)
downloadchromium_src-09c6dec4e18784861660f716d038035be9540601.zip
chromium_src-09c6dec4e18784861660f716d038035be9540601.tar.gz
chromium_src-09c6dec4e18784861660f716d038035be9540601.tar.bz2
Add file icons to chrome://downloads/ on the Mac. Add Skia helper
CGImageToSkBitmap(). Patch by Robert Sesek <rsesek@bluestatic.org> Review URL: http://codereview.chromium.org/118488 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/icon_manager_mac.mm')
-rw-r--r--chrome/browser/icon_manager_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/icon_manager_mac.mm b/chrome/browser/icon_manager_mac.mm
index 3e5d8be..9f13218 100644
--- a/chrome/browser/icon_manager_mac.mm
+++ b/chrome/browser/icon_manager_mac.mm
@@ -5,8 +5,8 @@
#include "chrome/browser/icon_manager.h"
#include "base/file_path.h"
+#include "base/sys_string_conversions.h"
IconGroupID IconManager::GetGroupIDFromFilepath(const FilePath& filepath) {
- NOTIMPLEMENTED();
- return std::string();
+ return filepath.Extension();
}