Index: content/public/browser/url_data_source.h |
diff --git a/content/public/browser/url_data_source.h b/content/public/browser/url_data_source.h |
index 93d38c0c2ae71c1675c7951a39ad456acb0a950b..6073ef75aa8ae1c6ed176d4f98fda7b3d0a5e1da 100644 |
--- a/content/public/browser/url_data_source.h |
+++ b/content/public/browser/url_data_source.h |
@@ -106,6 +106,13 @@ class CONTENT_EXPORT URLDataSource { |
// ContentBrowserClient::GetAdditionalWebUISchemes() to permit additional |
// WebUI scheme support for an embedder. |
virtual bool ShouldServiceRequest(const net::URLRequest* request) const; |
+ |
+ // Called to inform the source that StartDataRequest() will be called soon. |
+ // Gives the source an opportunity to rewrite |path| to incorporate extra |
+ // information from the URLRequest prior to serving. |
+ virtual void WillServiceRequest( |
+ const net::URLRequest* request, |
+ std::string* path) const; |
}; |
} // namespace content |