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

Side by Side Diff: content/renderer/webworker_proxy.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 | « content/renderer/webplugin_delegate_proxy.h ('k') | content/worker/worker_thread.h » ('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 CONTENT_RENDERER_WEBWORKER_PROXY_H_ 5 #ifndef CONTENT_RENDERER_WEBWORKER_PROXY_H_
6 #define CONTENT_RENDERER_WEBWORKER_PROXY_H_ 6 #define CONTENT_RENDERER_WEBWORKER_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 // to the glue. This class converts function calls to IPC messages that are 22 // to the glue. This class converts function calls to IPC messages that are
23 // dispatched in the worker process by WebWorkerClientProxy. It also receives 23 // dispatched in the worker process by WebWorkerClientProxy. It also receives
24 // IPC messages from WebWorkerClientProxy which it converts to function calls to 24 // IPC messages from WebWorkerClientProxy which it converts to function calls to
25 // WebWorkerClient. 25 // WebWorkerClient.
26 class WebWorkerProxy : public WebKit::WebWorker, private WebWorkerBase { 26 class WebWorkerProxy : public WebKit::WebWorker, private WebWorkerBase {
27 public: 27 public:
28 WebWorkerProxy(WebKit::WebWorkerClient* client, 28 WebWorkerProxy(WebKit::WebWorkerClient* client,
29 ChildThread* child_thread, 29 ChildThread* child_thread,
30 int render_view_route_id, 30 int render_view_route_id,
31 int parent_appcache_host_id); 31 int parent_appcache_host_id);
32 ~WebWorkerProxy(); 32 virtual ~WebWorkerProxy();
33 33
34 // WebWorker implementation. 34 // WebWorker implementation.
35 virtual void startWorkerContext(const WebKit::WebURL& script_url, 35 virtual void startWorkerContext(const WebKit::WebURL& script_url,
36 const WebKit::WebString& user_agent, 36 const WebKit::WebString& user_agent,
37 const WebKit::WebString& source_code); 37 const WebKit::WebString& source_code);
38 virtual void terminateWorkerContext(); 38 virtual void terminateWorkerContext();
39 virtual void postMessageToWorkerContext( 39 virtual void postMessageToWorkerContext(
40 const WebKit::WebString& message, 40 const WebKit::WebString& message,
41 const WebKit::WebMessagePortChannelArray& channel_array); 41 const WebKit::WebMessagePortChannelArray& channel_array);
42 virtual void workerObjectDestroyed(); 42 virtual void workerObjectDestroyed();
(...skipping 14 matching lines...) Expand all
57 57
58 58
59 // Used to communicate to the WebCore::Worker object in response to IPC 59 // Used to communicate to the WebCore::Worker object in response to IPC
60 // messages. 60 // messages.
61 WebKit::WebWorkerClient* client_; 61 WebKit::WebWorkerClient* client_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(WebWorkerProxy); 63 DISALLOW_COPY_AND_ASSIGN(WebWorkerProxy);
64 }; 64 };
65 65
66 #endif // CONTENT_RENDERER_WEBWORKER_PROXY_H_ 66 #endif // CONTENT_RENDERER_WEBWORKER_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.h ('k') | content/worker/worker_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698