OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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" |
11 #include "base/id_map.h" | 11 #include "base/id_map.h" |
12 #include "chrome/browser/browser_message_filter.h" | 12 #include "chrome/browser/browser_message_filter.h" |
13 #include "webkit/fileapi/file_system_types.h" | 13 #include "webkit/fileapi/file_system_types.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class Time; | 16 class Time; |
17 } | 17 } |
18 | 18 |
19 class ChromeURLRequestContext; | 19 class ChromeURLRequestContext; |
20 class BrowserFileSystemContext; | 20 class BrowserFileSystemContext; |
21 class FilePath; | 21 class FilePath; |
22 class GURL; | 22 class GURL; |
23 class HostContentSettingsMap; | 23 class HostContentSettingsMap; |
24 class Profile; | 24 class Profile; |
25 class Receiver; | 25 class Receiver; |
26 class ResourceMessageFilter; | 26 class RenderMessageFilter; |
27 class URLRequestContext; | 27 class URLRequestContext; |
28 class URLRequestContextGetter; | 28 class URLRequestContextGetter; |
29 | 29 |
30 namespace fileapi { | 30 namespace fileapi { |
31 class SandboxedFileSystemOperation; | 31 class SandboxedFileSystemOperation; |
32 } | 32 } |
33 | 33 |
34 class FileSystemDispatcherHost : public BrowserMessageFilter { | 34 class FileSystemDispatcherHost : public BrowserMessageFilter { |
35 public: | 35 public: |
36 // Used by the renderer. | 36 // Used by the renderer. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 // This holds the URLRequestContextGetter until Init() can be called from the | 93 // This holds the URLRequestContextGetter until Init() can be called from the |
94 // IO thread, which will extract the URLRequestContext from it. | 94 // IO thread, which will extract the URLRequestContext from it. |
95 scoped_refptr<URLRequestContextGetter> request_context_getter_; | 95 scoped_refptr<URLRequestContextGetter> request_context_getter_; |
96 scoped_refptr<URLRequestContext> request_context_; | 96 scoped_refptr<URLRequestContext> request_context_; |
97 | 97 |
98 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost); | 98 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost); |
99 }; | 99 }; |
100 | 100 |
101 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ | 101 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ |
OLD | NEW |