OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "googleurl/src/gurl.h" | |
11 #include "ppapi/c/pp_file_info.h" | 10 #include "ppapi/c/pp_file_info.h" |
12 #include "ppapi/host/host_message_context.h" | 11 #include "ppapi/host/host_message_context.h" |
13 #include "ppapi/host/resource_host.h" | 12 #include "ppapi/host/resource_host.h" |
| 13 #include "url/gurl.h" |
14 #include "webkit/browser/fileapi/file_system_context.h" | 14 #include "webkit/browser/fileapi/file_system_context.h" |
15 #include "webkit/common/fileapi/file_system_types.h" | 15 #include "webkit/common/fileapi/file_system_types.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 class BrowserPpapiHost; | 19 class BrowserPpapiHost; |
20 | 20 |
21 class PepperFileSystemBrowserHost : | 21 class PepperFileSystemBrowserHost : |
22 public ppapi::host::ResourceHost, | 22 public ppapi::host::ResourceHost, |
23 public base::SupportsWeakPtr<PepperFileSystemBrowserHost> { | 23 public base::SupportsWeakPtr<PepperFileSystemBrowserHost> { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 GURL root_url_; | 67 GURL root_url_; |
68 scoped_refptr<fileapi::FileSystemContext> fs_context_; | 68 scoped_refptr<fileapi::FileSystemContext> fs_context_; |
69 bool called_open_; // whether open has been called. | 69 bool called_open_; // whether open has been called. |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost); | 71 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace content | 74 } // namespace content |
75 | 75 |
76 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_
H_ | 76 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_
H_ |
OLD | NEW |