Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: components/policy/core/common/external_data_fetcher.cc

Issue 1902633006: Convert //components/policy from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments and use namespace alias Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/core/common/external_data_fetcher.cc
diff --git a/components/policy/core/common/external_data_fetcher.cc b/components/policy/core/common/external_data_fetcher.cc
index 924dce6e68763509ed80874b27784dbc62ec31c2..1bce30a9696da0862e7222e5a6a7e99702b4bc24 100644
--- a/components/policy/core/common/external_data_fetcher.cc
+++ b/components/policy/core/common/external_data_fetcher.cc
@@ -39,7 +39,7 @@ void ExternalDataFetcher::Fetch(const FetchCallback& callback) const {
if (manager_)
manager_->Fetch(policy_, callback);
else
- callback.Run(scoped_ptr<std::string>());
+ callback.Run(std::unique_ptr<std::string>());
}
} // namespace policy
« no previous file with comments | « components/policy/core/common/external_data_fetcher.h ('k') | components/policy/core/common/fake_async_policy_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698