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

Side by Side Diff: chrome/worker/webworkerclient_proxy.h

Issue 1719007: Initializing an appcache host in a worker process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome/worker/webworker_stub_base.cc ('k') | chrome/worker/webworkerclient_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_WORKER_WEBWORKERCLIENT_PROXY_H_ 5 #ifndef CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_
6 #define CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ 6 #define CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual WebKit::WebWorker* createWorker(WebKit::WebWorkerClient* client); 64 virtual WebKit::WebWorker* createWorker(WebKit::WebWorkerClient* client);
65 65
66 virtual WebKit::WebNotificationPresenter* notificationPresenter() { 66 virtual WebKit::WebNotificationPresenter* notificationPresenter() {
67 // TODO(johnnyg): Notifications are not yet hooked up to workers. 67 // TODO(johnnyg): Notifications are not yet hooked up to workers.
68 // Coming soon. 68 // Coming soon.
69 NOTREACHED(); 69 NOTREACHED();
70 return NULL; 70 return NULL;
71 } 71 }
72 72
73 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( 73 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
74 WebKit::WebApplicationCacheHostClient*) { 74 WebKit::WebApplicationCacheHostClient* client);
75 // TODO(michaeln): Create and initialize an appcache host for our worker.
76 return NULL;
77 }
78 75
79 void EnsureWorkerContextTerminates(); 76 void EnsureWorkerContextTerminates();
80 77
81 private: 78 private:
82 bool Send(IPC::Message* message); 79 bool Send(IPC::Message* message);
83 80
84 int route_id_; 81 int route_id_;
82 int appcache_host_id_;
85 WebWorkerStubBase* stub_; 83 WebWorkerStubBase* stub_;
86 ScopedRunnableMethodFactory<WebWorkerClientProxy> kill_process_factory_; 84 ScopedRunnableMethodFactory<WebWorkerClientProxy> kill_process_factory_;
87 85
88 DISALLOW_COPY_AND_ASSIGN(WebWorkerClientProxy); 86 DISALLOW_COPY_AND_ASSIGN(WebWorkerClientProxy);
89 }; 87 };
90 88
91 #endif // CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ 89 #endif // CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/worker/webworker_stub_base.cc ('k') | chrome/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698