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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 class RTCDataChannel : public RefCountedGarbageCollected<RTCDataChannel>, public EventTarget, public RTCDataChannelHandlerClient { 43 class RTCDataChannel : public RefCountedGarbageCollected<RTCDataChannel>, public EventTarget, public RTCDataChannelHandlerClient {
44 DECLARE_GC_INFO 44 DECLARE_GC_INFO
45 public: 45 public:
46 static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, RTCPeerCon nectionHandler*, const String& label, bool reliable, ExceptionCode&); 46 static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, RTCPeerCon nectionHandler*, const String& label, bool reliable, ExceptionCode&);
47 static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, PassOwnPtr <RTCDataChannelHandler>); 47 static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, PassOwnPtr <RTCDataChannelHandler>);
48 ~RTCDataChannel(); 48 ~RTCDataChannel();
49 49
50 virtual void trace(Visitor*) { } 50 virtual void trace(Visitor*) { }
51 51
52 virtual void visitWith(Visitor* visitor) const OVERRIDE 52 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
53 { 53 {
54 visitor->visit(this); 54 visitor->mark(this);
55 } 55 }
56 56
57 String label() const; 57 String label() const;
58 bool reliable() const; 58 bool reliable() const;
59 String readyState() const; 59 String readyState() const;
60 unsigned long bufferedAmount() const; 60 unsigned long bufferedAmount() const;
61 61
62 String binaryType() const; 62 String binaryType() const;
63 void setBinaryType(const String&, ExceptionCode&); 63 void setBinaryType(const String&, ExceptionCode&);
64 64
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 Timer<RTCDataChannel> m_scheduledEventTimer; 116 Timer<RTCDataChannel> m_scheduledEventTimer;
117 Vector<RefPtr<Event> > m_scheduledEvents; 117 Vector<RefPtr<Event> > m_scheduledEvents;
118 }; 118 };
119 119
120 } // namespace WebCore 120 } // namespace WebCore
121 121
122 #endif // ENABLE(MEDIA_STREAM) 122 #endif // ENABLE(MEDIA_STREAM)
123 123
124 #endif // RTCDataChannel_h 124 #endif // RTCDataChannel_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCDTMFSender.h ('k') | Source/modules/mediastream/RTCPeerConnection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698