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

Unified Diff: chrome/browser/browser_process_impl.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: chrome/browser/browser_process_impl.h
===================================================================
--- chrome/browser/browser_process_impl.h (revision 85807)
+++ chrome/browser/browser_process_impl.h (working copy)
@@ -99,6 +99,7 @@
virtual safe_browsing::ClientSideDetectionService*
safe_browsing_detection_service();
virtual bool plugin_finder_disabled() const;
+ virtual bool allow_cross_origin_auth_prompt() const;
// NotificationObserver methods
virtual void Observe(NotificationType type,
@@ -282,6 +283,9 @@
// Monitors the state of the 'DisablePluginFinder' policy.
BooleanPrefMember plugin_finder_disabled_pref_;
+ // Monitors the state for the 'AllowCrossOriginPrompt' policy.
+ BooleanPrefMember allow_cross_origin_auth_prompt_pref_;
+
#if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_;

Powered by Google App Engine
This is Rietveld 408576698