diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 19:49:57 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 19:49:57 +0000 |
commit | 48dc9e15affd5237dde74fddfdd243db40e96b36 (patch) | |
tree | ab16b4f3425d740ffea9fbea91df7a6e569903fb /chrome_frame/chrome_active_document.cc | |
parent | 3d17ea8af46488f32bade8594b8c345fb837fc9a (diff) | |
download | chromium_src-48dc9e15affd5237dde74fddfdd243db40e96b36.zip chromium_src-48dc9e15affd5237dde74fddfdd243db40e96b36.tar.gz chromium_src-48dc9e15affd5237dde74fddfdd243db40e96b36.tar.bz2 |
Submitting for Erik:
(http://codereview.chromium.org/3167040/show)
In IE8, on Vista, when the user deletes their browsing data, the IDeleteBrowsingHistory interface is invoked twice - once in a low integrity process and once in a medium integrity process.
Only the medium integrity process may succeed, but the low integrity process will restart the automation server after failing to connect to it.
Upon invocation by IE, check the integrity level of the current process - if it is low, exit. GetProcessIntegrityLevel was adapted from rlz. A follow-up changeset will modify rlz to use this implementation.
During editing, some unnecessary headers were removed from win_util.h and correspondingly added to win_util.cc and certain clients who were depending on transient includes.
BUG=56212
TEST=Load some pages using Chrome Frame. Close IE. Verify that the Chrome Frame cache has grown and that the accessed domains appear in the history files. Launch IE, load a page using Chrome Frame. Delete Browsing Data. Note that the tab does not crash, that the on-disk cache files shrink, and that the accessed domains no longer appear in the history file
Review URL: http://codereview.chromium.org/3171033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57567 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_active_document.cc')
-rw-r--r-- | chrome_frame/chrome_active_document.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc index 1c967f0..a4833b2 100644 --- a/chrome_frame/chrome_active_document.cc +++ b/chrome_frame/chrome_active_document.cc @@ -11,6 +11,7 @@ #include <mshtmcid.h> #include <shdeprecated.h> #include <shlguid.h> +#include <shlobj.h> #include <shobjidl.h> #include <tlogstg.h> #include <urlmon.h> |