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

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

Issue 2466693002: [Re-land] Add network throttling as enterprise policy (Closed)
Patch Set: [Re-land] Add network throttling as enterprise policy Created 4 years, 1 month 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 (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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const StringCallback& callback, 60 const StringCallback& callback,
61 const ErrorCallback& error_callback)); 61 const ErrorCallback& error_callback));
62 MOCK_METHOD4(VerifyAndEncryptData, 62 MOCK_METHOD4(VerifyAndEncryptData,
63 void(const VerificationProperties& properties, 63 void(const VerificationProperties& properties,
64 const std::string& data, 64 const std::string& data,
65 const StringCallback& callback, 65 const StringCallback& callback,
66 const ErrorCallback& error_callback)); 66 const ErrorCallback& error_callback));
67 MOCK_METHOD2(ConnectToBestServices, 67 MOCK_METHOD2(ConnectToBestServices,
68 void(const base::Closure& callback, 68 void(const base::Closure& callback,
69 const ErrorCallback& error_callback)); 69 const ErrorCallback& error_callback));
70 MOCK_METHOD5(SetNetworkThrottlingStatus,
71 void(const bool,
72 const uint32_t,
73 const uint32_t,
74 const base::Closure&,
75 const ErrorCallback& error_callback));
70 MOCK_METHOD0(GetTestInterface, TestInterface*()); 76 MOCK_METHOD0(GetTestInterface, TestInterface*());
71
72 }; 77 };
73 78
74 } // namespace chromeos 79 } // namespace chromeos
75 80
76 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ 81 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698