| Index: chrome/browser/ui/webui/devtools_ui.cc
|
| diff --git a/chrome/browser/ui/webui/devtools_ui.cc b/chrome/browser/ui/webui/devtools_ui.cc
|
| index 5792f2e3f76e2ee8224e4c4aafc31a432dfd195c..d3cff300d8461bfb3f91eff0fb85d6ce33e76f8b 100644
|
| --- a/chrome/browser/ui/webui/devtools_ui.cc
|
| +++ b/chrome/browser/ui/webui/devtools_ui.cc
|
| @@ -95,12 +95,6 @@ std::string GetMimeTypeForPath(const std::string& path) {
|
| return "image/png";
|
| } else if (EndsWith(filename, ".gif", false)) {
|
| return "image/gif";
|
| - } else if (EndsWith(filename, ".svg", false)) {
|
| - return "image/svg+xml";
|
| - } else if (EndsWith(filename, ".ttf", false)) {
|
| - return "application/octet-stream";
|
| - } else if (EndsWith(filename, ".woff", false)) {
|
| - return "application/font-woff";
|
| } else if (EndsWith(filename, ".manifest", false)) {
|
| return "text/cache-manifest";
|
| }
|
| @@ -186,14 +180,6 @@ class DevToolsDataSource : public content::URLDataSource {
|
| }
|
|
|
| virtual bool ShouldAddContentSecurityPolicy() const OVERRIDE {
|
| - // Required as the Dart Observatory is bundled as its own iframe hosted on
|
| - // chrome-devtools.
|
| - return true;
|
| - }
|
| -
|
| - virtual bool ShouldDenyXFrameOptions() const OVERRIDE {
|
| - // Required as the Dart Observatory is bundled as its own iframe hosted on
|
| - // chrome-devtools.
|
| return false;
|
| }
|
|
|
| @@ -201,11 +187,6 @@ class DevToolsDataSource : public content::URLDataSource {
|
| return true;
|
| }
|
|
|
| - virtual std::string GetContentSecurityPolicyFrameSrc() const OVERRIDE {
|
| - // The Dart Observatory is bundled as its own iframe.
|
| - return "frame-src chrome-devtools://devtools/bundled/Observatory/index_devtools.html;";
|
| - }
|
| -
|
| private:
|
| virtual ~DevToolsDataSource() {}
|
| scoped_refptr<net::URLRequestContextGetter> request_context_;
|
|
|