| 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" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 virtual int32_t Delete(ppapi::host::ReplyMessageContext context) OVERRIDE; | 39 virtual int32_t Delete(ppapi::host::ReplyMessageContext context) OVERRIDE; |
| 40 virtual int32_t Rename(ppapi::host::ReplyMessageContext context, | 40 virtual int32_t Rename(ppapi::host::ReplyMessageContext context, |
| 41 PepperFileRefHost* new_file_ref) OVERRIDE; | 41 PepperFileRefHost* new_file_ref) OVERRIDE; |
| 42 virtual int32_t Query(ppapi::host::ReplyMessageContext context) OVERRIDE; | 42 virtual int32_t Query(ppapi::host::ReplyMessageContext context) OVERRIDE; |
| 43 virtual int32_t ReadDirectoryEntries( | 43 virtual int32_t ReadDirectoryEntries( |
| 44 ppapi::host::ReplyMessageContext context) OVERRIDE; | 44 ppapi::host::ReplyMessageContext context) OVERRIDE; |
| 45 virtual int32_t GetAbsolutePath(ppapi::host::ReplyMessageContext context) | 45 virtual int32_t GetAbsolutePath(ppapi::host::ReplyMessageContext context) |
| 46 OVERRIDE; | 46 OVERRIDE; |
| 47 | 47 |
| 48 virtual fileapi::FileSystemURL GetFileSystemURL() const OVERRIDE; | 48 virtual fileapi::FileSystemURL GetFileSystemURL() const OVERRIDE; |
| 49 virtual std::string GetFileSystemURLSpec() const OVERRIDE; | |
| 50 virtual base::FilePath GetExternalPath() const OVERRIDE; | |
| 51 | 49 |
| 52 virtual int32_t CanRead() const OVERRIDE; | 50 virtual int32_t CanRead() const OVERRIDE; |
| 53 virtual int32_t CanWrite() const OVERRIDE; | 51 virtual int32_t CanWrite() const OVERRIDE; |
| 54 virtual int32_t CanCreate() const OVERRIDE; | 52 virtual int32_t CanCreate() const OVERRIDE; |
| 55 virtual int32_t CanReadWrite() const OVERRIDE; | 53 virtual int32_t CanReadWrite() const OVERRIDE; |
| 56 | 54 |
| 57 private: | 55 private: |
| 58 // Generic reply callback. | 56 // Generic reply callback. |
| 59 void DidFinish(ppapi::host::ReplyMessageContext reply_context, | 57 void DidFinish(ppapi::host::ReplyMessageContext reply_context, |
| 60 const IPC::Message& msg, | 58 const IPC::Message& msg, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 82 mutable fileapi::FileSystemURL fs_url_; | 80 mutable fileapi::FileSystemURL fs_url_; |
| 83 | 81 |
| 84 base::WeakPtrFactory<PepperInternalFileRefBackend> weak_factory_; | 82 base::WeakPtrFactory<PepperInternalFileRefBackend> weak_factory_; |
| 85 | 83 |
| 86 DISALLOW_COPY_AND_ASSIGN(PepperInternalFileRefBackend); | 84 DISALLOW_COPY_AND_ASSIGN(PepperInternalFileRefBackend); |
| 87 }; | 85 }; |
| 88 | 86 |
| 89 } // namespace content | 87 } // namespace content |
| 90 | 88 |
| 91 #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 |