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_DRIVE_MOCK_DRIVE_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DRIVE_FILE_SYSTEM_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DRIVE_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DRIVE_FILE_SYSTEM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/chromeos/drive/drive_file_system_interface.h" | 10 #include "chrome/browser/chromeos/drive/drive_file_system_interface.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 scoped_ptr<gdata::DocumentEntry> entry, | 93 scoped_ptr<gdata::DocumentEntry> entry, |
94 const FilePath& file_content_path, | 94 const FilePath& file_content_path, |
95 DriveCache::FileOperationType cache_operation, | 95 DriveCache::FileOperationType cache_operation, |
96 const base::Closure& callback) OVERRIDE {} | 96 const base::Closure& callback) OVERRIDE {} |
97 // This function is not mockable by gmock because scoped_ptr is not supported. | 97 // This function is not mockable by gmock because scoped_ptr is not supported. |
98 virtual void UpdateEntryData(const std::string& resource_id, | 98 virtual void UpdateEntryData(const std::string& resource_id, |
99 const std::string& md5, | 99 const std::string& md5, |
100 scoped_ptr<gdata::DocumentEntry> entry, | 100 scoped_ptr<gdata::DocumentEntry> entry, |
101 const FilePath& file_content_path, | 101 const FilePath& file_content_path, |
102 const base::Closure& callback) OVERRIDE {} | 102 const base::Closure& callback) OVERRIDE {} |
| 103 MOCK_CONST_METHOD0(GetMetadata, DriveFileSystemMetadata()); |
103 }; | 104 }; |
104 | 105 |
105 } // namespace drive | 106 } // namespace drive |
106 | 107 |
107 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DRIVE_FILE_SYSTEM_H_ | 108 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_DRIVE_FILE_SYSTEM_H_ |
OLD | NEW |