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

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

Issue 22327005: Automatically resolve ClientCertificatePatterns. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed yet another issue with CertLoader. Created 7 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_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_
6 #define CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void SetNetworkProfile(const std::string& service_path, 104 void SetNetworkProfile(const std::string& service_path,
105 const std::string& profile_path, 105 const std::string& profile_path,
106 const base::Closure& callback, 106 const base::Closure& callback,
107 const network_handler::ErrorCallback& error_callback); 107 const network_handler::ErrorCallback& error_callback);
108 108
109 // Construct and initialize an instance for testing. 109 // Construct and initialize an instance for testing.
110 static NetworkConfigurationHandler* InitializeForTest( 110 static NetworkConfigurationHandler* InitializeForTest(
111 NetworkStateHandler* network_state_handler); 111 NetworkStateHandler* network_state_handler);
112 112
113 protected: 113 protected:
114 friend class ClientCertResolverTest;
114 friend class NetworkHandler; 115 friend class NetworkHandler;
115 friend class NetworkConfigurationHandlerTest; 116 friend class NetworkConfigurationHandlerTest;
116 friend class NetworkConfigurationHandlerStubTest; 117 friend class NetworkConfigurationHandlerStubTest;
117 class ProfileEntryDeleter; 118 class ProfileEntryDeleter;
118 119
119 NetworkConfigurationHandler(); 120 NetworkConfigurationHandler();
120 void Init(NetworkStateHandler* network_state_handler); 121 void Init(NetworkStateHandler* network_state_handler);
121 122
122 void RunCreateNetworkCallback( 123 void RunCreateNetworkCallback(
123 const network_handler::StringResultCallback& callback, 124 const network_handler::StringResultCallback& callback,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 160
160 // Map of in-progress deleter instances. Owned by this class. 161 // Map of in-progress deleter instances. Owned by this class.
161 std::map<std::string, ProfileEntryDeleter*> profile_entry_deleters_; 162 std::map<std::string, ProfileEntryDeleter*> profile_entry_deleters_;
162 163
163 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationHandler); 164 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationHandler);
164 }; 165 };
165 166
166 } // namespace chromeos 167 } // namespace chromeos
167 168
168 #endif // CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_ 169 #endif // CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/managed_network_configuration_handler_unittest.cc ('k') | chromeos/network/network_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698