| OLD | NEW |
| 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 28 matching lines...) Expand all Loading... |
| 39 #include "core/fileapi/Blob.h" | 39 #include "core/fileapi/Blob.h" |
| 40 #include "core/workers/WorkerGlobalScope.h" | 40 #include "core/workers/WorkerGlobalScope.h" |
| 41 #include "core/workers/WorkerLoaderProxy.h" | 41 #include "core/workers/WorkerLoaderProxy.h" |
| 42 #include "core/workers/WorkerThread.h" | 42 #include "core/workers/WorkerThread.h" |
| 43 #include "modules/websockets/DocumentWebSocketChannel.h" | 43 #include "modules/websockets/DocumentWebSocketChannel.h" |
| 44 #include "platform/WaitableEvent.h" | 44 #include "platform/WaitableEvent.h" |
| 45 #include "platform/heap/SafePoint.h" | 45 #include "platform/heap/SafePoint.h" |
| 46 #include "public/platform/Platform.h" | 46 #include "public/platform/Platform.h" |
| 47 #include "wtf/Assertions.h" | 47 #include "wtf/Assertions.h" |
| 48 #include "wtf/Functional.h" | 48 #include "wtf/Functional.h" |
| 49 #include "wtf/MainThread.h" | |
| 50 #include "wtf/text/CString.h" | 49 #include "wtf/text/CString.h" |
| 51 #include "wtf/text/WTFString.h" | 50 #include "wtf/text/WTFString.h" |
| 52 | 51 |
| 53 namespace blink { | 52 namespace blink { |
| 54 | 53 |
| 55 typedef WorkerWebSocketChannel::Bridge Bridge; | 54 typedef WorkerWebSocketChannel::Bridge Bridge; |
| 56 typedef WorkerWebSocketChannel::Peer Peer; | 55 typedef WorkerWebSocketChannel::Peer Peer; |
| 57 | 56 |
| 58 // Created and destroyed on the worker thread. All setters of this class are | 57 // Created and destroyed on the worker thread. All setters of this class are |
| 59 // called on the main thread, while all getters are called on the worker | 58 // called on the main thread, while all getters are called on the worker |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 | 474 |
| 476 DEFINE_TRACE(Bridge) | 475 DEFINE_TRACE(Bridge) |
| 477 { | 476 { |
| 478 visitor->trace(m_client); | 477 visitor->trace(m_client); |
| 479 visitor->trace(m_workerGlobalScope); | 478 visitor->trace(m_workerGlobalScope); |
| 480 visitor->trace(m_syncHelper); | 479 visitor->trace(m_syncHelper); |
| 481 visitor->trace(m_peer); | 480 visitor->trace(m_peer); |
| 482 } | 481 } |
| 483 | 482 |
| 484 } // namespace blink | 483 } // namespace blink |
| OLD | NEW |