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

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

Issue 670683003: Standardize usage of virtual/override/final in content/renderer/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 (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"
(...skipping 27 matching lines...) Expand all
38 virtual unsigned short maxRetransmits() const override; 38 virtual unsigned short maxRetransmits() const override;
39 virtual blink::WebString protocol() const override; 39 virtual blink::WebString protocol() const override;
40 virtual bool negotiated() const override; 40 virtual bool negotiated() const override;
41 virtual unsigned short id() const override; 41 virtual unsigned short id() const override;
42 virtual unsigned long bufferedAmount() override; 42 virtual unsigned long bufferedAmount() override;
43 virtual bool sendStringData(const blink::WebString& data) override; 43 virtual bool sendStringData(const blink::WebString& data) override;
44 virtual bool sendRawData(const char* data, size_t length) override; 44 virtual bool sendRawData(const char* data, size_t length) override;
45 virtual void close() override; 45 virtual void close() override;
46 46
47 // webrtc::DataChannelObserver implementation. 47 // webrtc::DataChannelObserver implementation.
48 virtual void OnStateChange() override; 48 void OnStateChange() override;
49 virtual void OnMessage(const webrtc::DataBuffer& buffer) override; 49 void OnMessage(const webrtc::DataBuffer& buffer) override;
50 50
51 private: 51 private:
52 void RecordMessageSent(size_t num_bytes); 52 void RecordMessageSent(size_t num_bytes);
53 53
54 scoped_refptr<webrtc::DataChannelInterface> channel_; 54 scoped_refptr<webrtc::DataChannelInterface> channel_;
55 blink::WebRTCDataChannelHandlerClient* webkit_client_; 55 blink::WebRTCDataChannelHandlerClient* webkit_client_;
56 }; 56 };
57 57
58 } // namespace content 58 } // namespace content
59 59
60 #endif // CONTENT_RENDERER_MEDIA_RTC_DATA_CHANNEL_HANDLER_H_ 60 #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