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

Side by Side Diff: chromeos/dbus/mock_experimental_bluetooth_profile_manager_client.h

Issue 12605008: D-Bus Clients for BlueZ 5 API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mock dbus thread manager without gmock? I didn't even know that was a thing! Created 7 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 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 #ifndef CHROMEOS_DBUS_MOCK_EXPERIMENTAL_BLUETOOTH_PROFILE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_EXPERIMENTAL_BLUETOOTH_PROFILE_MANAGER_CLIENT_H_
7
8 #include <string>
9
10 #include "chromeos/dbus/experimental_bluetooth_profile_manager_client.h"
11 #include "testing/gmock/include/gmock/gmock.h"
12
13 namespace chromeos {
14
15 class MockExperimentalBluetoothProfileManagerClient
16 : public ExperimentalBluetoothProfileManagerClient {
17 public:
18 MockExperimentalBluetoothProfileManagerClient();
19 virtual ~MockExperimentalBluetoothProfileManagerClient();
20
21 MOCK_METHOD5(RegisterProfile, void(const dbus::ObjectPath&,
22 const std::string&,
23 const Options&,
24 const base::Closure&,
25 const ErrorCallback&));
26 MOCK_METHOD3(UnregisterProfile, void(const dbus::ObjectPath&,
27 const base::Closure&,
28 const ErrorCallback&));
29 };
30
31 } // namespace chromeos
32
33 #endif // CHROMEOS_DBUS_MOCK_EXPERIMENTAL_BLUETOOTH_PROFILE_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698