Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8331)

Unified Diff: chromeos/dbus/fake_privet_daemon_manager_client.cc

Issue 996013003: privetd: Expose dbus API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mysterious build failure Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_privet_daemon_manager_client.h ('k') | chromeos/dbus/privet_daemon_manager_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_privet_daemon_manager_client.cc
diff --git a/chromeos/dbus/fake_privet_daemon_manager_client.cc b/chromeos/dbus/fake_privet_daemon_manager_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2a5d8e659cee3787abbf3801ec189d7cfd12b4b9
--- /dev/null
+++ b/chromeos/dbus/fake_privet_daemon_manager_client.cc
@@ -0,0 +1,38 @@
+// Copyright 2015 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 "chromeos/dbus/fake_privet_daemon_manager_client.h"
+
+#include "base/message_loop/message_loop.h"
+
+namespace chromeos {
+
+FakePrivetDaemonManagerClient::FakePrivetDaemonManagerClient() {
+}
+
+FakePrivetDaemonManagerClient::~FakePrivetDaemonManagerClient() {
+}
+
+void FakePrivetDaemonManagerClient::Init(dbus::Bus* bus) {
+}
+
+void FakePrivetDaemonManagerClient::AddObserver(Observer* observer) {
+}
+
+void FakePrivetDaemonManagerClient::RemoveObserver(Observer* observer) {
+}
+
+void FakePrivetDaemonManagerClient::SetDescription(
+ const std::string& description,
+ const VoidDBusMethodCallback& callback) {
+ base::MessageLoop::current()->PostTask(
+ FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS));
+}
+
+const PrivetDaemonManagerClient::Properties*
+FakePrivetDaemonManagerClient::GetProperties() {
+ return nullptr;
+}
+
+} // namespace chromeos
« no previous file with comments | « chromeos/dbus/fake_privet_daemon_manager_client.h ('k') | chromeos/dbus/privet_daemon_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698