Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: chrome_frame/urlmon_url_request.h

Issue 1153006: When ChromeFrame is running in privileged mode, we should fail the IAuthentic... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/chrome_frame_activex.cc ('k') | chrome_frame/urlmon_url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome_frame/chrome_frame_activex.cc ('k') | chrome_frame/urlmon_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698