Chromium Code Reviews| Index: chrome/browser/ui/webui/chrome_url_data_manager_backend.h |
| =================================================================== |
| --- chrome/browser/ui/webui/chrome_url_data_manager_backend.h (revision 176443) |
| +++ chrome/browser/ui/webui/chrome_url_data_manager_backend.h (working copy) |
| @@ -44,7 +44,7 @@ |
| ChromeURLDataManagerBackend* backend); |
| // Adds a DataSource to the collection of data sources. |
| - void AddDataSource(ChromeURLDataManager::DataSource* source); |
| + void AddDataSource(URLDataSource* source); |
| // DataSource invokes this. Sends the data to the URLRequest. |
| void DataAvailable(RequestID request_id, base::RefCountedMemory* bytes); |
| @@ -56,13 +56,18 @@ |
| friend class URLRequestChromeJob; |
| typedef std::map<std::string, |
| - scoped_refptr<ChromeURLDataManager::DataSource> > DataSourceMap; |
| + scoped_refptr<URLDataSource> > DataSourceMap; |
| typedef std::map<RequestID, URLRequestChromeJob*> PendingRequestMap; |
| // Called by the job when it's starting up. |
| // Returns false if |url| is not a URL managed by this object. |
| bool StartRequest(const GURL& url, URLRequestChromeJob* job); |
| + static void CallStartRequest(scoped_refptr<URLDataSource>, |
|
James Hawkins
2013/01/14 18:53:54
nit: Document method and parameters.
Rationale: m
jam
2013/01/14 19:21:18
Done.
|
| + const std::string& path, |
| + bool is_incognito, |
| + int request_id); |
| + |
| // Remove a request from the list of pending requests. |
| void RemoveRequest(URLRequestChromeJob* job); |