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

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

Issue 177073004: Oilpan: move core/workers to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 WebEmbeddedWorkerStartData m_workerStartData; 74 WebEmbeddedWorkerStartData m_workerStartData;
75 75
76 // These are kept until startWorkerContext is called, and then passed on 76 // These are kept until startWorkerContext is called, and then passed on
77 // to WorkerContext. 77 // to WorkerContext.
78 OwnPtr<WebServiceWorkerContextClient> m_workerContextClient; 78 OwnPtr<WebServiceWorkerContextClient> m_workerContextClient;
79 OwnPtr<WebWorkerPermissionClientProxy> m_permissionClient; 79 OwnPtr<WebWorkerPermissionClientProxy> m_permissionClient;
80 80
81 // Kept around only while main script loading is ongoing. 81 // Kept around only while main script loading is ongoing.
82 OwnPtr<Loader> m_mainScriptLoader; 82 OwnPtr<Loader> m_mainScriptLoader;
83 83
84 RefPtr<WebCore::WorkerThread> m_workerThread; 84 RefPtrWillBePersistent<WebCore::WorkerThread> m_workerThread;
85 OwnPtr<LoaderProxy> m_loaderProxy; 85 OwnPtr<LoaderProxy> m_loaderProxy;
86 OwnPtr<ServiceWorkerGlobalScopeProxy> m_workerGlobalScopeProxy; 86 OwnPtr<ServiceWorkerGlobalScopeProxy> m_workerGlobalScopeProxy;
87 87
88 // 'shadow page' - created to proxy loading requests from the worker. 88 // 'shadow page' - created to proxy loading requests from the worker.
89 // Both WebView and WebFrame objects are close()'ed (where they're 89 // Both WebView and WebFrame objects are close()'ed (where they're
90 // deref'ed) when this EmbeddedWorkerImpl is destructed, therefore they 90 // deref'ed) when this EmbeddedWorkerImpl is destructed, therefore they
91 // are guaranteed to exist while this object is around. 91 // are guaranteed to exist while this object is around.
92 WebView* m_webView; 92 WebView* m_webView;
93 WebFrame* m_mainFrame; 93 WebFrame* m_mainFrame;
94 94
95 bool m_askedToTerminate; 95 bool m_askedToTerminate;
96 }; 96 };
97 97
98 } // namespace blink 98 } // namespace blink
99 99
100 #endif // WebEmbeddedWorkerImpl_h 100 #endif // WebEmbeddedWorkerImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698