1// Copyright (c) 2009 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/cros_library_loader.h" 12#include "testing/gmock/include/gmock/gmock.h" 13 14namespace chromeos { 15 16// Mock for libcros library loader. 17class MockLibraryLoader : public LibraryLoader { 18 public: 19 MOCK_METHOD1(Load, bool(std::string*)); 20}; 21 22} // namespace chromeos 23 24#endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_LIBRARY_LOADER_H_ 25 26