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

Side by Side Diff: Source/core/workers/InProcessWorkerBase.h

Issue 1257653007: Oilpan: Remove raw pointer to InProcessWorkerBase from WorkerMessagingProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 InProcessWorkerBase_h 5 #ifndef InProcessWorkerBase_h
6 #define InProcessWorkerBase_h 6 #define InProcessWorkerBase_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/ActiveDOMObject.h" 9 #include "core/dom/ActiveDOMObject.h"
10 #include "core/dom/MessagePort.h" 10 #include "core/dom/MessagePort.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // created proxy. The proxy is expected to manage its own lifetime, and dele te itself in response to terminateWorkerGlobalScope(). 51 // created proxy. The proxy is expected to manage its own lifetime, and dele te itself in response to terminateWorkerGlobalScope().
52 virtual WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(ExecutionContex t*) = 0; 52 virtual WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(ExecutionContex t*) = 0;
53 53
54 private: 54 private:
55 // Callbacks for m_scriptLoader. 55 // Callbacks for m_scriptLoader.
56 void onResponse(); 56 void onResponse();
57 void onFinished(); 57 void onFinished();
58 58
59 OwnPtr<WorkerScriptLoader> m_scriptLoader; 59 OwnPtr<WorkerScriptLoader> m_scriptLoader;
60 RefPtrWillBeMember<ContentSecurityPolicy> m_contentSecurityPolicy; 60 RefPtrWillBeMember<ContentSecurityPolicy> m_contentSecurityPolicy;
61 WorkerGlobalScopeProxy* m_contextProxy; // The proxy outlives the worker to perform thread shutdown. 61 RawPtrWillBeMember<WorkerGlobalScopeProxy> m_contextProxy; // The proxy outl ives the worker to perform thread shutdown.
62 }; 62 };
63 63
64 } // namespace blink 64 } // namespace blink
65 65
66 #endif // InProcessWorkerBase_h 66 #endif // InProcessWorkerBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698