summaryrefslogtreecommitdiffstats
path: root/chrome/browser/platform_util_chromeos.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-30 16:30:18 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-30 16:30:18 +0000
commitd23c9f933ee23540b1aec937862c9b71977e6653 (patch)
tree8295e6f88359479682b529dd73f196fc6af2c593 /chrome/browser/platform_util_chromeos.cc
parent724fbd317ae5ee1a22add1e0013cb3c08dfe6155 (diff)
downloadchromium_src-d23c9f933ee23540b1aec937862c9b71977e6653.zip
chromium_src-d23c9f933ee23540b1aec937862c9b71977e6653.tar.gz
chromium_src-d23c9f933ee23540b1aec937862c9b71977e6653.tar.bz2
Revert 134283. Speculative revert, it looks like this caused many leaks (http://crbug.com/125564).
If the revert doesn't help, I'll reland. - Preventing our default handlers for ChromeOS to show up or confuse the user BUG=123368 TEST=None Review URL: http://codereview.chromium.org/10139002 TBR=skuhne@chromium.org Review URL: https://chromiumcodereview.appspot.com/10266012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util_chromeos.cc')
-rw-r--r--chrome/browser/platform_util_chromeos.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/platform_util_chromeos.cc b/chrome/browser/platform_util_chromeos.cc
index 12d0c78..eaebafd 100644
--- a/chrome/browser/platform_util_chromeos.cc
+++ b/chrome/browser/platform_util_chromeos.cc
@@ -55,15 +55,6 @@ void OpenItem(const FilePath& full_path) {
}
void OpenExternal(const GURL& url) {
- // This code should be obsolete since we have default handlers in ChromeOS
- // which should handle this. However - there are two things which make it
- // necessary to keep it in:
- // a.) The user might have deleted the default handler in this session.
- // In this case we would need to have this in place.
- // b.) There are several code paths which are not clear if they would call
- // this function directly and which would therefore break (e.g.
- // "Browser::EmailPageLocation" (to name only one).
- // As such we should keep this code here.
if (url.SchemeIs("mailto")) {
std::string string_url = kGmailComposeUrl;
string_url.append(url.spec());