From ba9d60b681bef673558fc0d824ba86514e1fa841 Mon Sep 17 00:00:00 2001 From: "davemoore@chromium.org" Date: Thu, 6 Oct 2011 02:00:53 +0000 Subject: Resolve five aura linking problems BUG=None TEST=None Review URL: http://codereview.chromium.org/8166005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104224 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/icon_manager_linux.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'chrome/browser/icon_manager_linux.cc') 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 } -- cgit v1.1