summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_activex.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 22:50:49 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 22:50:49 +0000
commit7403d38f1a07efda20d3e6408a2edaf371da0007 (patch)
tree9d3ef4791c666b79d5ff2f76644870da93049ddc /chrome_frame/chrome_frame_activex.cc
parent2fe2e14a8e2425fed7491c014ce3038dc1d8ae99 (diff)
downloadchromium_src-7403d38f1a07efda20d3e6408a2edaf371da0007.zip
chromium_src-7403d38f1a07efda20d3e6408a2edaf371da0007.tar.gz
chromium_src-7403d38f1a07efda20d3e6408a2edaf371da0007.tar.bz2
When ChromeFrame is running in privileged mode, we should fail the IAuthenticate::Authenticate method
to prevent an authentication dialog from being displayed by IE. This CL passes this information to the Url request manager which in turn passes this to the requests. Review URL: http://codereview.chromium.org/1153006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_activex.cc')
-rw-r--r--chrome_frame/chrome_frame_activex.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_activex.cc b/chrome_frame/chrome_frame_activex.cc
index 3104f0e..a88c5f1 100644
--- a/chrome_frame/chrome_frame_activex.cc
+++ b/chrome_frame/chrome_frame_activex.cc
@@ -410,6 +410,8 @@ HRESULT ChromeFrameActivex::IOleObject_SetClientSite(
if (SUCCEEDED(service_hr) && wants_privileged)
is_privileged_ = true;
+
+ url_fetcher_.set_privileged_mode(is_privileged_);
}
std::wstring chrome_extra_arguments;