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

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

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
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 #ifndef CONTENT_RENDERER_MEDIA_RTC_DATA_CHANNEL_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_DATA_CHANNEL_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_DATA_CHANNEL_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_RTC_DATA_CHANNEL_HANDLER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/threading/non_thread_safe.h" 9 #include "base/threading/non_thread_safe.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h " 11 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h "
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebRTCDataChannelHa ndler.h" 12 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebRTCDataChannelHa ndlerClient.h" 13 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandlerClient.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 // RtcDataChannelHandler is a delegate for the RTC PeerConnection DataChannel 17 // RtcDataChannelHandler is a delegate for the RTC PeerConnection DataChannel
18 // API messages going between WebKit and native PeerConnection DataChannels in 18 // API messages going between WebKit and native PeerConnection DataChannels in
19 // libjingle. Instances of this class are owned by WebKit. 19 // libjingle. Instances of this class are owned by WebKit.
20 // WebKit call all of these methods on the main render thread. 20 // WebKit call all of these methods on the main render thread.
21 // Callbacks to the webrtc::DataChannelObserver implementation also occur on 21 // Callbacks to the webrtc::DataChannelObserver implementation also occur on
22 // the main render thread. 22 // the main render thread.
23 class CONTENT_EXPORT RtcDataChannelHandler 23 class CONTENT_EXPORT RtcDataChannelHandler
(...skipping 19 matching lines...) Expand all
43 virtual void OnMessage(const webrtc::DataBuffer& buffer) OVERRIDE; 43 virtual void OnMessage(const webrtc::DataBuffer& buffer) OVERRIDE;
44 44
45 private: 45 private:
46 scoped_refptr<webrtc::DataChannelInterface> channel_; 46 scoped_refptr<webrtc::DataChannelInterface> channel_;
47 WebKit::WebRTCDataChannelHandlerClient* webkit_client_; 47 WebKit::WebRTCDataChannelHandlerClient* webkit_client_;
48 }; 48 };
49 49
50 } // namespace content 50 } // namespace content
51 51
52 #endif // CONTENT_RENDERER_MEDIA_RTC_DATA_CHANNEL_HANDLER_H_ 52 #endif // CONTENT_RENDERER_MEDIA_RTC_DATA_CHANNEL_HANDLER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/renderer_webaudiodevice_impl.h ('k') | content/renderer/media/rtc_dtmf_sender_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698