Index: chrome/browser/chrome_browser_main.h |
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h |
index 7cd9c61cfd988820e41ae0496fba37e027101d89..fb67705eb5541696ad4446e74ff517b399d924ba 100644 |
--- a/chrome/browser/chrome_browser_main.h |
+++ b/chrome/browser/chrome_browser_main.h |
@@ -211,6 +211,11 @@ class ChromeBrowserMainParts : public content::BrowserMainParts { |
// Members needed across shutdown methods. |
bool restart_last_session_; |
+ // Tests can set this to true to disable restricting cookie access in the |
+ // network stack, as this can only be done once. |
+ static bool disable_enforcing_cookie_policies_for_tests_; |
+ |
+ friend class BrowserMainTest; |
FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, |
WarmConnectionFieldTrial_WarmestSocket); |
FRIEND_TEST_ALL_PREFIXES(BrowserMainTest, WarmConnectionFieldTrial_Random); |