| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_LIBRARY_LOADER_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_LIBRARY_LOADER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 #include "chrome/browser/chromeos/cros/library_loader.h" | |
| 12 #include "testing/gmock/include/gmock/gmock.h" | |
| 13 | |
| 14 namespace chromeos { | |
| 15 | |
| 16 // Mock for libcros library loader. | |
| 17 class MockLibraryLoader : public LibraryLoader { | |
| 18 public: | |
| 19 MockLibraryLoader(); | |
| 20 virtual ~MockLibraryLoader(); | |
| 21 | |
| 22 MOCK_METHOD1(Load, bool(std::string*)); | |
| 23 }; | |
| 24 | |
| 25 } // namespace chromeos | |
| 26 | |
| 27 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_LIBRARY_LOADER_H_ | |
| OLD | NEW |