OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 9 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
10 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 10 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 bool exclusive, | 62 bool exclusive, |
63 bool recursive, | 63 bool recursive, |
64 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 64 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
65 virtual void DeleteEntry( | 65 virtual void DeleteEntry( |
66 const base::FilePath& entry_path, | 66 const base::FilePath& entry_path, |
67 bool recursive, | 67 bool recursive, |
68 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 68 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
69 virtual void CreateFile( | 69 virtual void CreateFile( |
70 const base::FilePath& file_path, | 70 const base::FilePath& file_path, |
71 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 71 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
| 72 virtual void CopyEntry( |
| 73 const base::FilePath& source_path, |
| 74 const base::FilePath& target_path, |
| 75 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
72 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; | 76 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; |
73 virtual RequestManager* GetRequestManager() OVERRIDE; | 77 virtual RequestManager* GetRequestManager() OVERRIDE; |
74 virtual base::WeakPtr<ProvidedFileSystemInterface> GetWeakPtr() OVERRIDE; | 78 virtual base::WeakPtr<ProvidedFileSystemInterface> GetWeakPtr() OVERRIDE; |
75 | 79 |
76 private: | 80 private: |
77 Profile* profile_; // Not owned. | 81 Profile* profile_; // Not owned. |
78 extensions::EventRouter* event_router_; // Not owned. May be NULL. | 82 extensions::EventRouter* event_router_; // Not owned. May be NULL. |
79 ProvidedFileSystemInfo file_system_info_; | 83 ProvidedFileSystemInfo file_system_info_; |
80 scoped_ptr<NotificationManagerInterface> notification_manager_; | 84 scoped_ptr<NotificationManagerInterface> notification_manager_; |
81 RequestManager request_manager_; | 85 RequestManager request_manager_; |
82 | 86 |
83 base::WeakPtrFactory<ProvidedFileSystemInterface> weak_ptr_factory_; | 87 base::WeakPtrFactory<ProvidedFileSystemInterface> weak_ptr_factory_; |
84 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); | 88 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); |
85 }; | 89 }; |
86 | 90 |
87 } // namespace file_system_provider | 91 } // namespace file_system_provider |
88 } // namespace chromeos | 92 } // namespace chromeos |
89 | 93 |
90 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 94 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
OLD | NEW |