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.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.h')
-rw-r--r-- | chrome_frame/urlmon_url_request.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome_frame/urlmon_url_request.h b/chrome_frame/urlmon_url_request.h index 38ba257..6ab6bcb 100644 --- a/chrome_frame/urlmon_url_request.h +++ b/chrome_frame/urlmon_url_request.h @@ -86,6 +86,12 @@ class UrlmonUrlRequestManager notification_window_ = window; } + // This function passes information on whether ChromeFrame is running in + // privileged mode. + void set_privileged_mode(bool privileged_mode) { + privileged_mode_ = privileged_mode; + } + private: friend class MessageLoop; friend struct RunnableMethodTraits<UrlmonUrlRequestManager>; @@ -137,6 +143,8 @@ class UrlmonUrlRequestManager PrivacyInfo privacy_info_; // The window to be used to fire notifications on. HWND notification_window_; + // Set to true if the ChromeFrame instance is running in privileged mode. + bool privileged_mode_; }; #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_ |