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

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

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 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
« 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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/renderer/webworker_base.h" 9 #include "chrome/renderer/webworker_base.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
11 #include "webkit/api/public/WebSharedWorker.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebSharedWorker.h"
12 12
13 class ChildThread; 13 class ChildThread;
14 14
15 // Implementation of the WebSharedWorker APIs. This object is intended to only 15 // Implementation of the WebSharedWorker APIs. This object is intended to only
16 // live long enough to allow the caller to send a "connect" event to the worker 16 // live long enough to allow the caller to send a "connect" event to the worker
17 // thread. Once the connect event has been sent, all future communication will 17 // thread. Once the connect event has been sent, all future communication will
18 // happen via the WebMessagePortChannel, and the WebSharedWorker instance will 18 // happen via the WebMessagePortChannel, and the WebSharedWorker instance will
19 // be freed. 19 // be freed.
20 class WebSharedWorkerProxy : public WebKit::WebSharedWorker, 20 class WebSharedWorkerProxy : public WebKit::WebSharedWorker,
21 private WebWorkerBase { 21 private WebWorkerBase {
(...skipping 18 matching lines...) Expand all
40 40
41 private: 41 private:
42 void OnWorkerCreated(); 42 void OnWorkerCreated();
43 43
44 ConnectListener* m_connectListener; 44 ConnectListener* m_connectListener;
45 45
46 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); 46 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy);
47 }; 47 };
48 48
49 #endif // CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_ 49 #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