Index: chrome/browser/extensions/extension_content_settings_apitest.cc |
diff --git a/chrome/browser/extensions/extension_content_settings_apitest.cc b/chrome/browser/extensions/extension_content_settings_apitest.cc |
index f16fdffcce1568e3dc87108dc00d7f29c1b83242..db3d481a58d8929c734edf6d8af1119cf0898d29 100644 |
--- a/chrome/browser/extensions/extension_content_settings_apitest.cc |
+++ b/chrome/browser/extensions/extension_content_settings_apitest.cc |
@@ -40,6 +40,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, IncognitoContentSettings) { |
// Setting an incognito preference should not create an incognito profile. |
EXPECT_FALSE(browser()->profile()->HasOffTheRecordProfile()); |
+ // TODO(battre): re-enable when incognito is available again. |
+#if 0 |
PrefService* otr_prefs = |
browser()->profile()->GetOffTheRecordProfile()->GetPrefs(); |
const PrefService::Preference* pref = |
@@ -52,6 +54,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, IncognitoContentSettings) { |
ASSERT_TRUE(pref); |
EXPECT_FALSE(pref->IsExtensionControlled()); |
EXPECT_FALSE(prefs->GetBoolean(prefs::kBlockThirdPartyCookies)); |
+#endif |
} |
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, IncognitoDisabledContentSettings) { |