Chromium Code Reviews| 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 10 matching lines...) Expand all Loading... | |
| 21 // Implementations of FileRef operations for external filesystems. | 21 // Implementations of FileRef operations for external filesystems. |
| 22 class PepperExternalFileRefBackend : public PepperFileRefBackend { | 22 class PepperExternalFileRefBackend : public PepperFileRefBackend { |
| 23 public: | 23 public: |
| 24 PepperExternalFileRefBackend(ppapi::host::PpapiHost* host, | 24 PepperExternalFileRefBackend(ppapi::host::PpapiHost* host, |
| 25 int render_process_id, | 25 int render_process_id, |
| 26 const base::FilePath& path); | 26 const base::FilePath& path); |
| 27 virtual ~PepperExternalFileRefBackend(); | 27 virtual ~PepperExternalFileRefBackend(); |
| 28 | 28 |
| 29 // PepperFileRefBackend overrides. | 29 // PepperFileRefBackend overrides. |
| 30 virtual int32_t MakeDirectory(ppapi::host::ReplyMessageContext context, | 30 virtual int32_t MakeDirectory(ppapi::host::ReplyMessageContext context, |
| 31 bool make_ancestors) OVERRIDE; | 31 int32_t make_directory_flags) OVERRIDE; |
|
yzshen1
2014/01/07 17:59:23
wrong indent.
nhiroki
2014/01/08 06:12:33
Done.
| |
| 32 virtual int32_t Touch(ppapi::host::ReplyMessageContext context, | 32 virtual int32_t Touch(ppapi::host::ReplyMessageContext context, |
| 33 PP_Time last_accessed_time, | 33 PP_Time last_accessed_time, |
| 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) |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 67 scoped_refptr<base::TaskRunner> task_runner_; | 67 scoped_refptr<base::TaskRunner> task_runner_; |
| 68 | 68 |
| 69 base::WeakPtrFactory<PepperExternalFileRefBackend> weak_factory_; | 69 base::WeakPtrFactory<PepperExternalFileRefBackend> weak_factory_; |
| 70 | 70 |
| 71 DISALLOW_COPY_AND_ASSIGN(PepperExternalFileRefBackend); | 71 DISALLOW_COPY_AND_ASSIGN(PepperExternalFileRefBackend); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace content | 74 } // namespace content |
| 75 | 75 |
| 76 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_EXTERNAL_FILE_REF_BACKEND _H_ | 76 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_EXTERNAL_FILE_REF_BACKEND _H_ |
| OLD | NEW |