OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ |
6 #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 MOCK_METHOD2(ReadDirectoryByPathAsync, | 79 MOCK_METHOD2(ReadDirectoryByPathAsync, |
80 void(const FilePath& file_path, | 80 void(const FilePath& file_path, |
81 const ReadDirectoryCallback& callback)); | 81 const ReadDirectoryCallback& callback)); |
82 MOCK_METHOD1(RequestDirectoryRefresh, | 82 MOCK_METHOD1(RequestDirectoryRefresh, |
83 void(const FilePath& file_path)); | 83 void(const FilePath& file_path)); |
84 MOCK_METHOD1(GetAvailableSpace, | 84 MOCK_METHOD1(GetAvailableSpace, |
85 void(const GetAvailableSpaceCallback& callback)); | 85 void(const GetAvailableSpaceCallback& callback)); |
86 MOCK_METHOD3(SetPinState, void(const FilePath&, | 86 MOCK_METHOD3(SetPinState, void(const FilePath&, |
87 bool, | 87 bool, |
88 const FileOperationCallback& callback)); | 88 const FileOperationCallback& callback)); |
89 MOCK_METHOD4(AddUploadedFile, | 89 MOCK_METHOD5(AddUploadedFile, |
90 void(const FilePath& file, | 90 void(const FilePath& file, |
91 DocumentEntry* entry, | 91 DocumentEntry* entry, |
92 const FilePath& file_content_path, | 92 const FilePath& file_content_path, |
93 GDataCache::FileOperationType cache_operation)); | 93 GDataCache::FileOperationType cache_operation, |
| 94 const base::Closure& callback)); |
94 }; | 95 }; |
95 | 96 |
96 } // namespace gdata | 97 } // namespace gdata |
97 | 98 |
98 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ | 99 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ |
OLD | NEW |