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

Side by Side Diff: chromeos/dbus/fake_bluetooth_profile_manager_client.cc

Issue 13927010: Bluetooth: implement BlueZ 5 backend for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix review comment 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_profile_manager_client.h"
6
7 #include "base/bind.h"
8 #include "base/logging.h"
9 #include "dbus/bus.h"
10 #include "dbus/message.h"
11 #include "dbus/object_path.h"
12 #include "dbus/object_proxy.h"
13 #include "third_party/cros_system_api/dbus/service_constants.h"
14
15 namespace chromeos {
16
17 FakeBluetoothProfileManagerClient::FakeBluetoothProfileManagerClient() {
18 }
19
20 FakeBluetoothProfileManagerClient::~FakeBluetoothProfileManagerClient() {
21 }
22
23 void FakeBluetoothProfileManagerClient::RegisterProfile(
24 const dbus::ObjectPath& profile_path,
25 const std::string& uuid,
26 const Options& options,
27 const base::Closure& callback,
28 const ErrorCallback& error_callback) {
29 VLOG(1) << "RegisterProfile: " << profile_path.value() << ": " << uuid;
30 callback.Run();
31 }
32
33 void FakeBluetoothProfileManagerClient::UnregisterProfile(
34 const dbus::ObjectPath& profile_path,
35 const base::Closure& callback,
36 const ErrorCallback& error_callback) {
37 VLOG(1) << "UnregisterProfile: " << profile_path.value();
38 callback.Run();
39 }
40
41 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_profile_manager_client.h ('k') | chromeos/dbus/fake_bluetooth_profile_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698