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

Unified Diff: chrome_frame/urlmon_url_request_private.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/urlmon_url_request.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/urlmon_url_request_private.h
===================================================================
--- chrome_frame/urlmon_url_request_private.h (revision 42240)
+++ chrome_frame/urlmon_url_request_private.h (working copy)
@@ -40,6 +40,12 @@
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 @@
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);
};
« no previous file with comments | « chrome_frame/urlmon_url_request.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698