| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
| 5 #include <algorithm> | 8 #include <algorithm> |
| 6 #include <vector> | 9 #include <vector> |
| 7 | 10 |
| 8 #include "base/bind.h" | 11 #include "base/bind.h" |
| 9 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
| 10 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 12 #include "chromeos/network/managed_network_configuration_handler.h" | 15 #include "chromeos/network/managed_network_configuration_handler.h" |
| 13 #include "chromeos/network/network_handler.h" | 16 #include "chromeos/network/network_handler.h" |
| 14 #include "chromeos/network/network_state.h" | 17 #include "chromeos/network/network_state.h" |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 network_handler->managed_network_configuration_handler()->GetProperties( | 224 network_handler->managed_network_configuration_handler()->GetProperties( |
| 222 "" /* empty userhash */, service_path, | 225 "" /* empty userhash */, service_path, |
| 223 base::Bind(&NetworkingConfigService::OnGotProperties, | 226 base::Bind(&NetworkingConfigService::OnGotProperties, |
| 224 weak_factory_.GetWeakPtr(), extension_id, guid, | 227 weak_factory_.GetWeakPtr(), extension_id, guid, |
| 225 authentication_callback), | 228 authentication_callback), |
| 226 base::Bind(&NetworkingConfigService::OnGetPropertiesFailed, | 229 base::Bind(&NetworkingConfigService::OnGetPropertiesFailed, |
| 227 weak_factory_.GetWeakPtr(), extension_id, guid)); | 230 weak_factory_.GetWeakPtr(), extension_id, guid)); |
| 228 } | 231 } |
| 229 | 232 |
| 230 } // namespace extensions | 233 } // namespace extensions |
| OLD | NEW |