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

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

Issue 552113002: Add ONC 'Source' configuration property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_279351_internet_options_9a
Patch Set: Rebase Created 6 years, 3 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_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ 5 #ifndef CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
6 #define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ 6 #define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 // Handlers may be NULL in tests so long as they do not execute any paths 117 // Handlers may be NULL in tests so long as they do not execute any paths
118 // that require the handlers. 118 // that require the handlers.
119 void Init(NetworkStateHandler* network_state_handler, 119 void Init(NetworkStateHandler* network_state_handler,
120 NetworkProfileHandler* network_profile_handler, 120 NetworkProfileHandler* network_profile_handler,
121 NetworkConfigurationHandler* network_configuration_handler, 121 NetworkConfigurationHandler* network_configuration_handler,
122 NetworkDeviceHandler* network_device_handler); 122 NetworkDeviceHandler* network_device_handler);
123 123
124 // Sends the response to the caller of GetManagedProperties. 124 // Sends the response to the caller of GetManagedProperties.
125 void SendManagedProperties( 125 void SendManagedProperties(
126 const std::string& userhash,
126 const network_handler::DictionaryResultCallback& callback, 127 const network_handler::DictionaryResultCallback& callback,
127 const network_handler::ErrorCallback& error_callback, 128 const network_handler::ErrorCallback& error_callback,
128 const std::string& service_path, 129 const std::string& service_path,
129 scoped_ptr<base::DictionaryValue> shill_properties); 130 scoped_ptr<base::DictionaryValue> shill_properties);
130 131
131 // Sends the response to the caller of GetProperties. 132 // Sends the response to the caller of GetProperties.
132 void SendProperties( 133 void SendProperties(
133 const network_handler::DictionaryResultCallback& callback, 134 const network_handler::DictionaryResultCallback& callback,
134 const network_handler::ErrorCallback& error_callback, 135 const network_handler::ErrorCallback& error_callback,
135 const std::string& service_path, 136 const std::string& service_path,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // For Shill client callbacks 183 // For Shill client callbacks
183 base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl> 184 base::WeakPtrFactory<ManagedNetworkConfigurationHandlerImpl>
184 weak_ptr_factory_; 185 weak_ptr_factory_;
185 186
186 DISALLOW_COPY_AND_ASSIGN(ManagedNetworkConfigurationHandlerImpl); 187 DISALLOW_COPY_AND_ASSIGN(ManagedNetworkConfigurationHandlerImpl);
187 }; 188 };
188 189
189 } // namespace chromeos 190 } // namespace chromeos
190 191
191 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_ 192 #endif // CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698