| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ | 5 #ifndef CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ |
| 6 #define CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ | 6 #define CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 MOCK_METHOD1(RemoveObserver, void(NetworkPolicyObserver* observer)); | 26 MOCK_METHOD1(RemoveObserver, void(NetworkPolicyObserver* observer)); |
| 27 MOCK_METHOD3(GetProperties, | 27 MOCK_METHOD3(GetProperties, |
| 28 void(const std::string& service_path, | 28 void(const std::string& service_path, |
| 29 const network_handler::DictionaryResultCallback& callback, | 29 const network_handler::DictionaryResultCallback& callback, |
| 30 const network_handler::ErrorCallback& error_callback)); | 30 const network_handler::ErrorCallback& error_callback)); |
| 31 MOCK_METHOD4(GetManagedProperties, | 31 MOCK_METHOD4(GetManagedProperties, |
| 32 void(const std::string& userhash, | 32 void(const std::string& userhash, |
| 33 const std::string& service_path, | 33 const std::string& service_path, |
| 34 const network_handler::DictionaryResultCallback& callback, | 34 const network_handler::DictionaryResultCallback& callback, |
| 35 const network_handler::ErrorCallback& error_callback)); | 35 const network_handler::ErrorCallback& error_callback)); |
| 36 MOCK_CONST_METHOD4( | 36 MOCK_METHOD4(SetProperties, |
| 37 SetProperties, | 37 void(const std::string& service_path, |
| 38 void(const std::string& service_path, | 38 const base::DictionaryValue& user_settings, |
| 39 const base::DictionaryValue& user_settings, | 39 const base::Closure& callback, |
| 40 const base::Closure& callback, | 40 const network_handler::ErrorCallback& error_callback)); |
| 41 const network_handler::ErrorCallback& error_callback)); | |
| 42 MOCK_CONST_METHOD4( | 41 MOCK_CONST_METHOD4( |
| 43 CreateConfiguration, | 42 CreateConfiguration, |
| 44 void(const std::string& userhash, | 43 void(const std::string& userhash, |
| 45 const base::DictionaryValue& properties, | 44 const base::DictionaryValue& properties, |
| 46 const network_handler::StringResultCallback& callback, | 45 const network_handler::StringResultCallback& callback, |
| 47 const network_handler::ErrorCallback& error_callback)); | 46 const network_handler::ErrorCallback& error_callback)); |
| 48 MOCK_CONST_METHOD3( | 47 MOCK_CONST_METHOD3( |
| 49 RemoveConfiguration, | 48 RemoveConfiguration, |
| 50 void(const std::string& service_path, | 49 void(const std::string& service_path, |
| 51 const base::Closure& callback, | 50 const base::Closure& callback, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 70 const base::DictionaryValue*(const std::string& guid, | 69 const base::DictionaryValue*(const std::string& guid, |
| 71 const std::string& profile_path)); | 70 const std::string& profile_path)); |
| 72 | 71 |
| 73 private: | 72 private: |
| 74 DISALLOW_COPY_AND_ASSIGN(MockManagedNetworkConfigurationHandler); | 73 DISALLOW_COPY_AND_ASSIGN(MockManagedNetworkConfigurationHandler); |
| 75 }; | 74 }; |
| 76 | 75 |
| 77 } // namespace chromeos | 76 } // namespace chromeos |
| 78 | 77 |
| 79 #endif // CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ | 78 #endif // CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ |
| OLD | NEW |