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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chromeos/dbus/fake_bluetooth_agent_manager_client.h"
6
7 #include "base/bind.h"
8 #include "base/logging.h"
9 #include "dbus/object_path.h"
10 #include "third_party/cros_system_api/dbus/service_constants.h"
11
12 namespace chromeos {
13
14 FakeBluetoothAgentManagerClient::FakeBluetoothAgentManagerClient() {
15 }
16
17 FakeBluetoothAgentManagerClient::~FakeBluetoothAgentManagerClient() {
18 }
19
20 void FakeBluetoothAgentManagerClient::RegisterAgent(
21 const dbus::ObjectPath& agent_path,
22 const std::string& capability,
23 const base::Closure& callback,
24 const ErrorCallback& error_callback) {
25 VLOG(1) << "RegisterAgent: " << agent_path.value();
26 callback.Run();
27 }
28
29 void FakeBluetoothAgentManagerClient::UnregisterAgent(
30 const dbus::ObjectPath& agent_path,
31 const base::Closure& callback,
32 const ErrorCallback& error_callback) {
33 VLOG(1) << "UnregisterAgent: " << agent_path.value();
34 callback.Run();
35 }
36
37 void FakeBluetoothAgentManagerClient::RequestDefaultAgent(
38 const dbus::ObjectPath& agent_path,
39 const base::Closure& callback,
40 const ErrorCallback& error_callback) {
41 VLOG(1) << "RequestDefaultAgent: " << agent_path.value();
42 callback.Run();
43 }
44
45 } // namespace chromeos
OLDNEW
« 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