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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Returns null when |disconnect| has already been called. 140 // Returns null when |disconnect| has already been called.
141 WebSocketChannelClient* client() { return m_client; } 141 WebSocketChannelClient* client() { return m_client; }
142 142
143 DECLARE_TRACE(); 143 DECLARE_TRACE();
144 144
145 private: 145 private:
146 // Returns false if shutdown event is received before method completion. 146 // Returns false if shutdown event is received before method completion.
147 bool waitForMethodCompletion(PassOwnPtr<ExecutionContextTask>); 147 bool waitForMethodCompletion(PassOwnPtr<ExecutionContextTask>);
148 148
149 Member<WebSocketChannelClient> m_client; 149 Member<WebSocketChannelClient> m_client;
150 RefPtrWillBeMember<WorkerGlobalScope> m_workerGlobalScope; 150 Member<WorkerGlobalScope> m_workerGlobalScope;
151 RefPtr<WorkerLoaderProxy> m_loaderProxy; 151 RefPtr<WorkerLoaderProxy> m_loaderProxy;
152 Member<WebSocketChannelSyncHelper> m_syncHelper; 152 Member<WebSocketChannelSyncHelper> m_syncHelper;
153 Member<Peer> m_peer; 153 Member<Peer> m_peer;
154 }; 154 };
155 155
156 private: 156 private:
157 WorkerWebSocketChannel(WorkerGlobalScope&, WebSocketChannelClient*, const St ring& sourceURL, unsigned lineNumber); 157 WorkerWebSocketChannel(WorkerGlobalScope&, WebSocketChannelClient*, const St ring& sourceURL, unsigned lineNumber);
158 158
159 Member<Bridge> m_bridge; 159 Member<Bridge> m_bridge;
160 String m_sourceURLAtConnection; 160 String m_sourceURLAtConnection;
161 unsigned m_lineNumberAtConnection; 161 unsigned m_lineNumberAtConnection;
162 }; 162 };
163 163
164 } // namespace blink 164 } // namespace blink
165 165
166 #endif // WorkerWebSocketChannel_h 166 #endif // WorkerWebSocketChannel_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698