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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 13 matching lines...) Expand all
24 24
25 #ifndef RTCDataChannel_h 25 #ifndef RTCDataChannel_h
26 #define RTCDataChannel_h 26 #define RTCDataChannel_h
27 27
28 #include "bindings/v8/ScriptWrappable.h" 28 #include "bindings/v8/ScriptWrappable.h"
29 #include "core/events/EventTarget.h" 29 #include "core/events/EventTarget.h"
30 #include "core/platform/mediastream/RTCDataChannelHandlerClient.h" 30 #include "core/platform/mediastream/RTCDataChannelHandlerClient.h"
31 #include "platform/Timer.h" 31 #include "platform/Timer.h"
32 #include "wtf/RefCounted.h" 32 #include "wtf/RefCounted.h"
33 33
34 namespace WebKit { 34 namespace blink {
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 : public RefCounted<RTCDataChannel>, public ScriptWrappable , 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 WebKit::WebRTCDataChannelInit&, ExceptionS tate&); 49 static PassRefPtr<RTCDataChannel> create(ExecutionContext*, RTCPeerConnectio nHandler*, const String& label, const blink::WebRTCDataChannelInit&, ExceptionSt ate&);
50 ~RTCDataChannel(); 50 ~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;
(...skipping 49 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/MediaStreamTrackSourcesRequest.cpp ('k') | Source/modules/mediastream/RTCDataChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698