1 // Copyright (c) 2010 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_CROS_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_CROS_LIBRARY_H_ 7 #pragma once 8 9 #include <string> 10 11 #include "chrome/browser/chromeos/cros/cros_library.h" 12 #include "testing/gmock/include/gmock/gmock.h" 13 14 namespace chromeos { 15 16 class MockCrosLibrary : public CrosLibrary { 17 public: 18 MockCrosLibrary() {} 19 virtual ~MockCrosLibrary() {} 20 MOCK_METHOD0(EnsureLoaded, bool(void)); 21 MOCK_METHOD0(EnsureLoaded, const std::string&(void)); 22 }; 23 24 } // namespace chromeos 25 26 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_CROS_LIBRARY_H_ 27 28