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

Unified Diff: chrome/browser/ui/webui/chrome_url_data_manager.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/bookmarks_ui.cc ('k') | chrome/browser/ui/webui/chrome_url_data_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chrome_url_data_manager.h
===================================================================
--- chrome/browser/ui/webui/chrome_url_data_manager.h (revision 134496)
+++ chrome/browser/ui/webui/chrome_url_data_manager.h (working copy)
@@ -18,10 +18,10 @@
class ChromeURLDataManagerBackend;
class MessageLoop;
class Profile;
-class RefCountedMemory;
namespace base {
class DictionaryValue;
+class RefCountedMemory;
}
// To serve dynamic data off of chrome: URLs, implement the
@@ -82,7 +82,7 @@
// Report that a request has resulted in the data |bytes|.
// If the request can't be satisfied, pass NULL for |bytes| to indicate
// the request is over.
- virtual void SendResponse(int request_id, RefCountedMemory* bytes);
+ virtual void SendResponse(int request_id, base::RefCountedMemory* bytes);
// Returns the MessageLoop on which the DataSource wishes to have
// StartDataRequest called to handle the request for |path|. If the
@@ -120,8 +120,9 @@
// SendResponse invokes this on the IO thread. Notifies the backend to
// handle the actual work of sending the data.
- virtual void SendResponseOnIOThread(int request_id,
- scoped_refptr<RefCountedMemory> bytes);
+ virtual void SendResponseOnIOThread(
+ int request_id,
+ scoped_refptr<base::RefCountedMemory> bytes);
// The name of this source.
// E.g., for favicons, this could be "favicon", which results in paths for
« no previous file with comments | « chrome/browser/ui/webui/bookmarks_ui.cc ('k') | chrome/browser/ui/webui/chrome_url_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698