| Index: chrome/browser/extensions/api/cookies/cookies_api.cc
|
| diff --git a/chrome/browser/extensions/api/cookies/cookies_api.cc b/chrome/browser/extensions/api/cookies/cookies_api.cc
|
| index 558f90d868e672ee144e3fc4fb71603aac22d5a3..8f020919d9ee61dab4fc592f87ab4dad426de9de 100644
|
| --- a/chrome/browser/extensions/api/cookies/cookies_api.cc
|
| +++ b/chrome/browser/extensions/api/cookies/cookies_api.cc
|
| @@ -382,8 +382,9 @@
|
| }
|
|
|
| cookie_monster->SetCookieWithDetailsAsync(
|
| - url_, parsed_args_->details.name.get() ? *parsed_args_->details.name
|
| - : std::string(),
|
| + url_,
|
| + parsed_args_->details.name.get() ? *parsed_args_->details.name
|
| + : std::string(),
|
| parsed_args_->details.value.get() ? *parsed_args_->details.value
|
| : std::string(),
|
| parsed_args_->details.domain.get() ? *parsed_args_->details.domain
|
| @@ -398,9 +399,7 @@
|
| // TODO(mkwst): If we decide to ship First-party-only cookies, we'll need
|
| // to extend the extension API to support them. For the moment, we'll set
|
| // all cookies as non-First-party-only.
|
| - false, store_browser_context_->GetURLRequestContext()
|
| - ->network_delegate()
|
| - ->AreExperimentalCookieFeaturesEnabled(),
|
| + false,
|
| net::COOKIE_PRIORITY_DEFAULT,
|
| base::Bind(&CookiesSetFunction::PullCookie, this));
|
| }
|
|
|