Index: content/public/browser/url_data_source.cc |
diff --git a/content/public/browser/url_data_source.cc b/content/public/browser/url_data_source.cc |
index 7bcbe1d2eb04d80273f628664c7c380d10afab7f..57579e32ab739aa0a4f26715f5273e8078f25162 100644 |
--- a/content/public/browser/url_data_source.cc |
+++ b/content/public/browser/url_data_source.cc |
@@ -60,11 +60,10 @@ bool URLDataSource::ShouldDenyXFrameOptions() const { |
return true; |
} |
-bool URLDataSource::ShouldServiceRequest(const net::URLRequest* request) const { |
- if (request->url().SchemeIs(kChromeDevToolsScheme) || |
- request->url().SchemeIs(kChromeUIScheme)) |
- return true; |
- return false; |
+bool URLDataSource::ShouldServiceRequest(const GURL& url, |
+ ResourceContext* resource_context, |
+ int render_process_id) const { |
+ return url.SchemeIs(kChromeDevToolsScheme) || url.SchemeIs(kChromeUIScheme); |
} |
bool URLDataSource::ShouldServeMimeTypeAsContentTypeHeader() const { |