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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 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, 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 24 matching lines...) Expand all
35 #include "core/dom/ExecutionContext.h" 35 #include "core/dom/ExecutionContext.h"
36 #include "core/fileapi/Blob.h" 36 #include "core/fileapi/Blob.h"
37 #include "core/loader/ThreadableLoadingContext.h" 37 #include "core/loader/ThreadableLoadingContext.h"
38 #include "core/workers/WorkerGlobalScope.h" 38 #include "core/workers/WorkerGlobalScope.h"
39 #include "core/workers/WorkerLoaderProxy.h" 39 #include "core/workers/WorkerLoaderProxy.h"
40 #include "core/workers/WorkerThread.h" 40 #include "core/workers/WorkerThread.h"
41 #include "modules/websockets/DocumentWebSocketChannel.h" 41 #include "modules/websockets/DocumentWebSocketChannel.h"
42 #include "platform/CrossThreadFunctional.h" 42 #include "platform/CrossThreadFunctional.h"
43 #include "platform/WaitableEvent.h" 43 #include "platform/WaitableEvent.h"
44 #include "platform/heap/SafePoint.h" 44 #include "platform/heap/SafePoint.h"
45 #include "platform/wtf/Assertions.h"
46 #include "platform/wtf/Functional.h"
47 #include "platform/wtf/PtrUtil.h"
48 #include "platform/wtf/text/CString.h"
49 #include "platform/wtf/text/WTFString.h"
45 #include "public/platform/Platform.h" 50 #include "public/platform/Platform.h"
46 #include "wtf/Assertions.h"
47 #include "wtf/Functional.h"
48 #include "wtf/PtrUtil.h"
49 #include "wtf/text/CString.h"
50 #include "wtf/text/WTFString.h"
51 51
52 namespace blink { 52 namespace blink {
53 53
54 typedef WorkerWebSocketChannel::Bridge Bridge; 54 typedef WorkerWebSocketChannel::Bridge Bridge;
55 typedef WorkerWebSocketChannel::Peer Peer; 55 typedef WorkerWebSocketChannel::Peer Peer;
56 56
57 // 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
58 // 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
59 // thread. signalWorkerThread() must be called before any getters are called. 59 // thread. signalWorkerThread() must be called before any getters are called.
60 class WebSocketChannelSyncHelper { 60 class WebSocketChannelSyncHelper {
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 peer_ = nullptr; 466 peer_ = nullptr;
467 worker_global_scope_.Clear(); 467 worker_global_scope_.Clear();
468 } 468 }
469 469
470 DEFINE_TRACE(Bridge) { 470 DEFINE_TRACE(Bridge) {
471 visitor->Trace(client_); 471 visitor->Trace(client_);
472 visitor->Trace(worker_global_scope_); 472 visitor->Trace(worker_global_scope_);
473 } 473 }
474 474
475 } // namespace blink 475 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698