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

Unified Diff: chromeos/dbus/fake_bluetooth_agent_manager_client.cc

Issue 13637016: WIP: DO NOT SUBMIT (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more wip Created 7 years, 8 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
Index: chromeos/dbus/fake_bluetooth_agent_manager_client.cc
diff --git a/chromeos/dbus/fake_bluetooth_agent_manager_client.cc b/chromeos/dbus/fake_bluetooth_agent_manager_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6dba12e982bc5edd24200a127d302ba8fe24dffd
--- /dev/null
+++ b/chromeos/dbus/fake_bluetooth_agent_manager_client.cc
@@ -0,0 +1,45 @@
+// 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 "chromeos/dbus/fake_bluetooth_agent_manager_client.h"
+
+#include "base/bind.h"
+#include "base/logging.h"
+#include "dbus/object_path.h"
+#include "third_party/cros_system_api/dbus/service_constants.h"
+
+namespace chromeos {
+
+FakeBluetoothAgentManagerClient::FakeBluetoothAgentManagerClient() {
+}
+
+FakeBluetoothAgentManagerClient::~FakeBluetoothAgentManagerClient() {
+}
+
+void FakeBluetoothAgentManagerClient::RegisterAgent(
+ const dbus::ObjectPath& agent_path,
+ const std::string& capability,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) {
+ VLOG(1) << "RegisterAgent: " << agent_path.value();
+ callback.Run();
+}
+
+void FakeBluetoothAgentManagerClient::UnregisterAgent(
+ const dbus::ObjectPath& agent_path,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) {
+ VLOG(1) << "UnregisterAgent: " << agent_path.value();
+ callback.Run();
+}
+
+void FakeBluetoothAgentManagerClient::RequestDefaultAgent(
+ const dbus::ObjectPath& agent_path,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) {
+ VLOG(1) << "RequestDefaultAgent: " << agent_path.value();
+ callback.Run();
+}
+
+} // namespace chromeos
« no previous file with comments | « chromeos/dbus/fake_bluetooth_agent_manager_client.h ('k') | chromeos/dbus/fake_bluetooth_agent_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698