OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_ |
6 #define CHROME_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "ipc/ipc_channel_proxy.h" | 10 #include "ipc/ipc_channel_proxy.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 private: | 29 private: |
30 virtual ~ChromeWorkerMessageFilter(); | 30 virtual ~ChromeWorkerMessageFilter(); |
31 | 31 |
32 void OnAllowDatabase(int worker_route_id, | 32 void OnAllowDatabase(int worker_route_id, |
33 const GURL& url, | 33 const GURL& url, |
34 const string16& name, | 34 const string16& name, |
35 const string16& display_name, | 35 const string16& display_name, |
36 unsigned long estimated_size, | 36 unsigned long estimated_size, |
37 bool* result); | 37 bool* result); |
| 38 void OnAllowFileSystem(int worker_route_id, |
| 39 const GURL& url, |
| 40 bool* result); |
38 | 41 |
39 WorkerProcessHost* process_; | 42 WorkerProcessHost* process_; |
40 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 43 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
41 | 44 |
42 DISALLOW_COPY_AND_ASSIGN(ChromeWorkerMessageFilter); | 45 DISALLOW_COPY_AND_ASSIGN(ChromeWorkerMessageFilter); |
43 }; | 46 }; |
44 | 47 |
45 #endif // CHROME_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_ | 48 #endif // CHROME_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_ |
OLD | NEW |