Chromium Code Reviews| 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); |
| }; |