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

Side by Side Diff: third_party/WebKit/Source/core/workers/Worker.h

Issue 1888703002: Worker: Rename worker components to clarify what they work for (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing files 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef Worker_h 5 #ifndef Worker_h
6 #define Worker_h 6 #define Worker_h
7 7
8 #include "core/workers/InProcessWorkerBase.h" 8 #include "core/workers/InProcessWorkerBase.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class ExceptionState; 12 class ExceptionState;
13 class ExecutionContext; 13 class ExecutionContext;
14 class WorkerGlobalScopeProxy; 14 class InProcessWorkerGlobalScopeProxy;
15 15
16 class CORE_EXPORT Worker final : public InProcessWorkerBase { 16 class CORE_EXPORT Worker final : public InProcessWorkerBase {
17 DEFINE_WRAPPERTYPEINFO(); 17 DEFINE_WRAPPERTYPEINFO();
18 public: 18 public:
19 static Worker* create(ExecutionContext*, const String& url, ExceptionState&) ; 19 static Worker* create(ExecutionContext*, const String& url, ExceptionState&) ;
20 ~Worker() override; 20 ~Worker() override;
21 21
22 protected: 22 protected:
23 explicit Worker(ExecutionContext*); 23 explicit Worker(ExecutionContext*);
24 24
25 WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(ExecutionContext*) over ride; 25 InProcessWorkerGlobalScopeProxy* createInProcessWorkerGlobalScopeProxy(Execu tionContext*) override;
26 const AtomicString& interfaceName() const override; 26 const AtomicString& interfaceName() const override;
27 }; 27 };
28 28
29 } // namespace blink 29 } // namespace blink
30 30
31 #endif // Worker_h 31 #endif // Worker_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698