| Index: ios/web/public/url_data_source_ios.h
|
| diff --git a/ios/web/public/url_data_source_ios.h b/ios/web/public/url_data_source_ios.h
|
| index 503cac11c3351159f9ea6438618fdc2a112fdf24..600ce721434e9fb392ff3152ec7007cc0d5328a6 100644
|
| --- a/ios/web/public/url_data_source_ios.h
|
| +++ b/ios/web/public/url_data_source_ios.h
|
| @@ -10,14 +10,12 @@
|
| #include "base/callback.h"
|
| #include "base/memory/ref_counted.h"
|
|
|
| +class GURL;
|
| +
|
| namespace base {
|
| class RefCountedMemory;
|
| }
|
|
|
| -namespace net {
|
| -class URLRequest;
|
| -}
|
| -
|
| namespace web {
|
| class BrowserState;
|
|
|
| @@ -84,13 +82,7 @@ class URLDataSourceIOS {
|
| // access control. Typically used in concert with
|
| // WebClient::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 {}
|
| + virtual bool ShouldServiceRequest(const GURL& url) const;
|
| };
|
|
|
| } // namespace web
|
|
|