| 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 8b9ab95cadc551bca22cb57156badd36924d50f4..d6ff1e06a683dccc835fdd3a314c2bcd48316d85 100644
|
| --- a/content/public/browser/url_data_source.h
|
| +++ b/content/public/browser/url_data_source.h
|
| @@ -107,6 +107,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
|
|
|