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/ui/page_info/page_info.h" | 5 #include "chrome/browser/ui/page_info/page_info.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "components/content_settings/core/browser/host_content_settings_map.h" | 51 #include "components/content_settings/core/browser/host_content_settings_map.h" |
52 #include "components/content_settings/core/common/content_settings.h" | 52 #include "components/content_settings/core/common/content_settings.h" |
53 #include "components/content_settings/core/common/content_settings_pattern.h" | 53 #include "components/content_settings/core/common/content_settings_pattern.h" |
54 #include "components/rappor/public/rappor_utils.h" | 54 #include "components/rappor/public/rappor_utils.h" |
55 #include "components/rappor/rappor_service_impl.h" | 55 #include "components/rappor/rappor_service_impl.h" |
56 #include "components/ssl_errors/error_info.h" | 56 #include "components/ssl_errors/error_info.h" |
57 #include "components/strings/grit/components_chromium_strings.h" | 57 #include "components/strings/grit/components_chromium_strings.h" |
58 #include "components/strings/grit/components_strings.h" | 58 #include "components/strings/grit/components_strings.h" |
59 #include "components/url_formatter/elide_url.h" | 59 #include "components/url_formatter/elide_url.h" |
60 #include "content/public/browser/browser_thread.h" | 60 #include "content/public/browser/browser_thread.h" |
61 #include "content/public/browser/user_metrics.h" | |
62 #include "content/public/common/content_switches.h" | 61 #include "content/public/common/content_switches.h" |
63 #include "content/public/common/url_constants.h" | 62 #include "content/public/common/url_constants.h" |
64 #include "net/cert/cert_status_flags.h" | 63 #include "net/cert/cert_status_flags.h" |
65 #include "net/cert/x509_certificate.h" | 64 #include "net/cert/x509_certificate.h" |
66 #include "net/ssl/ssl_cipher_suite_names.h" | 65 #include "net/ssl/ssl_cipher_suite_names.h" |
67 #include "net/ssl/ssl_connection_status_flags.h" | 66 #include "net/ssl/ssl_connection_status_flags.h" |
68 #include "third_party/boringssl/src/include/openssl/ssl.h" | 67 #include "third_party/boringssl/src/include/openssl/ssl.h" |
69 #include "ui/base/l10n/l10n_util.h" | 68 #include "ui/base/l10n/l10n_util.h" |
70 | 69 |
71 #if defined(OS_CHROMEOS) | 70 #if defined(OS_CHROMEOS) |
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 info.site_identity = UTF16ToUTF8(GetSimpleSiteName(site_url_)); | 740 info.site_identity = UTF16ToUTF8(GetSimpleSiteName(site_url_)); |
742 | 741 |
743 info.connection_status = site_connection_status_; | 742 info.connection_status = site_connection_status_; |
744 info.connection_status_description = UTF16ToUTF8(site_connection_details_); | 743 info.connection_status_description = UTF16ToUTF8(site_connection_details_); |
745 info.identity_status = site_identity_status_; | 744 info.identity_status = site_identity_status_; |
746 info.identity_status_description = UTF16ToUTF8(site_identity_details_); | 745 info.identity_status_description = UTF16ToUTF8(site_identity_details_); |
747 info.certificate = certificate_; | 746 info.certificate = certificate_; |
748 info.show_ssl_decision_revoke_button = show_ssl_decision_revoke_button_; | 747 info.show_ssl_decision_revoke_button = show_ssl_decision_revoke_button_; |
749 ui_->SetIdentityInfo(info); | 748 ui_->SetIdentityInfo(info); |
750 } | 749 } |
OLD | NEW |