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

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

Issue 409883006: GCM: D-Bus methods for wake-on-packet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refining based on review comments Created 6 years, 4 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
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"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const StringCallback& callback, 59 const StringCallback& callback,
60 const ErrorCallback& error_callback)); 60 const ErrorCallback& error_callback));
61 MOCK_METHOD4(VerifyAndEncryptData, 61 MOCK_METHOD4(VerifyAndEncryptData,
62 void(const VerificationProperties& properties, 62 void(const VerificationProperties& properties,
63 const std::string& data, 63 const std::string& data,
64 const StringCallback& callback, 64 const StringCallback& callback,
65 const ErrorCallback& error_callback)); 65 const ErrorCallback& error_callback));
66 MOCK_METHOD2(ConnectToBestServices, 66 MOCK_METHOD2(ConnectToBestServices,
67 void(const base::Closure& callback, 67 void(const base::Closure& callback,
68 const ErrorCallback& error_callback)); 68 const ErrorCallback& error_callback));
69 MOCK_METHOD3(AddWakeOnPacketConnection,
70 void(const std::string& ip_connection,
Daniel Erat 2014/08/23 14:44:52 please double-check that chromeos_unittests compil
Luigi Semenzato 2014/08/25 19:59:34 Done.
71 const base::Closure& callback,
72 const ErrorCallback& error_callback));
73 MOCK_METHOD3(RemoveWakeOnPacketConnection,
74 void(const std::string& ip_connection,
75 const base::Closure& callback,
76 const ErrorCallback& error_callback));
77 MOCK_METHOD3(RemoveAllWakeOnPacketConnections,
78 void(const base::Closure& callback,
79 const ErrorCallback& error_callback));
69 MOCK_METHOD0(GetTestInterface, TestInterface*()); 80 MOCK_METHOD0(GetTestInterface, TestInterface*());
70 81
71 }; 82 };
72 83
73 } // namespace chromeos 84 } // namespace chromeos
74 85
75 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ 86 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698