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

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

Issue 1041053005: Oilpan: fix WorkerThreadStartupData finalization handling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add comment clarifying use of CrossThreadPersistent<> Created 5 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 | Annotate | Revision Log
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 void confirmMessageFromWorkerObject(bool hasPendingActivity); 73 void confirmMessageFromWorkerObject(bool hasPendingActivity);
74 void reportPendingActivity(bool hasPendingActivity); 74 void reportPendingActivity(bool hasPendingActivity);
75 void workerGlobalScopeClosed(); 75 void workerGlobalScopeClosed();
76 void workerThreadTerminated(); 76 void workerThreadTerminated();
77 77
78 void workerThreadCreated(PassRefPtr<WorkerThread>); 78 void workerThreadCreated(PassRefPtr<WorkerThread>);
79 79
80 protected: 80 protected:
81 virtual ~WorkerMessagingProxy(); 81 virtual ~WorkerMessagingProxy();
82 82
83 virtual PassRefPtr<WorkerThread> createWorkerThread(double originTime, PassO wnPtrWillBeRawPtr<WorkerThreadStartupData>); 83 virtual PassRefPtr<WorkerThread> createWorkerThread(double originTime, PassO wnPtr<WorkerThreadStartupData>);
84 84
85 PassRefPtr<WorkerLoaderProxy> loaderProxy() { return m_loaderProxy; } 85 PassRefPtr<WorkerLoaderProxy> loaderProxy() { return m_loaderProxy; }
86 WorkerObjectProxy& workerObjectProxy() { return *m_workerObjectProxy.get(); } 86 WorkerObjectProxy& workerObjectProxy() { return *m_workerObjectProxy.get(); }
87 87
88 private: 88 private:
89 static void workerObjectDestroyedInternal(ExecutionContext*, WorkerMessaging Proxy*); 89 static void workerObjectDestroyedInternal(ExecutionContext*, WorkerMessaging Proxy*);
90 void terminateInternally(); 90 void terminateInternally();
91 91
92 // WorkerLoaderProxyProvider 92 // WorkerLoaderProxyProvider
93 // These methods are called on different threads to schedule loading 93 // These methods are called on different threads to schedule loading
(...skipping 16 matching lines...) Expand all
110 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy; 110 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy;
111 111
112 OwnPtrWillBePersistent<WorkerClients> m_workerClients; 112 OwnPtrWillBePersistent<WorkerClients> m_workerClients;
113 113
114 RefPtr<WorkerLoaderProxy> m_loaderProxy; 114 RefPtr<WorkerLoaderProxy> m_loaderProxy;
115 }; 115 };
116 116
117 } // namespace blink 117 } // namespace blink
118 118
119 #endif // WorkerMessagingProxy_h 119 #endif // WorkerMessagingProxy_h
OLDNEW
« no previous file with comments | « Source/core/workers/SharedWorkerThread.cpp ('k') | Source/core/workers/WorkerMessagingProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698