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_FREE_DISK_SPACE_GETTER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FREE_DISK_SPACE_GETTER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FREE_DISK_SPACE_GETTER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FREE_DISK_SPACE_GETTER_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/drive/drive_cache.h" | 8 #include "chrome/browser/chromeos/drive/drive_cache.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
10 | 10 |
11 namespace gdata { | 11 namespace drive { |
12 | 12 |
13 class MockFreeDiskSpaceGetter : public FreeDiskSpaceGetterInterface { | 13 class MockFreeDiskSpaceGetter : public FreeDiskSpaceGetterInterface { |
14 public: | 14 public: |
15 MockFreeDiskSpaceGetter(); | 15 MockFreeDiskSpaceGetter(); |
16 virtual ~MockFreeDiskSpaceGetter(); | 16 virtual ~MockFreeDiskSpaceGetter(); |
17 MOCK_CONST_METHOD0(AmountOfFreeDiskSpace, int64()); | 17 MOCK_CONST_METHOD0(AmountOfFreeDiskSpace, int64()); |
18 }; | 18 }; |
19 | 19 |
20 } // namespace gdata | 20 } // namespace drive |
21 | 21 |
22 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FREE_DISK_SPACE_GETTER_H_ | 22 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_MOCK_FREE_DISK_SPACE_GETTER_H_ |
OLD | NEW |