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

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

Issue 584753002: Revert of GCM: D-Bus methods for wake-on-packet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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
« no previous file with comments | « chromeos/dbus/fake_shill_manager_client.cc ('k') | chromeos/dbus/shill_manager_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_SHILL_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chromeos/dbus/shill_manager_client.h" 9 #include "chromeos/dbus/shill_manager_client.h"
10 #include "chromeos/dbus/shill_property_changed_observer.h" 10 #include "chromeos/dbus/shill_property_changed_observer.h"
11 #include "net/base/ip_endpoint.h"
12 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
13 12
14 namespace chromeos { 13 namespace chromeos {
15 14
16 class MockShillManagerClient : public ShillManagerClient { 15 class MockShillManagerClient : public ShillManagerClient {
17 public: 16 public:
18 MockShillManagerClient(); 17 MockShillManagerClient();
19 virtual ~MockShillManagerClient(); 18 virtual ~MockShillManagerClient();
20 19
21 MOCK_METHOD1(Init, void(dbus::Bus* bus)); 20 MOCK_METHOD1(Init, void(dbus::Bus* bus));
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const StringCallback& callback, 59 const StringCallback& callback,
61 const ErrorCallback& error_callback)); 60 const ErrorCallback& error_callback));
62 MOCK_METHOD4(VerifyAndEncryptData, 61 MOCK_METHOD4(VerifyAndEncryptData,
63 void(const VerificationProperties& properties, 62 void(const VerificationProperties& properties,
64 const std::string& data, 63 const std::string& data,
65 const StringCallback& callback, 64 const StringCallback& callback,
66 const ErrorCallback& error_callback)); 65 const ErrorCallback& error_callback));
67 MOCK_METHOD2(ConnectToBestServices, 66 MOCK_METHOD2(ConnectToBestServices,
68 void(const base::Closure& callback, 67 void(const base::Closure& callback,
69 const ErrorCallback& error_callback)); 68 const ErrorCallback& error_callback));
70 MOCK_METHOD3(AddWakeOnPacketConnection,
71 void(const net::IPEndPoint& ip_connection,
72 const base::Closure& callback,
73 const ErrorCallback& error_callback));
74 MOCK_METHOD3(RemoveWakeOnPacketConnection,
75 void(const net::IPEndPoint& ip_connection,
76 const base::Closure& callback,
77 const ErrorCallback& error_callback));
78 MOCK_METHOD2(RemoveAllWakeOnPacketConnections,
79 void(const base::Closure& callback,
80 const ErrorCallback& error_callback));
81 MOCK_METHOD0(GetTestInterface, TestInterface*()); 69 MOCK_METHOD0(GetTestInterface, TestInterface*());
82 70
83 }; 71 };
84 72
85 } // namespace chromeos 73 } // namespace chromeos
86 74
87 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ 75 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_shill_manager_client.cc ('k') | chromeos/dbus/shill_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698