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

Side by Side Diff: third_party/WebKit/Source/modules/websockets/DOMWebSocket.h

Issue 2572603002: ABANDONED CL: Rename readyState() to getReadyState(). (Closed)
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // To distinguish close method call with the code parameter from one 96 // To distinguish close method call with the code parameter from one
97 // without, we have these three signatures. Use of 97 // without, we have these three signatures. Use of
98 // Optional=DefaultIsUndefined in the IDL file doesn't help for now since 98 // Optional=DefaultIsUndefined in the IDL file doesn't help for now since
99 // it's bound to a value of 0 which is indistinguishable from the case 0 99 // it's bound to a value of 0 which is indistinguishable from the case 0
100 // is passed as code parameter. 100 // is passed as code parameter.
101 void close(unsigned short code, const String& reason, ExceptionState&); 101 void close(unsigned short code, const String& reason, ExceptionState&);
102 void close(ExceptionState&); 102 void close(ExceptionState&);
103 void close(unsigned short code, ExceptionState&); 103 void close(unsigned short code, ExceptionState&);
104 104
105 const KURL& url() const; 105 const KURL& url() const;
106 State readyState() const; 106 State getReadyState() const;
Łukasz Anforowicz 2016/12/12 22:43:49 Not sure if this rename is actually required.
107 unsigned bufferedAmount() const; 107 unsigned bufferedAmount() const;
108 108
109 String protocol() const; 109 String protocol() const;
110 String extensions() const; 110 String extensions() const;
111 111
112 String binaryType() const; 112 String binaryType() const;
113 void setBinaryType(const String&); 113 void setBinaryType(const String&);
114 114
115 DEFINE_ATTRIBUTE_EVENT_LISTENER(open); 115 DEFINE_ATTRIBUTE_EVENT_LISTENER(open);
116 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); 116 DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 String m_subprotocol; 252 String m_subprotocol;
253 String m_extensions; 253 String m_extensions;
254 254
255 Member<EventQueue> m_eventQueue; 255 Member<EventQueue> m_eventQueue;
256 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer; 256 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer;
257 }; 257 };
258 258
259 } // namespace blink 259 } // namespace blink
260 260
261 #endif // DOMWebSocket_h 261 #endif // DOMWebSocket_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698