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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.h

Issue 6992081: Make --allow-cross-domain-auth-prompt equivalent to a preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
Index: content/browser/renderer_host/resource_dispatcher_host.h
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host.h (revision 86721)
+++ content/browser/renderer_host/resource_dispatcher_host.h (working copy)
@@ -262,6 +262,11 @@
static bool is_prefetch_enabled();
static void set_is_prefetch_enabled(bool value);
+ // Controle whether third-party sub-content can pop-up HTTP basic auth
jam 2011/05/25 23:25:22 nit: spelling
+ // dialog boxes.
+ static bool allow_cross_origin_auth_prompt();
jam 2011/05/25 23:25:22 does this really have to be static? you can just
+ static void set_allow_cross_origin_auth_prompt(bool value);
+
// This does not take ownership of the observer. It is expected that the
// observer have a longer lifetime than the ResourceDispatcherHost.
void set_observer(Observer* observer) { observer_ = observer; }
@@ -501,6 +506,7 @@
Observer* observer_;
static bool is_prefetch_enabled_;
+ static bool allow_cross_origin_auth_prompt_;
DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
};

Powered by Google App Engine
This is Rietveld 408576698