Chromium Code Reviews| Index: content/browser/shared_worker/shared_worker_host.h |
| diff --git a/content/browser/shared_worker/shared_worker_host.h b/content/browser/shared_worker/shared_worker_host.h |
| index 53cc218669c7b387986bd33c8ce16eca12d5865c..76bd6887972304ff40fa1b9b1ea90bc9691e1b76 100644 |
| --- a/content/browser/shared_worker/shared_worker_host.h |
| +++ b/content/browser/shared_worker/shared_worker_host.h |
| @@ -9,6 +9,7 @@ |
| #include <vector> |
| #include "base/memory/scoped_ptr.h" |
| +#include "base/memory/weak_ptr.h" |
| #include "base/strings/string16.h" |
| #include "base/time/time.h" |
| #include "content/browser/shared_worker/shared_worker_message_filter.h" |
| @@ -64,7 +65,7 @@ class SharedWorkerHost { |
| const base::string16& display_name, |
| unsigned long estimated_size, |
| bool* result); |
| - void AllowFileSystem(const GURL& url, bool* result); |
| + void RequestFileSystemAccess(const GURL& url, IPC::Message* reply_msg); |
|
jabdelmalek
2014/06/24 21:23:31
ditto
Xi Han
2014/06/25 14:50:26
Done.
|
| void AllowIndexedDB(const GURL& url, |
| const base::string16& name, |
| bool* result); |
| @@ -118,9 +119,11 @@ class SharedWorkerHost { |
| void SetMessagePortID(SharedWorkerMessageFilter* filter, |
| int route_id, |
| int message_port_id); |
| - |
| + void RequestFileSystemAccessResponse(scoped_ptr<IPC::Message> reply_msg, |
|
jabdelmalek
2014/06/24 21:23:31
AllowFileSystemResponse
Xi Han
2014/06/25 14:50:26
Done.
|
| + bool allowed); |
| scoped_ptr<SharedWorkerInstance> instance_; |
| scoped_refptr<WorkerDocumentSet> worker_document_set_; |
| + base::WeakPtrFactory<SharedWorkerHost> weak_factory_; |
| FilterList filters_; |
| SharedWorkerMessageFilter* container_render_filter_; |
| int worker_process_id_; |