summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_protocol_handler.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-16 05:16:56 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-16 05:16:56 +0000
commit3c2a3d1369b6fe67239f8dbea1e4879748781f96 (patch)
tree65cad25448502dd03998a84cb2263574ba3f5de2 /chrome/browser/external_protocol_handler.h
parent3b073b258b19937b1dd9b6b2a609dee207865eba (diff)
downloadchromium_src-3c2a3d1369b6fe67239f8dbea1e4879748781f96.zip
chromium_src-3c2a3d1369b6fe67239f8dbea1e4879748781f96.tar.gz
chromium_src-3c2a3d1369b6fe67239f8dbea1e4879748781f96.tar.bz2
Run ShellExecute on the file thread instead of the IO thread. ShellExecute can
be janky so we don't want to be calling it on the IO thread. The file thread is really the "blocking io" thread, and it's where we call ShellExecute for other things. R=nsylvain Review URL: http://codereview.chromium.org/18120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_protocol_handler.h')
-rw-r--r--chrome/browser/external_protocol_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/external_protocol_handler.h b/chrome/browser/external_protocol_handler.h
index 75f3f93..830c290 100644
--- a/chrome/browser/external_protocol_handler.h
+++ b/chrome/browser/external_protocol_handler.h
@@ -42,7 +42,7 @@ class ExternalProtocolHandler {
// NOTE: You should Not call this function directly unless you are sure the
// url you have has been checked against the blacklist, and has been escaped.
// All calls to this function should originate in some way from LaunchUrl.
- // Must run on the IO thread.
+ // Must run on the file thread.
static void LaunchUrlWithoutSecurityCheck(const GURL& url);
// Prepopulates the dictionary with known protocols to deny or allow, if