| 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/macros.h" | 10 #include "base/macros.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 MOCK_CONST_METHOD0(IsAnyPolicyApplicationRunning, bool()); | 63 MOCK_CONST_METHOD0(IsAnyPolicyApplicationRunning, bool()); |
| 64 MOCK_CONST_METHOD3(FindPolicyByGUID, | 64 MOCK_CONST_METHOD3(FindPolicyByGUID, |
| 65 const base::DictionaryValue*( | 65 const base::DictionaryValue*( |
| 66 const std::string userhash, | 66 const std::string userhash, |
| 67 const std::string& guid, | 67 const std::string& guid, |
| 68 ::onc::ONCSource* onc_source)); | 68 ::onc::ONCSource* onc_source)); |
| 69 MOCK_CONST_METHOD1(GetNetworkConfigsFromPolicy, | 69 MOCK_CONST_METHOD1(GetNetworkConfigsFromPolicy, |
| 70 const GuidToPolicyMap*(const std::string& userhash)); | 70 const GuidToPolicyMap*(const std::string& userhash)); |
| 71 MOCK_CONST_METHOD1(GetGlobalConfigFromPolicy, | 71 MOCK_CONST_METHOD1(GetGlobalConfigFromPolicy, |
| 72 const base::DictionaryValue*(const std::string& userhash)); | 72 const base::DictionaryValue*(const std::string& userhash)); |
| 73 MOCK_CONST_METHOD2( | 73 MOCK_CONST_METHOD3( |
| 74 FindPolicyByGuidAndProfile, | 74 FindPolicyByGuidAndProfile, |
| 75 const base::DictionaryValue*(const std::string& guid, | 75 const base::DictionaryValue*(const std::string& guid, |
| 76 const std::string& profile_path)); | 76 const std::string& profile_path, |
| 77 ::onc::ONCSource* onc_source)); |
| 77 | 78 |
| 78 private: | 79 private: |
| 79 DISALLOW_COPY_AND_ASSIGN(MockManagedNetworkConfigurationHandler); | 80 DISALLOW_COPY_AND_ASSIGN(MockManagedNetworkConfigurationHandler); |
| 80 }; | 81 }; |
| 81 | 82 |
| 82 } // namespace chromeos | 83 } // namespace chromeos |
| 83 | 84 |
| 84 #endif // CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ | 85 #endif // CHROMEOS_NETWORK_MOCK_MANAGED_NETWORK_CONFIGURATION_HANDLER_H_ |
| OLD | NEW |