summaryrefslogtreecommitdiffstats
path: root/chrome/browser/icon_manager_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/icon_manager_linux.cc')
-rw-r--r--chrome/browser/icon_manager_linux.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/icon_manager_linux.cc b/chrome/browser/icon_manager_linux.cc
index 53fd124..930320e 100644
--- a/chrome/browser/icon_manager_linux.cc
+++ b/chrome/browser/icon_manager_linux.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,6 +8,10 @@
#include "base/threading/thread_restrictions.h"
IconGroupID IconManager::GetGroupIDFromFilepath(const FilePath& filepath) {
+#if defined(USE_AURA)
+ // TODO(davemoore) Implement this for aura.
+ return std::string();
+#else
// It turns out the call to mime_util::GetFileMimeType below does IO, but
// callers of GetGroupIDFromFilepath assume it does not do IO (the Windows
// and Mac implementations do not). We should fix this by either not doing IO
@@ -16,4 +20,5 @@ IconGroupID IconManager::GetGroupIDFromFilepath(const FilePath& filepath) {
base::ThreadRestrictions::ScopedAllowIO allow_io;
return mime_util::GetFileMimeType(filepath);
+#endif
}