diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 08:41:26 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 08:41:26 +0000 |
commit | b5654bbbc18aadc3572b3c41c0e04e46cc094b89 (patch) | |
tree | 1d3106bee8aa2f8581316e9d533e2c8d2b7d01b2 /chrome/browser/plugin_process_host.h | |
parent | 4c78276ddaaf22b6842f46c62c8ff82f56b912da (diff) | |
download | chromium_src-b5654bbbc18aadc3572b3c41c0e04e46cc094b89.zip chromium_src-b5654bbbc18aadc3572b3c41c0e04e46cc094b89.tar.gz chromium_src-b5654bbbc18aadc3572b3c41c0e04e46cc094b89.tar.bz2 |
Fix a regression introduced in the chrome plugin installer on Windows in revision 54316
which was to remove usages of GetTempDir. However the change failed to take into account
that the file name which is used to perform the download eventually is shell executed on
windows. In this case the download was performed on a temporary file which causes ShellExecute
to put up a confirmation dialog asking the user to select the application for opening the file.
Fix is to rename the temp file path to the desired file path on success.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=56746
Bug=56746
Test=Covered by plugin installer plugin test.
Review URL: http://codereview.chromium.org/3432028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_process_host.h')
-rw-r--r-- | chrome/browser/plugin_process_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/plugin_process_host.h b/chrome/browser/plugin_process_host.h index a632308..d7c278e 100644 --- a/chrome/browser/plugin_process_host.h +++ b/chrome/browser/plugin_process_host.h @@ -18,7 +18,6 @@ #include "chrome/browser/browser_child_process_host.h" #include "chrome/browser/net/resolve_proxy_msg_helper.h" #include "chrome/browser/renderer_host/resource_message_filter.h" -#include "gfx/native_widget_types.h" #include "ipc/ipc_channel_handle.h" #include "webkit/glue/plugins/webplugininfo.h" |