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

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

Issue 1130793002: Oilpan: switch some leftover raw references over to traced Member<>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 }; 169 };
170 170
171 explicit EventQueue(EventTarget*); 171 explicit EventQueue(EventTarget*);
172 172
173 // Dispatches queued events if this queue is active. 173 // Dispatches queued events if this queue is active.
174 // Does nothing otherwise. 174 // Does nothing otherwise.
175 void dispatchQueuedEvents(); 175 void dispatchQueuedEvents();
176 void resumeTimerFired(Timer<EventQueue>*); 176 void resumeTimerFired(Timer<EventQueue>*);
177 177
178 State m_state; 178 State m_state;
179 EventTarget* m_target; 179 RawPtrWillBeMember<EventTarget> m_target;
180 WillBeHeapDeque<RefPtrWillBeMember<Event>> m_events; 180 WillBeHeapDeque<RefPtrWillBeMember<Event>> m_events;
181 Timer<EventQueue> m_resumeTimer; 181 Timer<EventQueue> m_resumeTimer;
182 }; 182 };
183 183
184 enum WebSocketSendType { 184 enum WebSocketSendType {
185 WebSocketSendTypeString, 185 WebSocketSendTypeString,
186 WebSocketSendTypeArrayBuffer, 186 WebSocketSendTypeArrayBuffer,
187 WebSocketSendTypeArrayBufferView, 187 WebSocketSendTypeArrayBufferView,
188 WebSocketSendTypeBlob, 188 WebSocketSendTypeBlob,
189 WebSocketSendTypeMax, 189 WebSocketSendTypeMax,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 String m_subprotocol; 237 String m_subprotocol;
238 String m_extensions; 238 String m_extensions;
239 239
240 Member<EventQueue> m_eventQueue; 240 Member<EventQueue> m_eventQueue;
241 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer; 241 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer;
242 }; 242 };
243 243
244 } // namespace blink 244 } // namespace blink
245 245
246 #endif // DOMWebSocket_h 246 #endif // DOMWebSocket_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCDataChannel.cpp ('k') | Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698