diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 08:51:27 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 08:51:27 +0000 |
commit | 0ad181595fbf5a13aad9584501c644004c8a2284 (patch) | |
tree | d451de8a5878142bd9f3d620e61733da34b10443 /chrome/browser/plugin_process_host.h | |
parent | b5654bbbc18aadc3572b3c41c0e04e46cc094b89 (diff) | |
download | chromium_src-0ad181595fbf5a13aad9584501c644004c8a2284.zip chromium_src-0ad181595fbf5a13aad9584501c644004c8a2284.tar.gz chromium_src-0ad181595fbf5a13aad9584501c644004c8a2284.tar.bz2 |
Revert 60574 - 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
TBR=ananta@chromium.org
Review URL: http://codereview.chromium.org/3461029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60575 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, 1 insertions, 0 deletions
diff --git a/chrome/browser/plugin_process_host.h b/chrome/browser/plugin_process_host.h index d7c278e..a632308 100644 --- a/chrome/browser/plugin_process_host.h +++ b/chrome/browser/plugin_process_host.h @@ -18,6 +18,7 @@ #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" |