| Index: components/signin/core/browser/signin_header_helper.cc
|
| diff --git a/components/signin/core/browser/signin_header_helper.cc b/components/signin/core/browser/signin_header_helper.cc
|
| index 282e06aca5ae497b76694aea599acea01d4fa17a..adaa6dc2195612cec7d7292600392a8ad8536915 100644
|
| --- a/components/signin/core/browser/signin_header_helper.cc
|
| +++ b/components/signin/core/browser/signin_header_helper.cc
|
| @@ -17,7 +17,6 @@
|
| #include "google_apis/gaia/gaia_urls.h"
|
| #include "net/base/escape.h"
|
| #include "net/url_request/url_request.h"
|
| -#include "url/gurl.h"
|
|
|
| #if !defined(OS_IOS) && !defined(OS_ANDROID)
|
| #include "components/signin/core/browser/dice_header_helper.h"
|
| @@ -43,6 +42,13 @@ ManageAccountsParams::ManageAccountsParams()
|
| ManageAccountsParams::ManageAccountsParams(const ManageAccountsParams& other) =
|
| default;
|
|
|
| +DiceResponseParams::DiceResponseParams() : user_intention(DiceAction::NONE) {}
|
| +
|
| +DiceResponseParams::~DiceResponseParams() {}
|
| +
|
| +DiceResponseParams::DiceResponseParams(const DiceResponseParams& other) =
|
| + default;
|
| +
|
| bool SettingsAllowSigninCookies(
|
| const content_settings::CookieSettings* cookie_settings) {
|
| GURL gaia_url = GaiaUrls::GetInstance()->gaia_url();
|
| @@ -153,4 +159,10 @@ ManageAccountsParams BuildManageAccountsParams(
|
| return ChromeConnectedHeaderHelper::BuildManageAccountsParams(header_value);
|
| }
|
|
|
| +#if !defined(OS_IOS) && !defined(OS_ANDROID)
|
| +DiceResponseParams BuildDiceResponseParams(const std::string& header_value) {
|
| + return DiceHeaderHelper::BuildDiceResponseParams(header_value);
|
| +}
|
| +#endif
|
| +
|
| } // namespace signin
|
|
|