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

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

Issue 2549043002: chromeos: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "chromeos/dbus/permission_broker_client.h" 10 #include "chromeos/dbus/permission_broker_client.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 12
13 namespace dbus {
14 class FileDescriptor;
15 } // namespace dbus
16
17 namespace chromeos { 13 namespace chromeos {
18 14
19 class MockPermissionBrokerClient : public PermissionBrokerClient { 15 class MockPermissionBrokerClient : public PermissionBrokerClient {
20 public: 16 public:
21 MockPermissionBrokerClient(); 17 MockPermissionBrokerClient();
22 ~MockPermissionBrokerClient() override; 18 ~MockPermissionBrokerClient() override;
23 19
24 MOCK_METHOD1(Init, void(dbus::Bus* bus)); 20 MOCK_METHOD1(Init, void(dbus::Bus* bus));
25 MOCK_METHOD2(CheckPathAccess, 21 MOCK_METHOD2(CheckPathAccess,
26 void(const std::string& path, const ResultCallback& callback)); 22 void(const std::string& path, const ResultCallback& callback));
(...skipping 17 matching lines...) Expand all
44 const ResultCallback& callback)); 40 const ResultCallback& callback));
45 MOCK_METHOD3(ReleaseUdpPort, 41 MOCK_METHOD3(ReleaseUdpPort,
46 void(uint16_t port, 42 void(uint16_t port,
47 const std::string& interface, 43 const std::string& interface,
48 const ResultCallback& callback)); 44 const ResultCallback& callback));
49 }; 45 };
50 46
51 } // namespace chromeos 47 } // namespace chromeos
52 48
53 #endif // CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_ 49 #endif // CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_shill_manager_client.h ('k') | chromeos/dbus/services/liveness_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698