Roll src/third_party/WebKit e59d390:cd3d8c2 (svn 184550:184552)
[chromium-blink-merge.git] / jingle / glue / mock_task.h
blob676de0f40273b1c2088323dbe579cc14338cab11
1 // Copyright (c) 2012 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 // A mock of rtc::Task.
7 #ifndef JINGLE_GLUE_MOCK_TASK_H_
8 #define JINGLE_GLUE_MOCK_TASK_H_
10 #include "testing/gmock/include/gmock/gmock.h"
11 #include "third_party/webrtc/base/task.h"
13 namespace jingle_glue {
15 class MockTask : public rtc::Task {
16 public:
17 MockTask(TaskParent* parent);
19 virtual ~MockTask();
21 MOCK_METHOD0(ProcessStart, int());
24 } // namespace jingle_glue
26 #endif // JINGLE_GLUE_MOCK_TASK_H_