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

Side by Side Diff: third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp

Issue 2810023003: Rewrite references to "wtf/" to "platform/wtf/" in core/workers. (Closed)
Patch Set: 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/workers/ThreadedMessagingProxyBase.h" 5 #include "core/workers/ThreadedMessagingProxyBase.h"
6 6
7 #include "bindings/core/v8/SourceLocation.h" 7 #include "bindings/core/v8/SourceLocation.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/frame/Deprecation.h" 9 #include "core/frame/Deprecation.h"
10 #include "core/loader/DocumentLoader.h" 10 #include "core/loader/DocumentLoader.h"
11 #include "core/loader/ThreadableLoadingContext.h" 11 #include "core/loader/ThreadableLoadingContext.h"
12 #include "core/workers/WorkerInspectorProxy.h" 12 #include "core/workers/WorkerInspectorProxy.h"
13 #include "core/workers/WorkerThreadStartupData.h" 13 #include "core/workers/WorkerThreadStartupData.h"
14 #include "wtf/CurrentTime.h" 14 #include "platform/wtf/CurrentTime.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 namespace { 18 namespace {
19 19
20 static int g_live_messaging_proxy_count = 0; 20 static int g_live_messaging_proxy_count = 0;
21 21
22 } // namespace 22 } // namespace
23 23
24 ThreadedMessagingProxyBase::ThreadedMessagingProxyBase( 24 ThreadedMessagingProxyBase::ThreadedMessagingProxyBase(
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 176 }
177 177
178 bool ThreadedMessagingProxyBase::IsParentContextThread() const { 178 bool ThreadedMessagingProxyBase::IsParentContextThread() const {
179 // TODO(nhiroki): Nested worker is not supported yet, so the parent context 179 // TODO(nhiroki): Nested worker is not supported yet, so the parent context
180 // thread should be equal to the main thread (http://crbug.com/31666). 180 // thread should be equal to the main thread (http://crbug.com/31666).
181 DCHECK(execution_context_->IsDocument()); 181 DCHECK(execution_context_->IsDocument());
182 return IsMainThread(); 182 return IsMainThread();
183 } 183 }
184 184
185 } // namespace blink 185 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698