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

Unified Diff: chrome/browser/themes/browser_theme_pack.h

Issue 10272004: Move RefCountedMemory class to base namespace. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 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/jumplist_win.h ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/browser_theme_pack.h
===================================================================
--- chrome/browser/themes/browser_theme_pack.h (revision 134496)
+++ chrome/browser/themes/browser_theme_pack.h (working copy)
@@ -18,7 +18,6 @@
#include "ui/gfx/color_utils.h"
class FilePath;
-class RefCountedMemory;
namespace ui {
class DataPack;
}
@@ -27,6 +26,7 @@
}
namespace base {
class DictionaryValue;
+class RefCountedMemory;
}
// An optimized representation of a theme, backed by a mmapped DataPack.
@@ -87,7 +87,7 @@
// Returns the raw PNG encoded data for IDR_THEME_NTP_*. This method is only
// supposed to work for the NTP attribution and background resources.
- RefCountedMemory* GetRawData(int id) const;
+ base::RefCountedMemory* GetRawData(int id) const;
// Whether this theme provides an image for |id|.
bool HasCustomImage(int id) const;
@@ -104,7 +104,7 @@
typedef std::map<int, const gfx::Image*> ImageCache;
// The raw PNG memory associated with a certain id.
- typedef std::map<int, scoped_refptr<RefCountedMemory> > RawImages;
+ typedef std::map<int, scoped_refptr<base::RefCountedMemory> > RawImages;
// The type passed to ui::DataPack::WritePack.
typedef std::map<uint16, base::StringPiece> RawDataForWriting;
« no previous file with comments | « chrome/browser/jumplist_win.h ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698