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 27 matching lines...) Expand all Loading... | |
38 #include "chrome/browser/permissions/permission_uma_util.h" | 38 #include "chrome/browser/permissions/permission_uma_util.h" |
39 #include "chrome/browser/permissions/permission_util.h" | 39 #include "chrome/browser/permissions/permission_util.h" |
40 #include "chrome/browser/profiles/profile.h" | 40 #include "chrome/browser/profiles/profile.h" |
41 #include "chrome/browser/ssl/chrome_ssl_host_state_delegate.h" | 41 #include "chrome/browser/ssl/chrome_ssl_host_state_delegate.h" |
42 #include "chrome/browser/ssl/chrome_ssl_host_state_delegate_factory.h" | 42 #include "chrome/browser/ssl/chrome_ssl_host_state_delegate_factory.h" |
43 #include "chrome/browser/ui/page_info/page_info_ui.h" | 43 #include "chrome/browser/ui/page_info/page_info_ui.h" |
44 #include "chrome/browser/usb/usb_chooser_context.h" | 44 #include "chrome/browser/usb/usb_chooser_context.h" |
45 #include "chrome/browser/usb/usb_chooser_context_factory.h" | 45 #include "chrome/browser/usb/usb_chooser_context_factory.h" |
46 #include "chrome/common/chrome_switches.h" | 46 #include "chrome/common/chrome_switches.h" |
47 #include "chrome/common/url_constants.h" | 47 #include "chrome/common/url_constants.h" |
48 #include "chrome/grit/chromium_strings.h" | |
49 #include "chrome/grit/generated_resources.h" | 48 #include "chrome/grit/generated_resources.h" |
estark
2017/04/28 05:05:25
is this still needed?
lgarron
2017/04/28 22:04:32
Nope, as long as we move IDS_CERT_POLICY_PROVIDED_
| |
50 #include "chrome/grit/theme_resources.h" | 49 #include "chrome/grit/theme_resources.h" |
51 #include "components/content_settings/core/browser/content_settings_utils.h" | 50 #include "components/content_settings/core/browser/content_settings_utils.h" |
52 #include "components/content_settings/core/browser/host_content_settings_map.h" | 51 #include "components/content_settings/core/browser/host_content_settings_map.h" |
53 #include "components/content_settings/core/common/content_settings.h" | 52 #include "components/content_settings/core/common/content_settings.h" |
54 #include "components/content_settings/core/common/content_settings_pattern.h" | 53 #include "components/content_settings/core/common/content_settings_pattern.h" |
55 #include "components/rappor/public/rappor_utils.h" | 54 #include "components/rappor/public/rappor_utils.h" |
56 #include "components/rappor/rappor_service_impl.h" | 55 #include "components/rappor/rappor_service_impl.h" |
57 #include "components/ssl_errors/error_info.h" | 56 #include "components/ssl_errors/error_info.h" |
58 #include "components/strings/grit/components_chromium_strings.h" | 57 #include "components/strings/grit/components_chromium_strings.h" |
59 #include "components/strings/grit/components_strings.h" | 58 #include "components/strings/grit/components_strings.h" |
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
769 info.site_identity = UTF16ToUTF8(GetSimpleSiteName(site_url_)); | 768 info.site_identity = UTF16ToUTF8(GetSimpleSiteName(site_url_)); |
770 | 769 |
771 info.connection_status = site_connection_status_; | 770 info.connection_status = site_connection_status_; |
772 info.connection_status_description = UTF16ToUTF8(site_connection_details_); | 771 info.connection_status_description = UTF16ToUTF8(site_connection_details_); |
773 info.identity_status = site_identity_status_; | 772 info.identity_status = site_identity_status_; |
774 info.identity_status_description = UTF16ToUTF8(site_identity_details_); | 773 info.identity_status_description = UTF16ToUTF8(site_identity_details_); |
775 info.certificate = certificate_; | 774 info.certificate = certificate_; |
776 info.show_ssl_decision_revoke_button = show_ssl_decision_revoke_button_; | 775 info.show_ssl_decision_revoke_button = show_ssl_decision_revoke_button_; |
777 ui_->SetIdentityInfo(info); | 776 ui_->SetIdentityInfo(info); |
778 } | 777 } |
OLD | NEW |