diff options
| author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-17 16:50:56 +0000 |
|---|---|---|
| committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-17 16:50:56 +0000 |
| commit | 9a5bb05bd1e76b7923382dc058ca958818febce3 (patch) | |
| tree | a192c51fde864453816cdd9465331a57e1c66443 /chrome | |
| parent | b8faca2407cf7e3692d7ce9ff0a7aafc9a76cae1 (diff) | |
| download | chromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.zip chromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.tar.gz chromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.tar.bz2 | |
Revert accidental dartium code push
This reverts r264517 to r264538 from terry@google.com
BUG=none
TEST=none
NOTRY=true
NOTREECHECKS=true
TBR=terry@google.com
Review URL: https://codereview.chromium.org/239993009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
| -rw-r--r-- | chrome/browser/resources/about_version.html | 3 | ||||
| -rw-r--r-- | chrome/browser/ui/webui/devtools_ui.cc | 19 | ||||
| -rw-r--r-- | chrome/browser/ui/webui/version_ui.cc | 3 | ||||
| -rw-r--r-- | chrome/common/chrome_content_client.cc | 9 | ||||
| -rwxr-xr-x | chrome/tools/build/mac/verify_order | 2 |
5 files changed, 1 insertions, 35 deletions
diff --git a/chrome/browser/resources/about_version.html b/chrome/browser/resources/about_version.html index a5c1cb0..4acece3 100644 --- a/chrome/browser/resources/about_version.html +++ b/chrome/browser/resources/about_version.html @@ -74,9 +74,6 @@ about:version template page <span i18n-content="js_version"></span> </td> </tr> - <tr><td class="label">Dart</td> - <td class="version" id="dart_version" i18n-content="dart_version"></td> - </tr> <if expr="not is_android"> <tr><td class="label" i18n-content="flash_plugin"></td> <td class="version" id="flash_version" i18n-content="flash_version"></td> diff --git a/chrome/browser/ui/webui/devtools_ui.cc b/chrome/browser/ui/webui/devtools_ui.cc index 5792f2e..d3cff30 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_; diff --git a/chrome/browser/ui/webui/version_ui.cc b/chrome/browser/ui/webui/version_ui.cc index a5b790f..e07eb52 100644 --- a/chrome/browser/ui/webui/version_ui.cc +++ b/chrome/browser/ui/webui/version_ui.cc @@ -36,8 +36,6 @@ #include "chrome/browser/ui/webui/version_handler_chromeos.h" #endif -#include "dartvm_revision.h" // NOLINT - namespace { content::WebUIDataSource* CreateVersionUIDataSource(Profile* profile) { @@ -56,7 +54,6 @@ content::WebUIDataSource* CreateVersionUIDataSource(Profile* profile) { html_source->AddString("blink_version", content::GetWebKitVersion()); html_source->AddString("js_engine", "V8"); html_source->AddString("js_version", v8::V8::GetVersion()); - html_source->AddString("dart_version", DART_VM_REVISION); #if defined(OS_ANDROID) html_source->AddLocalizedString("application_label", diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc index fc9149b..e245a0e 100644 --- a/chrome/common/chrome_content_client.cc +++ b/chrome/common/chrome_content_client.cc @@ -504,14 +504,7 @@ std::string ChromeContentClient::GetProduct() const { } std::string ChromeContentClient::GetUserAgent() const { - std::string product = GetProduct(); - product += " (Dart)"; -#if defined(OS_ANDROID) - CommandLine* command_line = CommandLine::ForCurrentProcess(); - if (command_line->HasSwitch(switches::kUseMobileUserAgent)) - product += " Mobile"; -#endif - return webkit_glue::BuildUserAgentFromProduct(product); + return ::GetUserAgent(); } base::string16 ChromeContentClient::GetLocalizedString(int message_id) const { diff --git a/chrome/tools/build/mac/verify_order b/chrome/tools/build/mac/verify_order index bd432ba..3d5d644 100755 --- a/chrome/tools/build/mac/verify_order +++ b/chrome/tools/build/mac/verify_order @@ -13,8 +13,6 @@ # This script can be used to verify that all of the global text symbols in # a Mach-O file are accounted for in an order file. -exit 0 - if [ ${#} -ne 2 ] ; then echo "usage: ${0} LAST_SYMBOL MACH_O_FILE" >& 2 exit 1 |
