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

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

Issue 468883002: Rename workerGlobalScopeDestroyed to workerThreadTerminated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/workers/WorkerMessagingProxy.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) 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // These methods come from worker context thread via WorkerObjectProxy 65 // These methods come from worker context thread via WorkerObjectProxy
66 // and are called on the worker object thread (e.g. main thread). 66 // and are called on the worker object thread (e.g. main thread).
67 void postMessageToWorkerObject(PassRefPtr<SerializedScriptValue>, PassOwnPtr <MessagePortChannelArray>); 67 void postMessageToWorkerObject(PassRefPtr<SerializedScriptValue>, PassOwnPtr <MessagePortChannelArray>);
68 void reportException(const String& errorMessage, int lineNumber, int columnN umber, const String& sourceURL); 68 void reportException(const String& errorMessage, int lineNumber, int columnN umber, const String& sourceURL);
69 void reportConsoleMessage(MessageSource, MessageLevel, const String& message , int lineNumber, const String& sourceURL); 69 void reportConsoleMessage(MessageSource, MessageLevel, const String& message , int lineNumber, const String& sourceURL);
70 void postMessageToPageInspector(const String&); 70 void postMessageToPageInspector(const String&);
71 void confirmMessageFromWorkerObject(bool hasPendingActivity); 71 void confirmMessageFromWorkerObject(bool hasPendingActivity);
72 void reportPendingActivity(bool hasPendingActivity); 72 void reportPendingActivity(bool hasPendingActivity);
73 void workerGlobalScopeClosed(); 73 void workerGlobalScopeClosed();
74 void workerGlobalScopeDestroyed(); 74 void workerThreadTerminated();
75 75
76 // Implementation of WorkerLoaderProxy. 76 // Implementation of WorkerLoaderProxy.
77 // These methods are called on different threads to schedule loading 77 // These methods are called on different threads to schedule loading
78 // requests and to send callbacks back to WorkerGlobalScope. 78 // requests and to send callbacks back to WorkerGlobalScope.
79 virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) OVERRIDE; 79 virtual void postTaskToLoader(PassOwnPtr<ExecutionContextTask>) OVERRIDE;
80 virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) O VERRIDE; 80 virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) O VERRIDE;
81 81
82 void workerThreadCreated(PassRefPtr<DedicatedWorkerThread>); 82 void workerThreadCreated(PassRefPtr<DedicatedWorkerThread>);
83 83
84 protected: 84 protected:
(...skipping 15 matching lines...) Expand all
100 100
101 Vector<OwnPtr<ExecutionContextTask> > m_queuedEarlyTasks; // Tasks are queue d here until there's a thread object created. 101 Vector<OwnPtr<ExecutionContextTask> > m_queuedEarlyTasks; // Tasks are queue d here until there's a thread object created.
102 WorkerGlobalScopeProxy::PageInspector* m_pageInspector; 102 WorkerGlobalScopeProxy::PageInspector* m_pageInspector;
103 103
104 OwnPtrWillBePersistent<WorkerClients> m_workerClients; 104 OwnPtrWillBePersistent<WorkerClients> m_workerClients;
105 }; 105 };
106 106
107 } // namespace blink 107 } // namespace blink
108 108
109 #endif // WorkerMessagingProxy_h 109 #endif // WorkerMessagingProxy_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/workers/WorkerMessagingProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698