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

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

Issue 13959009: dbus: Remove unused GMock-ed clients. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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) 2012 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_PERMISSION_BROKER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "chromeos/dbus/permission_broker_client.h"
12 #include "testing/gmock/include/gmock/gmock.h"
13
14 namespace chromeos {
15
16 class MockPermissionBrokerClient : public PermissionBrokerClient {
17 public:
18 MockPermissionBrokerClient();
19 virtual ~MockPermissionBrokerClient();
20
21 MOCK_METHOD2(RequestPathAccess, void(const std::string& path,
22 const ResultCallback& callback));
23 MOCK_METHOD3(RequestUsbAccess, void(const uint16_t vendor_id,
24 const uint16_t product_id,
25 const ResultCallback& callback));
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(MockPermissionBrokerClient);
29 };
30
31 } // namespace chromeos
32
33 #endif // CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_modem_messaging_client.cc ('k') | chromeos/dbus/mock_permission_broker_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698