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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 72 virtual void CopyEntry( |
73 const base::FilePath& source_path, | 73 const base::FilePath& source_path, |
74 const base::FilePath& target_path, | 74 const base::FilePath& target_path, |
75 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; | 75 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
| 76 virtual void MoveEntry( |
| 77 const base::FilePath& source_path, |
| 78 const base::FilePath& target_path, |
| 79 const fileapi::AsyncFileUtil::StatusCallback& callback) OVERRIDE; |
76 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; | 80 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const OVERRIDE; |
77 virtual RequestManager* GetRequestManager() OVERRIDE; | 81 virtual RequestManager* GetRequestManager() OVERRIDE; |
78 virtual base::WeakPtr<ProvidedFileSystemInterface> GetWeakPtr() OVERRIDE; | 82 virtual base::WeakPtr<ProvidedFileSystemInterface> GetWeakPtr() OVERRIDE; |
79 | 83 |
80 private: | 84 private: |
81 Profile* profile_; // Not owned. | 85 Profile* profile_; // Not owned. |
82 extensions::EventRouter* event_router_; // Not owned. May be NULL. | 86 extensions::EventRouter* event_router_; // Not owned. May be NULL. |
83 ProvidedFileSystemInfo file_system_info_; | 87 ProvidedFileSystemInfo file_system_info_; |
84 scoped_ptr<NotificationManagerInterface> notification_manager_; | 88 scoped_ptr<NotificationManagerInterface> notification_manager_; |
85 RequestManager request_manager_; | 89 RequestManager request_manager_; |
86 | 90 |
87 base::WeakPtrFactory<ProvidedFileSystemInterface> weak_ptr_factory_; | 91 base::WeakPtrFactory<ProvidedFileSystemInterface> weak_ptr_factory_; |
88 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); | 92 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); |
89 }; | 93 }; |
90 | 94 |
91 } // namespace file_system_provider | 95 } // namespace file_system_provider |
92 } // namespace chromeos | 96 } // namespace chromeos |
93 | 97 |
94 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ | 98 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ |
OLD | NEW |