| Index: content/shell/browser/shell_network_delegate.cc
|
| diff --git a/content/shell/browser/shell_network_delegate.cc b/content/shell/browser/shell_network_delegate.cc
|
| index 633fb46890556de5cbc03d1e53ce2905c0227625..ad206663e0cb51fa08a63b20d84e9d8e74b080c6 100644
|
| --- a/content/shell/browser/shell_network_delegate.cc
|
| +++ b/content/shell/browser/shell_network_delegate.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "content/shell/browser/shell_network_delegate.h"
|
|
|
| +#include "base/command_line.h"
|
| +#include "content/public/common/content_switches.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/static_cookie_policy.h"
|
| #include "net/url_request/url_request.h"
|
| @@ -114,4 +116,9 @@ bool ShellNetworkDelegate::OnCanThrottleRequest(
|
| return false;
|
| }
|
|
|
| +bool ShellNetworkDelegate::OnFirstPartyCookieExperimentEnabled() const {
|
| + return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableExperimentalWebPlatformFeatures);
|
| +}
|
| +
|
| } // namespace content
|
|
|