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

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 comment from bengr 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
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_;

Powered by Google App Engine
This is Rietveld 408576698