Index: chrome_frame/urlmon_url_request.h |
=================================================================== |
--- chrome_frame/urlmon_url_request.h (revision 42240) |
+++ chrome_frame/urlmon_url_request.h (working copy) |
@@ -86,6 +86,12 @@ |
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 @@ |
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_ |