| 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_INTERNAL_FILE_REF_BACKEND_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_INTERNAL_FILE_REF_BACKEND_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_INTERNAL_FILE_REF_BACKEND_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_INTERNAL_FILE_REF_BACKEND_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "content/browser/renderer_host/pepper/pepper_file_ref_host.h" | 10 #include "content/browser/renderer_host/pepper/pepper_file_ref_host.h" |
| 11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "ppapi/c/pp_time.h" | 13 #include "ppapi/c/pp_time.h" |
| 14 #include "ppapi/host/ppapi_host.h" | 14 #include "ppapi/host/ppapi_host.h" |
| 15 #include "webkit/browser/fileapi/file_system_context.h" | 15 #include "storage/browser/fileapi/file_system_context.h" |
| 16 #include "webkit/browser/fileapi/file_system_operation.h" | 16 #include "storage/browser/fileapi/file_system_operation.h" |
| 17 #include "webkit/browser/fileapi/file_system_url.h" | 17 #include "storage/browser/fileapi/file_system_url.h" |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 | 20 |
| 21 class PepperFileSystemBrowserHost; | 21 class PepperFileSystemBrowserHost; |
| 22 | 22 |
| 23 // Implementations of FileRef operations for internal filesystems. | 23 // Implementations of FileRef operations for internal filesystems. |
| 24 class PepperInternalFileRefBackend : public PepperFileRefBackend { | 24 class PepperInternalFileRefBackend : public PepperFileRefBackend { |
| 25 public: | 25 public: |
| 26 PepperInternalFileRefBackend( | 26 PepperInternalFileRefBackend( |
| 27 ppapi::host::PpapiHost* host, | 27 ppapi::host::PpapiHost* host, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 mutable storage::FileSystemURL fs_url_; | 80 mutable storage::FileSystemURL fs_url_; |
| 81 | 81 |
| 82 base::WeakPtrFactory<PepperInternalFileRefBackend> weak_factory_; | 82 base::WeakPtrFactory<PepperInternalFileRefBackend> weak_factory_; |
| 83 | 83 |
| 84 DISALLOW_COPY_AND_ASSIGN(PepperInternalFileRefBackend); | 84 DISALLOW_COPY_AND_ASSIGN(PepperInternalFileRefBackend); |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace content | 87 } // namespace content |
| 88 | 88 |
| 89 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_INTERNAL_FILE_REF_BACKEND
_H_ | 89 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_INTERNAL_FILE_REF_BACKEND
_H_ |
| OLD | NEW |