| OLD | NEW |
| 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 #include "chrome/browser/chromeos/options/vpn_config_view.h" | 5 #include "chrome/browser/chromeos/options/vpn_config_view.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/browser/chromeos/cros/cros_library.h" | 10 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 11 #include "chrome/browser/chromeos/cros/onc_constants.h" | 11 #include "chrome/browser/chromeos/cros/onc_constants.h" |
| 12 #include "chrome/browser/chromeos/enrollment_dialog_view.h" | 12 #include "chrome/browser/chromeos/enrollment_dialog_view.h" |
| 13 #include "chrome/browser/profiles/profile_manager.h" | 13 #include "chrome/browser/profiles/profile_manager.h" |
| 14 #include "chrome/common/net/x509_certificate_model.h" | 14 #include "chrome/common/net/x509_certificate_model.h" |
| 15 #include "grit/chromium_strings.h" | 15 #include "grit/chromium_strings.h" |
| 16 #include "grit/generated_resources.h" | 16 #include "grit/generated_resources.h" |
| 17 #include "grit/locale_settings.h" | 17 #include "grit/locale_settings.h" |
| 18 #include "grit/theme_resources.h" | 18 #include "grit/theme_resources.h" |
| 19 #include "net/base/cert_database.h" | |
| 20 #include "net/base/x509_certificate.h" | |
| 21 #include "ui/base/events/event.h" | 19 #include "ui/base/events/event.h" |
| 22 #include "ui/base/l10n/l10n_util.h" | 20 #include "ui/base/l10n/l10n_util.h" |
| 23 #include "ui/base/models/combobox_model.h" | 21 #include "ui/base/models/combobox_model.h" |
| 24 #include "ui/base/resource/resource_bundle.h" | 22 #include "ui/base/resource/resource_bundle.h" |
| 25 #include "ui/views/controls/combobox/combobox.h" | 23 #include "ui/views/controls/combobox/combobox.h" |
| 26 #include "ui/views/controls/label.h" | 24 #include "ui/views/controls/label.h" |
| 27 #include "ui/views/controls/textfield/textfield.h" | 25 #include "ui/views/controls/textfield/textfield.h" |
| 28 #include "ui/views/layout/grid_layout.h" | 26 #include "ui/views/layout/grid_layout.h" |
| 29 #include "ui/views/layout/layout_constants.h" | 27 #include "ui/views/layout/layout_constants.h" |
| 30 #include "ui/views/widget/widget.h" | 28 #include "ui/views/widget/widget.h" |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 889 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); | 887 NetworkLibrary* network_library = CrosLibrary::Get()->GetNetworkLibrary(); |
| 890 const base::DictionaryValue* onc = | 888 const base::DictionaryValue* onc = |
| 891 network_library->FindOncForNetwork(network->unique_id()); | 889 network_library->FindOncForNetwork(network->unique_id()); |
| 892 | 890 |
| 893 property_ui_data->ParseOncProperty( | 891 property_ui_data->ParseOncProperty( |
| 894 network->ui_data(), onc, | 892 network->ui_data(), onc, |
| 895 base::StringPrintf("%s.%s.%s", onc::kVPN, dict_key.c_str(), key.c_str())); | 893 base::StringPrintf("%s.%s.%s", onc::kVPN, dict_key.c_str(), key.c_str())); |
| 896 } | 894 } |
| 897 | 895 |
| 898 } // namespace chromeos | 896 } // namespace chromeos |
| OLD | NEW |