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/website_settings/website_settings.h" | 5 #include "chrome/browser/ui/website_settings/website_settings.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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "chrome/grit/chromium_strings.h" | 45 #include "chrome/grit/chromium_strings.h" |
46 #include "chrome/grit/generated_resources.h" | 46 #include "chrome/grit/generated_resources.h" |
47 #include "chrome/grit/theme_resources.h" | 47 #include "chrome/grit/theme_resources.h" |
48 #include "components/content_settings/core/browser/content_settings_utils.h" | 48 #include "components/content_settings/core/browser/content_settings_utils.h" |
49 #include "components/content_settings/core/browser/host_content_settings_map.h" | 49 #include "components/content_settings/core/browser/host_content_settings_map.h" |
50 #include "components/content_settings/core/browser/local_shared_objects_counter.
h" | 50 #include "components/content_settings/core/browser/local_shared_objects_counter.
h" |
51 #include "components/content_settings/core/common/content_settings.h" | 51 #include "components/content_settings/core/common/content_settings.h" |
52 #include "components/content_settings/core/common/content_settings_pattern.h" | 52 #include "components/content_settings/core/common/content_settings_pattern.h" |
53 #include "components/rappor/rappor_utils.h" | 53 #include "components/rappor/rappor_utils.h" |
54 #include "components/ssl_errors/error_info.h" | 54 #include "components/ssl_errors/error_info.h" |
| 55 #include "components/strings/grit/components_chromium_strings.h" |
| 56 #include "components/strings/grit/components_strings.h" |
55 #include "components/url_formatter/elide_url.h" | 57 #include "components/url_formatter/elide_url.h" |
56 #include "content/public/browser/browser_thread.h" | 58 #include "content/public/browser/browser_thread.h" |
57 #include "content/public/browser/cert_store.h" | 59 #include "content/public/browser/cert_store.h" |
58 #include "content/public/browser/permission_type.h" | 60 #include "content/public/browser/permission_type.h" |
59 #include "content/public/browser/user_metrics.h" | 61 #include "content/public/browser/user_metrics.h" |
60 #include "content/public/common/content_switches.h" | 62 #include "content/public/common/content_switches.h" |
61 #include "content/public/common/url_constants.h" | 63 #include "content/public/common/url_constants.h" |
62 #include "grit/components_chromium_strings.h" | |
63 #include "grit/components_strings.h" | |
64 #include "net/cert/cert_status_flags.h" | 64 #include "net/cert/cert_status_flags.h" |
65 #include "net/cert/x509_certificate.h" | 65 #include "net/cert/x509_certificate.h" |
66 #include "net/ssl/ssl_cipher_suite_names.h" | 66 #include "net/ssl/ssl_cipher_suite_names.h" |
67 #include "net/ssl/ssl_connection_status_flags.h" | 67 #include "net/ssl/ssl_connection_status_flags.h" |
68 #include "ui/base/l10n/l10n_util.h" | 68 #include "ui/base/l10n/l10n_util.h" |
69 | 69 |
70 #if defined(OS_CHROMEOS) | 70 #if defined(OS_CHROMEOS) |
71 #include "chrome/browser/chromeos/policy/policy_cert_service.h" | 71 #include "chrome/browser/chromeos/policy/policy_cert_service.h" |
72 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" | 72 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
73 #endif | 73 #endif |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 info.connection_status = site_connection_status_; | 804 info.connection_status = site_connection_status_; |
805 info.connection_status_description = | 805 info.connection_status_description = |
806 UTF16ToUTF8(site_connection_details_); | 806 UTF16ToUTF8(site_connection_details_); |
807 info.identity_status = site_identity_status_; | 807 info.identity_status = site_identity_status_; |
808 info.identity_status_description = | 808 info.identity_status_description = |
809 UTF16ToUTF8(site_identity_details_); | 809 UTF16ToUTF8(site_identity_details_); |
810 info.cert_id = cert_id_; | 810 info.cert_id = cert_id_; |
811 info.show_ssl_decision_revoke_button = show_ssl_decision_revoke_button_; | 811 info.show_ssl_decision_revoke_button = show_ssl_decision_revoke_button_; |
812 ui_->SetIdentityInfo(info); | 812 ui_->SetIdentityInfo(info); |
813 } | 813 } |
OLD | NEW |