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

Side by Side Diff: content/worker/websharedworkerclient_proxy.h

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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/worker/websharedworker_stub.cc ('k') | content/worker/websharedworkerclient_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WORKER_WEBWORKERCLIENT_PROXY_H_ 5 #ifndef CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_
6 #define CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_ 6 #define CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ipc/ipc_channel.h" 10 #include "ipc/ipc_channel.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste m.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste m.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorkerClient .h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSharedWorkerClient .h"
13 13
14 namespace WebKit { 14 namespace WebKit {
15 class WebApplicationCacheHost; 15 class WebApplicationCacheHost;
16 class WebApplicationCacheHostClient; 16 class WebApplicationCacheHostClient;
17 class WebFrame; 17 class WebFrame;
18 } 18 }
19 19
20 namespace content {
21
20 class SharedWorkerDevToolsAgent; 22 class SharedWorkerDevToolsAgent;
21 class WebSharedWorkerStub; 23 class WebSharedWorkerStub;
22 24
23 // This class receives IPCs from the renderer and calls the WebCore::Worker 25 // This class receives IPCs from the renderer and calls the WebCore::Worker
24 // implementation (after the data types have been converted by glue code). It 26 // implementation (after the data types have been converted by glue code). It
25 // is also called by the worker code and converts these function calls into 27 // is also called by the worker code and converts these function calls into
26 // IPCs that are sent to the renderer, where they're converted back to function 28 // IPCs that are sent to the renderer, where they're converted back to function
27 // calls by WebWorkerProxy. 29 // calls by WebWorkerProxy.
28 class WebSharedWorkerClientProxy : public WebKit::WebSharedWorkerClient { 30 class WebSharedWorkerClientProxy : public WebKit::WebSharedWorkerClient {
29 public: 31 public:
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 93
92 int route_id_; 94 int route_id_;
93 int appcache_host_id_; 95 int appcache_host_id_;
94 WebSharedWorkerStub* stub_; 96 WebSharedWorkerStub* stub_;
95 base::WeakPtrFactory<WebSharedWorkerClientProxy> weak_factory_; 97 base::WeakPtrFactory<WebSharedWorkerClientProxy> weak_factory_;
96 SharedWorkerDevToolsAgent* devtools_agent_; 98 SharedWorkerDevToolsAgent* devtools_agent_;
97 99
98 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerClientProxy); 100 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerClientProxy);
99 }; 101 };
100 102
103 } // namespace content
104
101 #endif // CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_ 105 #endif // CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_
OLDNEW
« no previous file with comments | « content/worker/websharedworker_stub.cc ('k') | content/worker/websharedworkerclient_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698