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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/chromeos/gdata/gdata_file_system.h" | 10 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" |
11 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
12 | 12 |
13 namespace gdata { | 13 namespace gdata { |
14 | 14 |
15 // Mock for GDataFileSystemInterface. | 15 // Mock for GDataFileSystemInterface. |
16 class MockGDataFileSystem : public GDataFileSystemInterface { | 16 class MockGDataFileSystem : public GDataFileSystemInterface { |
17 public: | 17 public: |
18 MockGDataFileSystem(); | 18 MockGDataFileSystem(); |
19 virtual ~MockGDataFileSystem(); | 19 virtual ~MockGDataFileSystem(); |
20 | 20 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 const FilePath& file, | 87 const FilePath& file, |
88 scoped_ptr<DocumentEntry> entry, | 88 scoped_ptr<DocumentEntry> entry, |
89 const FilePath& file_content_path, | 89 const FilePath& file_content_path, |
90 GDataCache::FileOperationType cache_operation, | 90 GDataCache::FileOperationType cache_operation, |
91 const base::Closure& callback) OVERRIDE {} | 91 const base::Closure& callback) OVERRIDE {} |
92 }; | 92 }; |
93 | 93 |
94 } // namespace gdata | 94 } // namespace gdata |
95 | 95 |
96 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ | 96 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_GDATA_FILE_SYSTEM_H_ |
OLD | NEW |