forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG=234078 TEST=trybots Review URL: https://chromiumcodereview.appspot.com/14493004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196352 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
haruki@chromium.org
committed
Apr 25, 2013
1 parent
30551e7
commit 9cf45f5
Showing
5 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// 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_ |