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

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

Issue 1864243004: Remove RawPtr from Source/modules Part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 public: 147 public:
148 static EventQueue* create(EventTarget* target) 148 static EventQueue* create(EventTarget* target)
149 { 149 {
150 return new EventQueue(target); 150 return new EventQueue(target);
151 } 151 }
152 ~EventQueue(); 152 ~EventQueue();
153 153
154 // Dispatches the event if this queue is active. 154 // Dispatches the event if this queue is active.
155 // Queues the event if this queue is suspended. 155 // Queues the event if this queue is suspended.
156 // Does nothing otherwise. 156 // Does nothing otherwise.
157 void dispatch(RawPtr<Event> /* event */); 157 void dispatch(Event* /* event */);
158 158
159 bool isEmpty() const; 159 bool isEmpty() const;
160 160
161 void suspend(); 161 void suspend();
162 void resume(); 162 void resume();
163 void stop(); 163 void stop();
164 164
165 DECLARE_TRACE(); 165 DECLARE_TRACE();
166 166
167 private: 167 private:
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 String m_subprotocol; 242 String m_subprotocol;
243 String m_extensions; 243 String m_extensions;
244 244
245 Member<EventQueue> m_eventQueue; 245 Member<EventQueue> m_eventQueue;
246 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer; 246 Timer<DOMWebSocket> m_bufferedAmountConsumeTimer;
247 }; 247 };
248 248
249 } // namespace blink 249 } // namespace blink
250 250
251 #endif // DOMWebSocket_h 251 #endif // DOMWebSocket_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698