Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_SHARED_WORKER_SHARED_WORKER_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_MESSAGE_FILTER_H_ |
| 6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #include "content/browser/worker_host/worker_storage_partition.h" | 8 #include "content/browser/worker_host/worker_storage_partition.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "content/public/browser/browser_message_filter.h" | 10 #include "content/public/browser/browser_message_filter.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 void OnAllowFileSystem(int worker_route_id, | 61 void OnAllowFileSystem(int worker_route_id, |
| 62 const GURL& url, | 62 const GURL& url, |
| 63 bool* result); | 63 bool* result); |
| 64 void OnAllowIndexedDB(int worker_route_id, | 64 void OnAllowIndexedDB(int worker_route_id, |
| 65 const GURL& url, | 65 const GURL& url, |
| 66 const base::string16& name, | 66 const base::string16& name, |
| 67 bool* result); | 67 bool* result); |
| 68 | 68 |
| 69 const int render_process_id_; | 69 const int render_process_id_; |
| 70 ResourceContext* const resource_context_; | 70 ResourceContext* const resource_context_; |
| 71 const WorkerStoragePartition partition_; | 71 const WorkerStoragePartitionId partition_id_; |
|
michaeln
2014/04/24 08:04:32
The bug has to do with the devtools holding onto r
horo
2014/04/24 08:23:15
Done.
Oh yes.
SharedWorkerMessageFilter should hol
| |
| 72 MessagePortMessageFilter* const message_port_message_filter_; | 72 MessagePortMessageFilter* const message_port_message_filter_; |
| 73 | 73 |
| 74 DISALLOW_IMPLICIT_CONSTRUCTORS(SharedWorkerMessageFilter); | 74 DISALLOW_IMPLICIT_CONSTRUCTORS(SharedWorkerMessageFilter); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace content | 77 } // namespace content |
| 78 | 78 |
| 79 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_MESSAGE_FILTER_H_ | 79 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_MESSAGE_FILTER_H_ |
| OLD | NEW |