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_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ | 5 #ifndef CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ |
6 #define CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ | 6 #define CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 scoped_refptr<fileapi::SandboxedFileSystemContext> context_; | 87 scoped_refptr<fileapi::SandboxedFileSystemContext> context_; |
88 | 88 |
89 // Used to look up permissions. | 89 // Used to look up permissions. |
90 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; | 90 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; |
91 | 91 |
92 // Keeps ongoing file system operations. | 92 // Keeps ongoing file system operations. |
93 typedef IDMap<fileapi::SandboxedFileSystemOperation> OperationsMap; | 93 typedef IDMap<fileapi::SandboxedFileSystemOperation> OperationsMap; |
94 OperationsMap operations_; | 94 OperationsMap operations_; |
95 | 95 |
96 // This holds the URLRequestContextGetter until Init() can be called from the | 96 // This holds the URLRequestContextGetter until Init() can be called from the |
97 // IO thread, which will extract the URLRequestContext from it. | 97 // IO thread, which will extract the net::URLRequestContext from it. |
98 scoped_refptr<URLRequestContextGetter> request_context_getter_; | 98 scoped_refptr<URLRequestContextGetter> request_context_getter_; |
99 scoped_refptr<net::URLRequestContext> request_context_; | 99 scoped_refptr<net::URLRequestContext> request_context_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost); | 101 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost); |
102 }; | 102 }; |
103 | 103 |
104 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ | 104 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ |
OLD | NEW |