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

Side by Side Diff: Source/modules/mediastream/RTCDataChannel.h

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 24 matching lines...) Expand all
35 struct WebRTCDataChannelInit; 35 struct WebRTCDataChannelInit;
36 } 36 }
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class Blob; 40 class Blob;
41 class ExceptionState; 41 class ExceptionState;
42 class RTCDataChannelHandler; 42 class RTCDataChannelHandler;
43 class RTCPeerConnectionHandler; 43 class RTCPeerConnectionHandler;
44 44
45 class RTCDataChannel : public RefCounted<RTCDataChannel>, public ScriptWrappable , public EventTargetWithInlineData, public RTCDataChannelHandlerClient { 45 class RTCDataChannel FINAL : public RefCounted<RTCDataChannel>, public ScriptWra ppable, public EventTargetWithInlineData, public RTCDataChannelHandlerClient {
46 REFCOUNTED_EVENT_TARGET(RTCDataChannel); 46 REFCOUNTED_EVENT_TARGET(RTCDataChannel);
47 public: 47 public:
48 static PassRefPtr<RTCDataChannel> create(ExecutionContext*, PassOwnPtr<RTCDa taChannelHandler>); 48 static PassRefPtr<RTCDataChannel> create(ExecutionContext*, PassOwnPtr<RTCDa taChannelHandler>);
49 static PassRefPtr<RTCDataChannel> create(ExecutionContext*, RTCPeerConnectio nHandler*, const String& label, const blink::WebRTCDataChannelInit&, ExceptionSt ate&); 49 static PassRefPtr<RTCDataChannel> create(ExecutionContext*, RTCPeerConnectio nHandler*, const String& label, const blink::WebRTCDataChannelInit&, ExceptionSt ate&);
50 ~RTCDataChannel(); 50 virtual ~RTCDataChannel();
51 51
52 String label() const; 52 String label() const;
53 53
54 // DEPRECATED 54 // DEPRECATED
55 bool reliable() const; 55 bool reliable() const;
56 56
57 bool ordered() const; 57 bool ordered() const;
58 unsigned short maxRetransmitTime() const; 58 unsigned short maxRetransmitTime() const;
59 unsigned short maxRetransmits() const; 59 unsigned short maxRetransmits() const;
60 String protocol() const; 60 String protocol() const;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 }; 109 };
110 BinaryType m_binaryType; 110 BinaryType m_binaryType;
111 111
112 Timer<RTCDataChannel> m_scheduledEventTimer; 112 Timer<RTCDataChannel> m_scheduledEventTimer;
113 Vector<RefPtr<Event> > m_scheduledEvents; 113 Vector<RefPtr<Event> > m_scheduledEvents;
114 }; 114 };
115 115
116 } // namespace WebCore 116 } // namespace WebCore
117 117
118 #endif // RTCDataChannel_h 118 #endif // RTCDataChannel_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCDTMFToneChangeEvent.h ('k') | Source/modules/mediastream/RTCDataChannelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698