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

Unified Diff: extensions/browser/api/dns/dns_api.h

Issue 1902873002: Convert //extensions/browser/api from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: extensions/browser/api/dns/dns_api.h
diff --git a/extensions/browser/api/dns/dns_api.h b/extensions/browser/api/dns/dns_api.h
index a8947ead2ddae5926eeae750affbfef22d31bd25..ca82c86b07601069fc1e0f2b7fd8ab98a0b1aeda 100644
--- a/extensions/browser/api/dns/dns_api.h
+++ b/extensions/browser/api/dns/dns_api.h
@@ -43,8 +43,8 @@ class DnsResolveFunction : public AsyncExtensionFunction {
bool response_; // The value sent in SendResponse().
- scoped_ptr<net::HostResolver::RequestHandle> request_handle_;
- scoped_ptr<net::AddressList> addresses_;
+ std::unique_ptr<net::HostResolver::RequestHandle> request_handle_;
+ std::unique_ptr<net::AddressList> addresses_;
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698