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

Unified Diff: content/browser/webui/url_data_manager_backend.h

Issue 105723002: Add the scheme chrome-distiller:// and hook up data source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments from jam@ Created 6 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 | « content/browser/browser_url_handler_impl.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/url_data_manager_backend.h
diff --git a/content/browser/webui/url_data_manager_backend.h b/content/browser/webui/url_data_manager_backend.h
index 5d9ce2863a72ce358d9e1805ed6416c3abdb56c8..ff9d09734ddbb8f3d271d738e54839b02f710291 100644
--- a/content/browser/webui/url_data_manager_backend.h
+++ b/content/browser/webui/url_data_manager_backend.h
@@ -88,6 +88,10 @@ class URLDataManagerBackend : public base::SupportsUserData::Data {
// up to date.
bool HasPendingJob(URLRequestChromeJob* job) const;
+ // Look up the data source for the request. Returns the source if it is found,
+ // else NULL.
+ URLDataSourceImpl* GetDataSourceFromURL(const GURL& url);
+
// Custom sources of data, keyed by source path (e.g. "favicon").
DataSourceMap data_sources_;
« no previous file with comments | « content/browser/browser_url_handler_impl.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698