| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 bool is_recursive, | 59 bool is_recursive, |
| 60 const FileOperationCallback& callback)); | 60 const FileOperationCallback& callback)); |
| 61 MOCK_METHOD3(GetFileByPath, | 61 MOCK_METHOD3(GetFileByPath, |
| 62 void(const FilePath& file_path, | 62 void(const FilePath& file_path, |
| 63 const GetFileCallback& get_file_callback, | 63 const GetFileCallback& get_file_callback, |
| 64 const GetDownloadDataCallback& get_download_data_callback)); | 64 const GetDownloadDataCallback& get_download_data_callback)); |
| 65 MOCK_METHOD3(GetFileByResourceId, | 65 MOCK_METHOD3(GetFileByResourceId, |
| 66 void(const std::string& resource_id, | 66 void(const std::string& resource_id, |
| 67 const GetFileCallback& get_file_callback, | 67 const GetFileCallback& get_file_callback, |
| 68 const GetDownloadDataCallback& get_download_data_callback)); | 68 const GetDownloadDataCallback& get_download_data_callback)); |
| 69 MOCK_METHOD0(GetOperationRegistry, GDataOperationRegistry*()); | |
| 70 MOCK_METHOD3(GetCacheState, void(const std::string& resource_id, | 69 MOCK_METHOD3(GetCacheState, void(const std::string& resource_id, |
| 71 const std::string& md5, | 70 const std::string& md5, |
| 72 const GetCacheStateCallback& callback)); | 71 const GetCacheStateCallback& callback)); |
| 73 MOCK_METHOD2(GetFileInfoByPathAsync, | 72 MOCK_METHOD2(GetFileInfoByPathAsync, |
| 74 void(const FilePath& file_path, | 73 void(const FilePath& file_path, |
| 75 const GetFileInfoCallback& callback)); | 74 const GetFileInfoCallback& callback)); |
| 76 MOCK_METHOD2(GetEntryInfoByPathAsync, | 75 MOCK_METHOD2(GetEntryInfoByPathAsync, |
| 77 void(const FilePath& file_path, | 76 void(const FilePath& file_path, |
| 78 const GetEntryInfoCallback& callback)); | 77 const GetEntryInfoCallback& callback)); |
| 79 MOCK_METHOD2(ReadDirectoryByPathAsync, | 78 MOCK_METHOD2(ReadDirectoryByPathAsync, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 102 MOCK_METHOD4(AddUploadedFile, void(const FilePath& file, | 101 MOCK_METHOD4(AddUploadedFile, void(const FilePath& file, |
| 103 DocumentEntry* entry, | 102 DocumentEntry* entry, |
| 104 const FilePath& file_content_path, | 103 const FilePath& file_content_path, |
| 105 FileOperationType cache_operation)); | 104 FileOperationType cache_operation)); |
| 106 MOCK_METHOD0(hide_hosted_documents, bool()); | 105 MOCK_METHOD0(hide_hosted_documents, bool()); |
| 107 }; | 106 }; |
| 108 | 107 |
| 109 } // namespace gdata | 108 } // namespace gdata |
| 110 | 109 |
| 111 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ | 110 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ |
| OLD | NEW |