| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_DRIVE_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_DRIVE_FILE_SYSTEM_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_DRIVE_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_DRIVE_FILE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 virtual void Remove(const base::FilePath& file_path, | 70 virtual void Remove(const base::FilePath& file_path, |
| 71 bool is_recursive, | 71 bool is_recursive, |
| 72 const FileOperationCallback& callback) OVERRIDE; | 72 const FileOperationCallback& callback) OVERRIDE; |
| 73 virtual void CreateDirectory(const base::FilePath& directory_path, | 73 virtual void CreateDirectory(const base::FilePath& directory_path, |
| 74 bool is_exclusive, | 74 bool is_exclusive, |
| 75 bool is_recursive, | 75 bool is_recursive, |
| 76 const FileOperationCallback& callback) OVERRIDE; | 76 const FileOperationCallback& callback) OVERRIDE; |
| 77 virtual void CreateFile(const base::FilePath& file_path, | 77 virtual void CreateFile(const base::FilePath& file_path, |
| 78 bool is_exclusive, | 78 bool is_exclusive, |
| 79 const FileOperationCallback& callback) OVERRIDE; | 79 const FileOperationCallback& callback) OVERRIDE; |
| 80 virtual void Pin(const base::FilePath& file_path, |
| 81 const FileOperationCallback& callback) OVERRIDE; |
| 82 virtual void Unpin(const base::FilePath& file_path, |
| 83 const FileOperationCallback& callback) OVERRIDE; |
| 80 virtual void GetFileByPath(const base::FilePath& file_path, | 84 virtual void GetFileByPath(const base::FilePath& file_path, |
| 81 const GetFileCallback& callback) OVERRIDE; | 85 const GetFileCallback& callback) OVERRIDE; |
| 82 virtual void GetFileByResourceId( | 86 virtual void GetFileByResourceId( |
| 83 const std::string& resource_id, | 87 const std::string& resource_id, |
| 84 const DriveClientContext& context, | 88 const DriveClientContext& context, |
| 85 const GetFileCallback& get_file_callback, | 89 const GetFileCallback& get_file_callback, |
| 86 const google_apis::GetContentCallback& get_content_callback) OVERRIDE; | 90 const google_apis::GetContentCallback& get_content_callback) OVERRIDE; |
| 87 virtual void GetFileContentByPath( | 91 virtual void GetFileContentByPath( |
| 88 const base::FilePath& file_path, | 92 const base::FilePath& file_path, |
| 89 const GetFileContentInitializedCallback& initialized_callback, | 93 const GetFileContentInitializedCallback& initialized_callback, |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // invalidate the weak pointers before any other members are destroyed. | 200 // invalidate the weak pointers before any other members are destroyed. |
| 197 base::WeakPtrFactory<FakeDriveFileSystem> weak_ptr_factory_; | 201 base::WeakPtrFactory<FakeDriveFileSystem> weak_ptr_factory_; |
| 198 | 202 |
| 199 DISALLOW_COPY_AND_ASSIGN(FakeDriveFileSystem); | 203 DISALLOW_COPY_AND_ASSIGN(FakeDriveFileSystem); |
| 200 }; | 204 }; |
| 201 | 205 |
| 202 } // namespace test_util | 206 } // namespace test_util |
| 203 } // namespace drive | 207 } // namespace drive |
| 204 | 208 |
| 205 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_DRIVE_FILE_SYSTEM_H_ | 209 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_DRIVE_FILE_SYSTEM_H_ |
| OLD | NEW |