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

Side by Side Diff: Source/core/workers/WorkerMessagingProxy.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void terminateInternally(); 89 void terminateInternally();
90 90
91 // WorkerLoaderProxyProvider 91 // WorkerLoaderProxyProvider
92 // These methods are called on different threads to schedule loading 92 // These methods are called on different threads to schedule loading
93 // requests and to send callbacks back to WorkerGlobalScope. 93 // requests and to send callbacks back to WorkerGlobalScope.
94 void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override; 94 void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) override;
95 bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) override; 95 bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) override;
96 96
97 RefPtrWillBePersistent<ExecutionContext> m_executionContext; 97 RefPtrWillBePersistent<ExecutionContext> m_executionContext;
98 OwnPtr<WorkerObjectProxy> m_workerObjectProxy; 98 OwnPtr<WorkerObjectProxy> m_workerObjectProxy;
99 InProcessWorkerBase* m_workerObject; 99 RawPtrWillBeWeakPersistent<InProcessWorkerBase> m_workerObject;
100 bool m_mayBeDestroyed; 100 bool m_mayBeDestroyed;
101 RefPtr<WorkerThread> m_workerThread; 101 RefPtr<WorkerThread> m_workerThread;
102 102
103 unsigned m_unconfirmedMessageCount; // Unconfirmed messages from worker obje ct to worker thread. 103 unsigned m_unconfirmedMessageCount; // Unconfirmed messages from worker obje ct to worker thread.
104 bool m_workerThreadHadPendingActivity; // The latest confirmation from worke r thread reported that it was still active. 104 bool m_workerThreadHadPendingActivity; // The latest confirmation from worke r thread reported that it was still active.
105 105
106 bool m_askedToTerminate; 106 bool m_askedToTerminate;
107 107
108 Vector<OwnPtr<ExecutionContextTask>> m_queuedEarlyTasks; // Tasks are queued here until there's a thread object created. 108 Vector<OwnPtr<ExecutionContextTask>> m_queuedEarlyTasks; // Tasks are queued here until there's a thread object created.
109 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy; 109 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy;
110 110
111 OwnPtrWillBePersistent<WorkerClients> m_workerClients; 111 OwnPtrWillBePersistent<WorkerClients> m_workerClients;
112 112
113 RefPtr<WorkerLoaderProxy> m_loaderProxy; 113 RefPtr<WorkerLoaderProxy> m_loaderProxy;
114 }; 114 };
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 #endif // WorkerMessagingProxy_h 118 #endif // WorkerMessagingProxy_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698