| 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 44239d6a7c52c227df374d3778800a4e4d981e9e..b3c62b32ea36af65703cc16130e450ddfc1c573d 100644
|
| --- a/content/public/browser/url_data_source.cc
|
| +++ b/content/public/browser/url_data_source.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include "content/browser/webui/url_data_manager.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/common/url_constants.h"
|
| +#include "net/url_request/url_request.h"
|
|
|
| namespace content {
|
|
|
| @@ -43,4 +45,11 @@ bool URLDataSource::ShouldDenyXFrameOptions() const {
|
| return true;
|
| }
|
|
|
| +bool URLDataSource::ShouldServiceRequest(const net::URLRequest* request) const {
|
| + if (request->url().SchemeIs(chrome::kChromeDevToolsScheme) ||
|
| + request->url().SchemeIs(chrome::kChromeUIScheme))
|
| + return true;
|
| + return false;
|
| +}
|
| +
|
| } // namespace content
|
|
|