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

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

Issue 716323002: Use "int" rather than "long" for C++ code interacting with WebIDL's "long". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // DEPRECATED 59 // DEPRECATED
60 bool reliable() const; 60 bool reliable() const;
61 61
62 bool ordered() const; 62 bool ordered() const;
63 unsigned short maxRetransmitTime() const; 63 unsigned short maxRetransmitTime() const;
64 unsigned short maxRetransmits() const; 64 unsigned short maxRetransmits() const;
65 String protocol() const; 65 String protocol() const;
66 bool negotiated() const; 66 bool negotiated() const;
67 unsigned short id() const; 67 unsigned short id() const;
68 String readyState() const; 68 String readyState() const;
69 unsigned long bufferedAmount() const; 69 unsigned bufferedAmount() const;
tommi (sloooow) - chröme 2014/11/13 12:15:26 unsigned int?
eroman 2014/11/13 19:18:07 While I personally agree with you, the style in Bl
70 70
71 String binaryType() const; 71 String binaryType() const;
72 void setBinaryType(const String&, ExceptionState&); 72 void setBinaryType(const String&, ExceptionState&);
73 73
74 void send(const String&, ExceptionState&); 74 void send(const String&, ExceptionState&);
75 void send(PassRefPtr<DOMArrayBuffer>, ExceptionState&); 75 void send(PassRefPtr<DOMArrayBuffer>, ExceptionState&);
76 void send(PassRefPtr<DOMArrayBufferView>, ExceptionState&); 76 void send(PassRefPtr<DOMArrayBufferView>, ExceptionState&);
77 void send(Blob*, ExceptionState&); 77 void send(Blob*, ExceptionState&);
78 78
79 void close(); 79 void close();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 Timer<RTCDataChannel> m_scheduledEventTimer; 121 Timer<RTCDataChannel> m_scheduledEventTimer;
122 WillBeHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents; 122 WillBeHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents;
123 123
124 WeakMember<RTCPeerConnection> m_connection; 124 WeakMember<RTCPeerConnection> m_connection;
125 }; 125 };
126 126
127 } // namespace blink 127 } // namespace blink
128 128
129 #endif // RTCDataChannel_h 129 #endif // RTCDataChannel_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCDTMFSender.cpp ('k') | Source/modules/mediastream/RTCDataChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698