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

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

Issue 2891023002: [cast_channel] Make CastSocket not inherit from ApiResource (Closed)
Patch Set: resolve code review comments from Derek Created 3 years, 7 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
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket_service_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7a115f2bf6d6edb9bef45858ad4cb2f5bf08da4a..d5406b0f9fbc39a9ea860fb9aa7021398563e8db 100644
--- a/extensions/browser/api/cast_channel/cast_test_util.cc
+++ b/extensions/browser/api/cast_channel/cast_test_util.cc
@@ -34,9 +34,7 @@ MockCastTransportDelegate::MockCastTransportDelegate() {
MockCastTransportDelegate::~MockCastTransportDelegate() {
}
-MockCastSocket::MockCastSocket()
- : CastSocket(kTestExtensionId), mock_transport_(new MockCastTransport) {
-}
+MockCastSocket::MockCastSocket() : mock_transport_(new MockCastTransport()) {}
MockCastSocket::~MockCastSocket() {
}
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698