| 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 <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "content/browser/renderer_host/pepper/quota_reservation.h" | 15 #include "content/browser/renderer_host/pepper/quota_reservation.h" |
| 16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
| 17 #include "ppapi/c/pp_file_info.h" | 17 #include "ppapi/c/pp_file_info.h" |
| 18 #include "ppapi/c/private/ppb_isolated_file_system_private.h" | 18 #include "ppapi/c/private/ppb_isolated_file_system_private.h" |
| 19 #include "ppapi/host/host_message_context.h" | 19 #include "ppapi/host/host_message_context.h" |
| 20 #include "ppapi/host/resource_host.h" | 20 #include "ppapi/host/resource_host.h" |
| 21 #include "ppapi/shared_impl/file_growth.h" | 21 #include "ppapi/shared_impl/file_growth.h" |
| 22 #include "storage/browser/fileapi/file_system_context.h" |
| 22 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 23 #include "webkit/browser/fileapi/file_system_context.h" | |
| 24 | 24 |
| 25 namespace content { | 25 namespace content { |
| 26 | 26 |
| 27 class BrowserPpapiHost; | 27 class BrowserPpapiHost; |
| 28 class PepperFileIOHost; | 28 class PepperFileIOHost; |
| 29 | 29 |
| 30 class CONTENT_EXPORT PepperFileSystemBrowserHost | 30 class CONTENT_EXPORT PepperFileSystemBrowserHost |
| 31 : public ppapi::host::ResourceHost, | 31 : public ppapi::host::ResourceHost, |
| 32 public base::SupportsWeakPtr<PepperFileSystemBrowserHost> { | 32 public base::SupportsWeakPtr<PepperFileSystemBrowserHost> { |
| 33 public: | 33 public: |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 std::string fsid_; // used only for isolated filesystems. | 165 std::string fsid_; // used only for isolated filesystems. |
| 166 | 166 |
| 167 base::WeakPtrFactory<PepperFileSystemBrowserHost> weak_factory_; | 167 base::WeakPtrFactory<PepperFileSystemBrowserHost> weak_factory_; |
| 168 | 168 |
| 169 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost); | 169 DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost); |
| 170 }; | 170 }; |
| 171 | 171 |
| 172 } // namespace content | 172 } // namespace content |
| 173 | 173 |
| 174 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_
H_ | 174 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FILE_SYSTEM_BROWSER_HOST_
H_ |
| OLD | NEW |