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

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

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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/shell/shell_browser_main.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEBSHAREDWORKER_PROXY_H_ 5 #ifndef CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_
6 #define CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ 6 #define CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 29 matching lines...) Expand all
40 virtual void startWorkerContext(const WebKit::WebURL& script_url, 40 virtual void startWorkerContext(const WebKit::WebURL& script_url,
41 const WebKit::WebString& name, 41 const WebKit::WebString& name,
42 const WebKit::WebString& user_agent, 42 const WebKit::WebString& user_agent,
43 const WebKit::WebString& source_code, 43 const WebKit::WebString& source_code,
44 long long script_resource_appcache_id); 44 long long script_resource_appcache_id);
45 virtual void terminateWorkerContext(); 45 virtual void terminateWorkerContext();
46 virtual void clientDestroyed(); 46 virtual void clientDestroyed();
47 47
48 private: 48 private:
49 // IPC::Channel::Listener implementation. 49 // IPC::Channel::Listener implementation.
50 virtual bool OnMessageReceived(const IPC::Message& message); 50 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
51 51
52 // Returns true if the worker is running (can send messages to it). 52 // Returns true if the worker is running (can send messages to it).
53 bool IsStarted(); 53 bool IsStarted();
54 54
55 // Disconnects the worker (stops listening for incoming messages). 55 // Disconnects the worker (stops listening for incoming messages).
56 void Disconnect(); 56 void Disconnect();
57 57
58 // Sends a message to the worker thread (forwarded via the RenderViewHost). 58 // Sends a message to the worker thread (forwarded via the RenderViewHost).
59 // If WorkerStarted() has not yet been called, message is queued. 59 // If WorkerStarted() has not yet been called, message is queued.
60 bool Send(IPC::Message*); 60 bool Send(IPC::Message*);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // The id for the placeholder worker instance we've stored on the 99 // The id for the placeholder worker instance we've stored on the
100 // browser process (we need to pass this same route id back in when creating 100 // browser process (we need to pass this same route id back in when creating
101 // the worker). 101 // the worker).
102 int pending_route_id_; 102 int pending_route_id_;
103 ConnectListener* connect_listener_; 103 ConnectListener* connect_listener_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); 105 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy);
106 }; 106 };
107 107
108 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ 108 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.h ('k') | content/shell/shell_browser_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698