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

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

Issue 1175323002: Rename WebSharedWorkerImpl::stopWorkerThread() to terminateWorkerThread() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: (rebase) Created 5 years, 6 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/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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 class Loader; 110 class Loader;
111 111
112 virtual ~WebSharedWorkerImpl(); 112 virtual ~WebSharedWorkerImpl();
113 113
114 WebSharedWorkerClient* client() { return m_client->get(); } 114 WebSharedWorkerClient* client() { return m_client->get(); }
115 115
116 void setWorkerThread(PassRefPtr<WorkerThread> thread) { m_workerThread = thr ead; } 116 void setWorkerThread(PassRefPtr<WorkerThread> thread) { m_workerThread = thr ead; }
117 WorkerThread* workerThread() { return m_workerThread.get(); } 117 WorkerThread* workerThread() { return m_workerThread.get(); }
118 118
119 // Shuts down the worker thread. 119 // Shuts down the worker thread.
120 void stopWorkerThread(); 120 void terminateWorkerThread();
121 121
122 // Creates the shadow loader used for worker network requests. 122 // Creates the shadow loader used for worker network requests.
123 void initializeLoader(); 123 void initializeLoader();
124 124
125 void loadShadowPage(); 125 void loadShadowPage();
126 void didReceiveScriptLoaderResponse(); 126 void didReceiveScriptLoaderResponse();
127 void onScriptLoaderFinished(); 127 void onScriptLoaderFinished();
128 128
129 static void connectTask(PassOwnPtr<WebMessagePortChannel>, ExecutionContext* ); 129 static void connectTask(PassOwnPtr<WebMessagePortChannel>, ExecutionContext* );
130 // Tasks that are run on the main thread. 130 // Tasks that are run on the main thread.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 RefPtr<WorkerLoaderProxy> m_loaderProxy; 167 RefPtr<WorkerLoaderProxy> m_loaderProxy;
168 168
169 WebURL m_url; 169 WebURL m_url;
170 WebString m_name; 170 WebString m_name;
171 }; 171 };
172 172
173 } // namespace blink 173 } // namespace blink
174 174
175 #endif // WebSharedWorkerImpl_h 175 #endif // WebSharedWorkerImpl_h
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698