From f39becc35776fc06c9d04b49015c77f843a695af Mon Sep 17 00:00:00 2001 From: "oshima@chromium.org" Date: Thu, 25 Apr 2013 16:12:57 +0000 Subject: Revert r196352 "dbus: Add FakeBus" > dbus: Add FakeBus > BUG=234078 > TEST=trybots TBR=haruki@chromium.org BUG=234078 Review URL: https://codereview.chromium.org/14392017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196410 0039d316-1c4b-4281-b951-d872f2087c98 --- dbus/dbus.gyp | 6 ++---- dbus/fake_bus.cc | 17 ----------------- dbus/fake_bus.h | 23 ----------------------- 3 files changed, 2 insertions(+), 44 deletions(-) delete mode 100644 dbus/fake_bus.cc delete mode 100644 dbus/fake_bus.h (limited to 'dbus') diff --git a/dbus/dbus.gyp b/dbus/dbus.gyp index 3f41238..847e7d97 100644 --- a/dbus/dbus.gyp +++ b/dbus/dbus.gyp @@ -59,8 +59,8 @@ 'includes': [ '../build/protoc.gypi' ], }, { - # This target contains mocks and fakes that can be used to write unit - # tests without issuing actual D-Bus calls. + # This target contains mocks that can be used to write unit tests + # without issuing actual D-Bus calls. 'target_name': 'dbus_test_support', 'type': 'static_library', 'dependencies': [ @@ -69,8 +69,6 @@ 'dbus', ], 'sources': [ - 'fake_bus.cc', - 'fake_bus.h', 'mock_bus.cc', 'mock_bus.h', 'mock_exported_object.cc', diff --git a/dbus/fake_bus.cc b/dbus/fake_bus.cc deleted file mode 100644 index a93772c..0000000 --- a/dbus/fake_bus.cc +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) 2013 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 "dbus/fake_bus.h" - -#include "base/location.h" - -namespace dbus { - -FakeBus::FakeBus(const Bus::Options& options) : Bus(options) { -} - -FakeBus::~FakeBus() { -} - -} // namespace dbus diff --git a/dbus/fake_bus.h b/dbus/fake_bus.h deleted file mode 100644 index 743e362..0000000 --- a/dbus/fake_bus.h +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) 2013 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 DBUS_FAKE_BUS_H_ -#define DBUS_FAKE_BUS_H_ - -#include "dbus/bus.h" - -namespace dbus { - -// A fake implementation of Bus, which does nothing. -class FakeBus : public Bus { - public: - FakeBus(const Bus::Options& options); - - protected: - virtual ~FakeBus(); -}; - -} // namespace dbus - -#endif // DBUS_FAKE_BUS_H_ -- cgit v1.1