| Index: chrome/browser/chromeos/login/signin/token_handle_util.cc
|
| diff --git a/chrome/browser/chromeos/login/signin/token_handle_util.cc b/chrome/browser/chromeos/login/signin/token_handle_util.cc
|
| index 1ca6f0455ae195ad7c216bb701478ccc6b6da855..c85b92b6427e505465c054c4469fa08c9939baaa 100644
|
| --- a/chrome/browser/chromeos/login/signin/token_handle_util.cc
|
| +++ b/chrome/browser/chromeos/login/signin/token_handle_util.cc
|
| @@ -60,7 +60,7 @@ void TokenHandleUtil::DeleteHandle(const AccountId& account_id) {
|
| const base::DictionaryValue* dict = nullptr;
|
| if (!user_manager::known_user::FindPrefs(account_id, &dict))
|
| return;
|
| - scoped_ptr<base::DictionaryValue> dict_copy(dict->DeepCopy());
|
| + std::unique_ptr<base::DictionaryValue> dict_copy(dict->DeepCopy());
|
| dict_copy->Remove(kTokenHandlePref, nullptr);
|
| dict_copy->Remove(kTokenHandleStatusPref, nullptr);
|
| user_manager::known_user::UpdatePrefs(account_id, *dict_copy.get(),
|
| @@ -92,7 +92,7 @@ void TokenHandleUtil::CheckToken(const AccountId& account_id,
|
| }
|
|
|
| validation_delegates_.set(
|
| - token, scoped_ptr<TokenDelegate>(new TokenDelegate(
|
| + token, std::unique_ptr<TokenDelegate>(new TokenDelegate(
|
| weak_factory_.GetWeakPtr(), account_id, token, callback)));
|
| gaia_client_->GetTokenHandleInfo(token, kMaxRetries,
|
| validation_delegates_.get(token));
|
| @@ -144,7 +144,7 @@ void TokenHandleUtil::TokenDelegate::OnNetworkError(int response_code) {
|
| }
|
|
|
| void TokenHandleUtil::TokenDelegate::OnGetTokenInfoResponse(
|
| - scoped_ptr<base::DictionaryValue> token_info) {
|
| + std::unique_ptr<base::DictionaryValue> token_info) {
|
| TokenHandleStatus outcome = UNKNOWN;
|
| if (!token_info->HasKey("error")) {
|
| int expires_in = 0;
|
|
|