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

Side by Side Diff: chrome/worker/webworkerclient_proxy.h

Issue 112049: Prevent a worker that loops forever from preventing shutdown of the worker pr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | chrome/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ 5 #ifndef CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_
6 #define CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ 6 #define CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/common/ipc_channel.h" 9 #include "chrome/common/ipc_channel.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual WebKit::WebWorker* createWorker(WebKit::WebWorkerClient* client); 43 virtual WebKit::WebWorker* createWorker(WebKit::WebWorkerClient* client);
44 44
45 // IPC::Channel::Listener implementation. 45 // IPC::Channel::Listener implementation.
46 virtual void OnMessageReceived(const IPC::Message& message); 46 virtual void OnMessageReceived(const IPC::Message& message);
47 47
48 private: 48 private:
49 ~WebWorkerClientProxy (); 49 ~WebWorkerClientProxy ();
50 50
51 bool Send(IPC::Message* message); 51 bool Send(IPC::Message* message);
52 52
53 void OnTerminateWorkerContext();
54
53 // The source url for this worker. 55 // The source url for this worker.
54 GURL url_; 56 GURL url_;
55 57
56 int route_id_; 58 int route_id_;
57 59
58 WebKit::WebWorker* impl_; 60 WebKit::WebWorker* impl_;
59 61
60 DISALLOW_COPY_AND_ASSIGN(WebWorkerClientProxy); 62 DISALLOW_COPY_AND_ASSIGN(WebWorkerClientProxy);
61 }; 63 };
62 64
63 #endif // CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ 65 #endif // CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698