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

Unified Diff: extensions/browser/api/cast_channel/cast_test_util.cc

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/cast_channel/cast_test_util.cc
diff --git a/extensions/browser/api/cast_channel/cast_test_util.cc b/extensions/browser/api/cast_channel/cast_test_util.cc
index 13a19641f2e0884bfa5c4f056c139554f02001bf..7a115f2bf6d6edb9bef45858ad4cb2f5bf08da4a 100644
--- a/extensions/browser/api/cast_channel/cast_test_util.cc
+++ b/extensions/browser/api/cast_channel/cast_test_util.cc
@@ -25,7 +25,7 @@ CastTransport::Delegate* MockCastTransport::current_delegate() const {
}
void MockCastTransport::SetReadDelegate(
- scoped_ptr<CastTransport::Delegate> delegate) {
+ std::unique_ptr<CastTransport::Delegate> delegate) {
delegate_ = std::move(delegate);
}
« no previous file with comments | « extensions/browser/api/cast_channel/cast_test_util.h ('k') | extensions/browser/api/cast_channel/cast_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698