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

Side by Side Diff: Source/web/WebSharedWorkerImpl.h

Issue 1308313002: [Oilpan] Change pointer type to RefPtrWillBePersistent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change RawPtr to RefPtr on non-Oilpan build 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 | « Source/web/WebEmbeddedWorkerImpl.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 void postMessageToPageInspectorOnMainThread(const String& message); 131 void postMessageToPageInspectorOnMainThread(const String& message);
132 132
133 // WorkerLoaderProxyProvider 133 // WorkerLoaderProxyProvider
134 void postTaskToLoader(PassOwnPtr<ExecutionContextTask>); 134 void postTaskToLoader(PassOwnPtr<ExecutionContextTask>);
135 bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>); 135 bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>);
136 136
137 // 'shadow page' - created to proxy loading requests from the worker. 137 // 'shadow page' - created to proxy loading requests from the worker.
138 RefPtrWillBePersistent<ExecutionContext> m_loadingDocument; 138 RefPtrWillBePersistent<ExecutionContext> m_loadingDocument;
139 WebView* m_webView; 139 WebView* m_webView;
140 WebLocalFrameImpl* m_mainFrame; 140 RefPtrWillBePersistent<WebLocalFrameImpl> m_mainFrame;
141 bool m_askedToTerminate; 141 bool m_askedToTerminate;
142 142
143 // This one is bound to and used only on the main thread. 143 // This one is bound to and used only on the main thread.
144 OwnPtr<WebServiceWorkerNetworkProvider> m_networkProvider; 144 OwnPtr<WebServiceWorkerNetworkProvider> m_networkProvider;
145 145
146 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy; 146 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy;
147 147
148 RefPtr<WorkerThread> m_workerThread; 148 RefPtr<WorkerThread> m_workerThread;
149 149
150 WebSharedWorkerClient* m_client; 150 WebSharedWorkerClient* m_client;
151 151
152 bool m_pauseWorkerContextOnStart; 152 bool m_pauseWorkerContextOnStart;
153 bool m_isPausedOnStart; 153 bool m_isPausedOnStart;
154 154
155 // Kept around only while main script loading is ongoing. 155 // Kept around only while main script loading is ongoing.
156 OwnPtr<WorkerScriptLoader> m_mainScriptLoader; 156 OwnPtr<WorkerScriptLoader> m_mainScriptLoader;
157 157
158 RefPtr<WorkerLoaderProxy> m_loaderProxy; 158 RefPtr<WorkerLoaderProxy> m_loaderProxy;
159 159
160 WebURL m_url; 160 WebURL m_url;
161 WebString m_name; 161 WebString m_name;
162 }; 162 };
163 163
164 } // namespace blink 164 } // namespace blink
165 165
166 #endif // WebSharedWorkerImpl_h 166 #endif // WebSharedWorkerImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebEmbeddedWorkerImpl.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698