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

Side by Side Diff: chrome/renderer/websharedworker_proxy.h

Issue 5978003: Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 12 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 | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/renderer/websharedworker_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_RENDERER_WEBSHAREDWORKER_PROXY_H_ 5 #ifndef CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_
6 #define CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_ 6 #define CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/renderer/webworker_base.h" 10 #include "chrome/renderer/webworker_base.h"
(...skipping 23 matching lines...) Expand all
34 ConnectListener* listener); 34 ConnectListener* listener);
35 virtual void startWorkerContext(const WebKit::WebURL& script_url, 35 virtual void startWorkerContext(const WebKit::WebURL& script_url,
36 const WebKit::WebString& name, 36 const WebKit::WebString& name,
37 const WebKit::WebString& user_agent, 37 const WebKit::WebString& user_agent,
38 const WebKit::WebString& source_code, 38 const WebKit::WebString& source_code,
39 long long script_resource_appcache_id); 39 long long script_resource_appcache_id);
40 virtual void terminateWorkerContext(); 40 virtual void terminateWorkerContext();
41 virtual void clientDestroyed(); 41 virtual void clientDestroyed();
42 42
43 // IPC::Channel::Listener implementation. 43 // IPC::Channel::Listener implementation.
44 virtual void OnMessageReceived(const IPC::Message& message); 44 virtual bool OnMessageReceived(const IPC::Message& message);
45 45
46 private: 46 private:
47 void OnWorkerCreated(); 47 void OnWorkerCreated();
48 48
49 // The id for the placeholder worker instance we've stored on the 49 // The id for the placeholder worker instance we've stored on the
50 // browser process (we need to pass this same route id back in when creating 50 // browser process (we need to pass this same route id back in when creating
51 // the worker). 51 // the worker).
52 int pending_route_id_; 52 int pending_route_id_;
53 ConnectListener* connect_listener_; 53 ConnectListener* connect_listener_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); 55 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy);
56 }; 56 };
57 57
58 #endif // CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_ 58 #endif // CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/renderer/websharedworker_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698