summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros/mock_library_loader.h
blob: c310cf5b10d8d680832a8cebf0e277de55bc249c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_LIBRARY_LOADER_H_
#define CHROME_BROWSER_CHROMEOS_CROS_MOCK_LIBRARY_LOADER_H_
#pragma once

#include <string>

#include "chrome/browser/chromeos/cros/library_loader.h"
#include "testing/gmock/include/gmock/gmock.h"

namespace chromeos {

// Mock for libcros library loader.
class  MockLibraryLoader : public LibraryLoader {
 public:
  MockLibraryLoader();
  virtual ~MockLibraryLoader();

  MOCK_METHOD1(Load, bool(std::string*));
};

}  // namespace chromeos

#endif  // CHROME_BROWSER_CHROMEOS_CROS_MOCK_LIBRARY_LOADER_H_