OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/location.h" | 10 #include "base/location.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h" | 41 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h" |
42 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" | 42 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" |
43 #include "third_party/WebKit/public/platform/WebRTCICECandidate.h" | 43 #include "third_party/WebKit/public/platform/WebRTCICECandidate.h" |
44 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h
" | 44 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandlerClient.h
" |
45 #include "third_party/WebKit/public/platform/WebRTCSessionDescription.h" | 45 #include "third_party/WebKit/public/platform/WebRTCSessionDescription.h" |
46 #include "third_party/WebKit/public/platform/WebRTCSessionDescriptionRequest.h" | 46 #include "third_party/WebKit/public/platform/WebRTCSessionDescriptionRequest.h" |
47 #include "third_party/WebKit/public/platform/WebRTCStatsRequest.h" | 47 #include "third_party/WebKit/public/platform/WebRTCStatsRequest.h" |
48 #include "third_party/WebKit/public/platform/WebRTCVoidRequest.h" | 48 #include "third_party/WebKit/public/platform/WebRTCVoidRequest.h" |
49 #include "third_party/WebKit/public/platform/WebURL.h" | 49 #include "third_party/WebKit/public/platform/WebURL.h" |
50 #include "third_party/WebKit/public/web/WebHeap.h" | 50 #include "third_party/WebKit/public/web/WebHeap.h" |
51 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h
" | 51 #include "third_party/webrtc/api/peerconnectioninterface.h" |
52 | 52 |
53 static const char kDummySdp[] = "dummy sdp"; | 53 static const char kDummySdp[] = "dummy sdp"; |
54 static const char kDummySdpType[] = "dummy type"; | 54 static const char kDummySdpType[] = "dummy type"; |
55 | 55 |
56 using blink::WebRTCPeerConnectionHandlerClient; | 56 using blink::WebRTCPeerConnectionHandlerClient; |
57 using testing::NiceMock; | 57 using testing::NiceMock; |
58 using testing::_; | 58 using testing::_; |
59 using testing::Ref; | 59 using testing::Ref; |
60 using testing::SaveArg; | 60 using testing::SaveArg; |
61 | 61 |
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 EXPECT_CALL(*mock_tracker_.get(), | 1038 EXPECT_CALL(*mock_tracker_.get(), |
1039 TrackCreateDTMFSender(pc_handler_.get(), | 1039 TrackCreateDTMFSender(pc_handler_.get(), |
1040 testing::Ref(tracks[0]))); | 1040 testing::Ref(tracks[0]))); |
1041 | 1041 |
1042 scoped_ptr<blink::WebRTCDTMFSenderHandler> sender( | 1042 scoped_ptr<blink::WebRTCDTMFSenderHandler> sender( |
1043 pc_handler_->createDTMFSender(tracks[0])); | 1043 pc_handler_->createDTMFSender(tracks[0])); |
1044 EXPECT_TRUE(sender.get()); | 1044 EXPECT_TRUE(sender.get()); |
1045 } | 1045 } |
1046 | 1046 |
1047 } // namespace content | 1047 } // namespace content |
OLD | NEW |