| 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..b516967066b1582119fa1d4718498f4cacb4fe2c 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
|
|
|