summaryrefslogtreecommitdiff
path: root/chromium/jingle/glue/mock_task.h
blob: e74f1f52823354d673f9a32f8a4a463704f15212 (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
// 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.
//
// A mock of rtc::Task.

#ifndef JINGLE_GLUE_MOCK_TASK_H_
#define JINGLE_GLUE_MOCK_TASK_H_

#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/libjingle_xmpp/task_runner/task.h"

namespace jingle_glue {

class MockTask : public jingle_xmpp::Task {
 public:
  MockTask(TaskParent* parent);

  ~MockTask() override;

  MOCK_METHOD0(ProcessStart, int());
};

}  // namespace jingle_glue

#endif  // JINGLE_GLUE_MOCK_TASK_H_