summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-25 16:12:57 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-25 16:12:57 +0000
commitf39becc35776fc06c9d04b49015c77f843a695af (patch)
treef48ca139c5c6d43dff74a27373fef28d7169b637 /dbus
parent2609a0f1d4f67d1d2d8b9c3f613a82044fedb529 (diff)
downloadchromium_src-f39becc35776fc06c9d04b49015c77f843a695af.zip
chromium_src-f39becc35776fc06c9d04b49015c77f843a695af.tar.gz
chromium_src-f39becc35776fc06c9d04b49015c77f843a695af.tar.bz2
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
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus.gyp6
-rw-r--r--dbus/fake_bus.cc17
-rw-r--r--dbus/fake_bus.h23
3 files changed, 2 insertions, 44 deletions
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_