| 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_EXTERNAL_FILE_REF_BACKEND_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_EXTERNAL_FILE_REF_BACKEND_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_EXTERNAL_FILE_REF_BACKEND_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_EXTERNAL_FILE_REF_BACKEND_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 PP_Time last_modified_time) OVERRIDE; | 34 PP_Time last_modified_time) OVERRIDE; |
| 35 virtual int32_t Delete(ppapi::host::ReplyMessageContext context) OVERRIDE; | 35 virtual int32_t Delete(ppapi::host::ReplyMessageContext context) OVERRIDE; |
| 36 virtual int32_t Rename(ppapi::host::ReplyMessageContext context, | 36 virtual int32_t Rename(ppapi::host::ReplyMessageContext context, |
| 37 PepperFileRefHost* new_file_ref) OVERRIDE; | 37 PepperFileRefHost* new_file_ref) OVERRIDE; |
| 38 virtual int32_t Query(ppapi::host::ReplyMessageContext context) OVERRIDE; | 38 virtual int32_t Query(ppapi::host::ReplyMessageContext context) OVERRIDE; |
| 39 virtual int32_t ReadDirectoryEntries( | 39 virtual int32_t ReadDirectoryEntries( |
| 40 ppapi::host::ReplyMessageContext context) OVERRIDE; | 40 ppapi::host::ReplyMessageContext context) OVERRIDE; |
| 41 virtual int32_t GetAbsolutePath(ppapi::host::ReplyMessageContext context) | 41 virtual int32_t GetAbsolutePath(ppapi::host::ReplyMessageContext context) |
| 42 OVERRIDE; | 42 OVERRIDE; |
| 43 virtual fileapi::FileSystemURL GetFileSystemURL() const OVERRIDE; | 43 virtual fileapi::FileSystemURL GetFileSystemURL() const OVERRIDE; |
| 44 virtual std::string GetFileSystemURLSpec() const OVERRIDE; | |
| 45 virtual base::FilePath GetExternalPath() const OVERRIDE; | |
| 46 | 44 |
| 47 virtual int32_t CanRead() const OVERRIDE; | 45 virtual int32_t CanRead() const OVERRIDE; |
| 48 virtual int32_t CanWrite() const OVERRIDE; | 46 virtual int32_t CanWrite() const OVERRIDE; |
| 49 virtual int32_t CanCreate() const OVERRIDE; | 47 virtual int32_t CanCreate() const OVERRIDE; |
| 50 virtual int32_t CanReadWrite() const OVERRIDE; | 48 virtual int32_t CanReadWrite() const OVERRIDE; |
| 51 | 49 |
| 52 private: | 50 private: |
| 53 // Generic reply callback. | 51 // Generic reply callback. |
| 54 void DidFinish(ppapi::host::ReplyMessageContext reply_context, | 52 void DidFinish(ppapi::host::ReplyMessageContext reply_context, |
| 55 const IPC::Message& msg, | 53 const IPC::Message& msg, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 68 scoped_refptr<base::TaskRunner> task_runner_; | 66 scoped_refptr<base::TaskRunner> task_runner_; |
| 69 | 67 |
| 70 base::WeakPtrFactory<PepperExternalFileRefBackend> weak_factory_; | 68 base::WeakPtrFactory<PepperExternalFileRefBackend> weak_factory_; |
| 71 | 69 |
| 72 DISALLOW_COPY_AND_ASSIGN(PepperExternalFileRefBackend); | 70 DISALLOW_COPY_AND_ASSIGN(PepperExternalFileRefBackend); |
| 73 }; | 71 }; |
| 74 | 72 |
| 75 } // namespace content | 73 } // namespace content |
| 76 | 74 |
| 77 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_EXTERNAL_FILE_REF_BACKEND
_H_ | 75 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_EXTERNAL_FILE_REF_BACKEND
_H_ |
| OLD | NEW |