Index: chrome/browser/extensions/webstore_data_fetcher.cc |
diff --git a/chrome/browser/extensions/webstore_data_fetcher.cc b/chrome/browser/extensions/webstore_data_fetcher.cc |
index 1ade331a9426cc04acce4e7dee97fa1741509142..1586b927385b471f3a6ae9387d1c71ebe2115ace 100644 |
--- a/chrome/browser/extensions/webstore_data_fetcher.cc |
+++ b/chrome/browser/extensions/webstore_data_fetcher.cc |
@@ -55,14 +55,15 @@ void WebstoreDataFetcher::Start() { |
} |
void WebstoreDataFetcher::OnJsonParseSuccess( |
- scoped_ptr<base::Value> parsed_json) { |
+ std::unique_ptr<base::Value> parsed_json) { |
if (!parsed_json->IsType(base::Value::TYPE_DICTIONARY)) { |
OnJsonParseFailure(kInvalidWebstoreResponseError); |
return; |
} |
- delegate_->OnWebstoreResponseParseSuccess(scoped_ptr<base::DictionaryValue>( |
- static_cast<base::DictionaryValue*>(parsed_json.release()))); |
+ delegate_->OnWebstoreResponseParseSuccess( |
+ std::unique_ptr<base::DictionaryValue>( |
+ static_cast<base::DictionaryValue*>(parsed_json.release()))); |
} |
void WebstoreDataFetcher::OnJsonParseFailure( |
@@ -73,7 +74,8 @@ void WebstoreDataFetcher::OnJsonParseFailure( |
void WebstoreDataFetcher::OnURLFetchComplete(const net::URLFetcher* source) { |
CHECK_EQ(webstore_data_url_fetcher_.get(), source); |
- scoped_ptr<net::URLFetcher> fetcher(std::move(webstore_data_url_fetcher_)); |
+ std::unique_ptr<net::URLFetcher> fetcher( |
+ std::move(webstore_data_url_fetcher_)); |
if (!fetcher->GetStatus().is_success() || |
fetcher->GetResponseCode() != 200) { |