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

Side by Side Diff: content/renderer/media/mock_data_channel_impl.h

Issue 1615433002: Roll WebRTC 11523:11548, Libjingle 11522:11545 (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rolling to webrtc@11548 instead to pull in a fix Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h " 13 #include "third_party/webrtc/api/peerconnectioninterface.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 class MockDataChannel : public webrtc::DataChannelInterface { 17 class MockDataChannel : public webrtc::DataChannelInterface {
18 public: 18 public:
19 MockDataChannel(const std::string& label, 19 MockDataChannel(const std::string& label,
20 const webrtc::DataChannelInit* config); 20 const webrtc::DataChannelInit* config);
21 21
22 void RegisterObserver(webrtc::DataChannelObserver* observer) override; 22 void RegisterObserver(webrtc::DataChannelObserver* observer) override;
23 void UnregisterObserver() override; 23 void UnregisterObserver() override;
(...skipping 22 matching lines...) Expand all
46 webrtc::DataChannelInterface::DataState state_; 46 webrtc::DataChannelInterface::DataState state_;
47 webrtc::DataChannelInit config_; 47 webrtc::DataChannelInit config_;
48 webrtc::DataChannelObserver* observer_; 48 webrtc::DataChannelObserver* observer_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(MockDataChannel); 50 DISALLOW_COPY_AND_ASSIGN(MockDataChannel);
51 }; 51 };
52 52
53 } // namespace content 53 } // namespace content
54 54
55 #endif // CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ 55 #endif // CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/mock_constraint_factory.cc ('k') | content/renderer/media/mock_media_constraint_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698