Index: chrome/browser/net/chrome_network_delegate_unittest.cc |
diff --git a/chrome/browser/net/chrome_network_delegate_unittest.cc b/chrome/browser/net/chrome_network_delegate_unittest.cc |
index 3136bc7792e341a37571b740f1f8a34d418b9056..dbf70400f52260beec306a06887534bb312f2540 100644 |
--- a/chrome/browser/net/chrome_network_delegate_unittest.cc |
+++ b/chrome/browser/net/chrome_network_delegate_unittest.cc |
@@ -25,36 +25,6 @@ |
#include "chrome/browser/extensions/event_router_forwarder.h" |
#endif |
-TEST(ChromeNetworkDelegateTest, DisableFirstPartyOnlyCookiesIffFlagDisabled) { |
- BooleanPrefMember pref_member_; |
- scoped_ptr<ChromeNetworkDelegate> delegate; |
- |
-#if defined(ENABLE_EXTENSIONS) |
- scoped_refptr<extensions::EventRouterForwarder> forwarder = |
- new extensions::EventRouterForwarder(); |
- delegate.reset(new ChromeNetworkDelegate(forwarder.get(), &pref_member_)); |
-#else |
- delegate.reset(new ChromeNetworkDelegate(nullptr, &pref_member_)); |
-#endif |
- EXPECT_FALSE(delegate->FirstPartyOnlyCookieExperimentEnabled()); |
-} |
- |
-TEST(ChromeNetworkDelegateTest, EnableFirstPartyOnlyCookiesIffFlagEnabled) { |
- base::CommandLine::ForCurrentProcess()->AppendSwitch( |
- switches::kEnableExperimentalWebPlatformFeatures); |
- BooleanPrefMember pref_member_; |
- scoped_ptr<ChromeNetworkDelegate> delegate; |
- |
-#if defined(ENABLE_EXTENSIONS) |
- scoped_refptr<extensions::EventRouterForwarder> forwarder = |
- new extensions::EventRouterForwarder(); |
- delegate.reset(new ChromeNetworkDelegate(forwarder.get(), &pref_member_)); |
-#else |
- delegate.reset(new ChromeNetworkDelegate(nullptr, &pref_member_)); |
-#endif |
- EXPECT_TRUE(delegate->FirstPartyOnlyCookieExperimentEnabled()); |
-} |
- |
#if defined(ENABLE_EXTENSIONS) |
class ChromeNetworkDelegateThrottlingTest : public testing::Test { |
protected: |