diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-12 01:13:27 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-12 01:13:27 +0000 |
commit | 7712c3f67657e15d8702ffdd2b6a761c7bca25b1 (patch) | |
tree | 093931804895d2a1d33a0d5ef1c6c077814a3373 /media/video | |
parent | dcafaefb3097412bacafb3c248149f427e6b0fcc (diff) | |
download | chromium_src-7712c3f67657e15d8702ffdd2b6a761c7bca25b1.zip chromium_src-7712c3f67657e15d8702ffdd2b6a761c7bca25b1.tar.gz chromium_src-7712c3f67657e15d8702ffdd2b6a761c7bca25b1.tar.bz2 |
Revert 74700 - Revert the "out-of-lining of test code" change within src/media
to see if it fixes the gmock crashes we've been seeing since the
change has been made.
The original change was split between r74660, r74168, r74059
Review URL: http://codereview.chromium.org/6473006
TBR=nsylvain@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video')
-rw-r--r-- | media/video/video_mock_objects.cc | 18 | ||||
-rw-r--r-- | media/video/video_mock_objects.h (renamed from media/video/mock_objects.h) | 8 |
2 files changed, 22 insertions, 4 deletions
diff --git a/media/video/video_mock_objects.cc b/media/video/video_mock_objects.cc new file mode 100644 index 0000000..5873b59 --- /dev/null +++ b/media/video/video_mock_objects.cc @@ -0,0 +1,18 @@ +// Copyright (c) 2010 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. + +#include "media/video/video_mock_objects.h" + +namespace media { + +MockVideoDecodeEngine::MockVideoDecodeEngine() {} + +MockVideoDecodeEngine::~MockVideoDecodeEngine() {} + +MockVideoDecodeContext::MockVideoDecodeContext() {} + +MockVideoDecodeContext::~MockVideoDecodeContext() {} + + +} // namespace media diff --git a/media/video/mock_objects.h b/media/video/video_mock_objects.h index c0f3dd9..1a9592c 100644 --- a/media/video/mock_objects.h +++ b/media/video/video_mock_objects.h @@ -13,8 +13,8 @@ namespace media { class MockVideoDecodeEngine : public VideoDecodeEngine { public: - MockVideoDecodeEngine() {} - virtual ~MockVideoDecodeEngine() {} + MockVideoDecodeEngine(); + virtual ~MockVideoDecodeEngine(); MOCK_METHOD4(Initialize, void(MessageLoop* message_loop, EventHandler* event_handler, @@ -32,8 +32,8 @@ class MockVideoDecodeEngine : public VideoDecodeEngine { class MockVideoDecodeContext : public VideoDecodeContext { public: - MockVideoDecodeContext() {} - virtual ~MockVideoDecodeContext() {} + MockVideoDecodeContext(); + virtual ~MockVideoDecodeContext(); MOCK_METHOD0(GetDevice, void*()); MOCK_METHOD6(AllocateVideoFrames, void( |