diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-22 22:50:49 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-22 22:50:49 +0000 |
commit | 7403d38f1a07efda20d3e6408a2edaf371da0007 (patch) | |
tree | 9d3ef4791c666b79d5ff2f76644870da93049ddc /chrome_frame/urlmon_url_request_private.h | |
parent | 2fe2e14a8e2425fed7491c014ce3038dc1d8ae99 (diff) | |
download | chromium_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/urlmon_url_request_private.h')
-rw-r--r-- | chrome_frame/urlmon_url_request_private.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_url_request_private.h b/chrome_frame/urlmon_url_request_private.h index 1f76057..10dcedf 100644 --- a/chrome_frame/urlmon_url_request_private.h +++ b/chrome_frame/urlmon_url_request_private.h @@ -40,6 +40,12 @@ class UrlmonUrlRequest parent_window_ = parent_window; } + // This function passes information on whether ChromeFrame is running in + // privileged mode. + void set_privileged_mode(bool privileged_mode) { + privileged_mode_ = privileged_mode; + } + protected: UrlmonUrlRequest(); ~UrlmonUrlRequest(); @@ -302,7 +308,8 @@ class UrlmonUrlRequest PlatformThreadId thread_; HWND parent_window_; bool headers_received_; - + // Set to true if the ChromeFrame instance is running in privileged mode. + bool privileged_mode_; DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); }; |