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

Side by Side Diff: Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp

Issue 344593002: Qualify RuntimeEnabledFeatures.h and remove unnecessary include dir. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline Created 6 years, 6 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
« no previous file with comments | « Source/modules/websockets/WebSocketChannel.cpp ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 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 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 14 matching lines...) Expand all
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 32
33 #include "modules/websockets/WorkerThreadableWebSocketChannel.h" 33 #include "modules/websockets/WorkerThreadableWebSocketChannel.h"
34 34
35 #include "RuntimeEnabledFeatures.h"
36 #include "bindings/v8/ScriptCallStackFactory.h" 35 #include "bindings/v8/ScriptCallStackFactory.h"
37 #include "core/dom/CrossThreadTask.h" 36 #include "core/dom/CrossThreadTask.h"
38 #include "core/dom/Document.h" 37 #include "core/dom/Document.h"
39 #include "core/dom/ExecutionContext.h" 38 #include "core/dom/ExecutionContext.h"
40 #include "core/fileapi/Blob.h" 39 #include "core/fileapi/Blob.h"
41 #include "core/inspector/ScriptCallFrame.h" 40 #include "core/inspector/ScriptCallFrame.h"
42 #include "core/inspector/ScriptCallStack.h" 41 #include "core/inspector/ScriptCallStack.h"
43 #include "core/workers/WorkerLoaderProxy.h" 42 #include "core/workers/WorkerLoaderProxy.h"
44 #include "core/workers/WorkerRunLoop.h" 43 #include "core/workers/WorkerRunLoop.h"
45 #include "core/workers/WorkerThread.h" 44 #include "core/workers/WorkerThread.h"
46 #include "modules/websockets/MainThreadWebSocketChannel.h" 45 #include "modules/websockets/MainThreadWebSocketChannel.h"
47 #include "modules/websockets/NewWebSocketChannelImpl.h" 46 #include "modules/websockets/NewWebSocketChannelImpl.h"
48 #include "modules/websockets/ThreadableWebSocketChannelClientWrapper.h" 47 #include "modules/websockets/ThreadableWebSocketChannelClientWrapper.h"
48 #include "platform/RuntimeEnabledFeatures.h"
49 #include "public/platform/Platform.h" 49 #include "public/platform/Platform.h"
50 #include "public/platform/WebWaitableEvent.h" 50 #include "public/platform/WebWaitableEvent.h"
51 #include "wtf/ArrayBuffer.h" 51 #include "wtf/ArrayBuffer.h"
52 #include "wtf/Assertions.h" 52 #include "wtf/Assertions.h"
53 #include "wtf/Functional.h" 53 #include "wtf/Functional.h"
54 #include "wtf/MainThread.h" 54 #include "wtf/MainThread.h"
55 55
56 namespace WebCore { 56 namespace WebCore {
57 57
58 // Created and destroyed on the worker thread. All setters of this class are 58 // Created and destroyed on the worker thread. All setters of this class are
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 m_loaderProxy.postTaskToLoader(CallClosureTask::create(bind(&Peer::destroy, m_peer))); 565 m_loaderProxy.postTaskToLoader(CallClosureTask::create(bind(&Peer::destroy, m_peer)));
566 // Peer::destroy() deletes m_peer and then m_syncHelper will be released. 566 // Peer::destroy() deletes m_peer and then m_syncHelper will be released.
567 // We must not touch m_syncHelper any more. 567 // We must not touch m_syncHelper any more.
568 m_syncHelper = 0; 568 m_syncHelper = 0;
569 569
570 // We won't use this any more. 570 // We won't use this any more.
571 m_workerGlobalScope = nullptr; 571 m_workerGlobalScope = nullptr;
572 } 572 }
573 573
574 } // namespace WebCore 574 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/websockets/WebSocketChannel.cpp ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698