summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/mock_debug_daemon_client.h
blob: c24e1c20ece5be2f5c5845c95820eeed8d0f69b6 (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
28
29
// Copyright (c) 2012 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 CHROMEOS_DBUS_MOCK_DEBUG_DAEMON_CLIENT_H_
#define CHROMEOS_DBUS_MOCK_DEBUG_DAEMON_CLIENT_H_

#include "chromeos/dbus/debug_daemon_client.h"
#include "testing/gmock/include/gmock/gmock.h"

namespace chromeos {

class MockDebugDaemonClient : public DebugDaemonClient {
 public:
  MockDebugDaemonClient();
  virtual ~MockDebugDaemonClient();

  MOCK_METHOD2(GetDebugLogs, void(base::PlatformFile,
                                  const GetDebugLogsCallback&));
  MOCK_METHOD2(SetDebugMode, void(const std::string&,
                                  const SetDebugModeCallback&));
  MOCK_METHOD1(RequestStopSystemTracing,
      bool(const StopSystemTracingCallback&));
  MOCK_METHOD0(StartSystemTracing, void());
};

}  // namespace chromeos

#endif  // CHROMEOS_DBUS_MOCK_DEBUG_DAEMON_CLIENT_H_