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

Side by Side Diff: chromeos/network/mock_managed_network_configuration_handler.h

Issue 2828713002: Enable client certificate patterns in device ONC policy (Closed)
Patch Set: Addressed comments - more DCHECKs, use PostTask..WithReply in client_cert_resolver.cc. Created 3 years, 7 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
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chromeos/network/managed_network_configuration_handler_impl.cc ('k') | chromeos/network/network_cert_migrator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698