OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_RENDERER_PEPPER_PEPPER_FILE_SYSTEM_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_FILE_SYSTEM_HOST_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_SYSTEM_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_FILE_SYSTEM_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 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class RendererPpapiHost; | 17 class RendererPpapiHost; |
18 | 18 |
19 class PepperFileSystemHost : | 19 class PepperFileSystemHost : |
20 public ppapi::host::ResourceHost, | 20 public ppapi::host::ResourceHost, |
21 public base::SupportsWeakPtr<PepperFileSystemHost> { | 21 public base::SupportsWeakPtr<PepperFileSystemHost> { |
22 public: | 22 public: |
23 PepperFileSystemHost(RendererPpapiHost* host, | 23 PepperFileSystemHost(RendererPpapiHost* host, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 bool opened_; // whether open is successful. | 56 bool opened_; // whether open is successful. |
57 GURL root_url_; | 57 GURL root_url_; |
58 bool called_open_; // whether open has been called. | 58 bool called_open_; // whether open has been called. |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemHost); | 60 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemHost); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace content | 63 } // namespace content |
64 | 64 |
65 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_SYSTEM_HOST_H_ | 65 #endif // CONTENT_RENDERER_PEPPER_PEPPER_FILE_SYSTEM_HOST_H_ |
OLD | NEW |