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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.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/ui/webui/ntp/new_tab_ui.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.h
===================================================================
--- chrome/browser/ui/webui/ntp/ntp_resource_cache.h (revision 134496)
+++ chrome/browser/ui/webui/ntp/ntp_resource_cache.h (working copy)
@@ -16,7 +16,10 @@
#include "content/public/browser/notification_registrar.h"
class Profile;
+
+namespace base {
class RefCountedMemory;
+}
// This class keeps a cache of NTP resources (HTML and CSS) so we don't have to
// regenerate them all the time.
@@ -26,8 +29,8 @@
explicit NTPResourceCache(Profile* profile);
virtual ~NTPResourceCache();
- RefCountedMemory* GetNewTabHTML(bool is_incognito);
- RefCountedMemory* GetNewTabCSS(bool is_incognito);
+ base::RefCountedMemory* GetNewTabHTML(bool is_incognito);
+ base::RefCountedMemory* GetNewTabCSS(bool is_incognito);
// content::NotificationObserver interface.
virtual void Observe(int type,
@@ -38,7 +41,7 @@
Profile* profile_;
void CreateNewTabHTML();
- scoped_refptr<RefCountedMemory> new_tab_html_;
+ scoped_refptr<base::RefCountedMemory> new_tab_html_;
// Helper to determine if the resource cache should be invalidated.
// This is called on every page load, and can be used to check values that
@@ -51,12 +54,12 @@
string16 GetSyncTypeMessage();
void CreateNewTabIncognitoHTML();
- scoped_refptr<RefCountedMemory> new_tab_incognito_html_;
+ scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_;
void CreateNewTabIncognitoCSS();
- scoped_refptr<RefCountedMemory> new_tab_incognito_css_;
+ scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_;
void CreateNewTabCSS();
- scoped_refptr<RefCountedMemory> new_tab_css_;
+ scoped_refptr<base::RefCountedMemory> new_tab_css_;
content::NotificationRegistrar registrar_;
PrefChangeRegistrar pref_change_registrar_;
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698