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

Unified Diff: chrome/browser/icon_manager.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/history/top_sites_database.h ('k') | chrome/browser/icon_manager_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/icon_manager.h
diff --git a/chrome/browser/icon_manager.h b/chrome/browser/icon_manager.h
index d6e17d43c29700e46038658152a70c7dd1ef540c..875c6d8ac15e770239a9d391d02fc0d0c34f7d42 100644
--- a/chrome/browser/icon_manager.h
+++ b/chrome/browser/icon_manager.h
@@ -51,7 +51,9 @@
#include "chrome/common/cancelable_task_tracker.h"
#include "ui/gfx/image/image.h"
+namespace base {
class FilePath;
+}
class IconManager : public IconLoader::Delegate {
public:
@@ -63,7 +65,7 @@ class IconManager : public IconLoader::Delegate {
// it via 'LoadIcon'. The returned bitmap is owned by the IconManager and must
// not be free'd by the caller. If the caller needs to modify the icon, it
// must make a copy and modify the copy.
- gfx::Image* LookupIcon(const FilePath& file_name, IconLoader::IconSize size);
+ gfx::Image* LookupIcon(const base::FilePath& file_name, IconLoader::IconSize size);
typedef base::Callback<void(gfx::Image*)> IconRequestCallback;
@@ -77,7 +79,7 @@ class IconManager : public IconLoader::Delegate {
// should never keep it or delete it.
// 3. The gfx::Image pointer passed to the callback may be NULL if decoding
// failed.
- CancelableTaskTracker::TaskId LoadIcon(const FilePath& file_name,
+ CancelableTaskTracker::TaskId LoadIcon(const base::FilePath& file_name,
IconLoader::IconSize size,
const IconRequestCallback& callback,
CancelableTaskTracker* tracker);
@@ -87,7 +89,7 @@ class IconManager : public IconLoader::Delegate {
// Get the identifying string for the given file. The implementation
// is in icon_manager_[platform].cc.
- static IconGroupID GetGroupIDFromFilepath(const FilePath& path);
+ static IconGroupID GetGroupIDFromFilepath(const base::FilePath& path);
private:
struct CacheKey {
« no previous file with comments | « chrome/browser/history/top_sites_database.h ('k') | chrome/browser/icon_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698