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

Unified Diff: webrtc/pc/test/mockpeerconnectionobservers.h

Issue 2738353003: Rewrite PeerConnection integration tests using better testing practices. (Closed)
Patch Set: Fixing issues caught by trybots. Created 3 years, 9 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 | « webrtc/pc/peerconnectioninterface_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/test/mockpeerconnectionobservers.h
diff --git a/webrtc/pc/test/mockpeerconnectionobservers.h b/webrtc/pc/test/mockpeerconnectionobservers.h
index bde59a8d3f03ee207137d9f68cd3051c3c2840d5..94996d004f1d8e8fc5c0d5fc26371e1b3a70a8f5 100644
--- a/webrtc/pc/test/mockpeerconnectionobservers.h
+++ b/webrtc/pc/test/mockpeerconnectionobservers.h
@@ -39,8 +39,8 @@ class MockCreateSessionDescriptionObserver
}
bool called() const { return called_; }
bool result() const { return result_; }
- SessionDescriptionInterface* release_desc() {
- return desc_.release();
+ std::unique_ptr<SessionDescriptionInterface> MoveDescription() {
+ return std::move(desc_);
}
private:
« no previous file with comments | « webrtc/pc/peerconnectioninterface_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698