| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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_features.h" | 46 #include "chrome/common/chrome_features.h" | 
| 47 #include "chrome/common/chrome_switches.h" | 47 #include "chrome/common/chrome_switches.h" | 
| 48 #include "chrome/common/url_constants.h" | 48 #include "chrome/common/url_constants.h" | 
| 49 #include "chrome/grit/theme_resources.h" | 49 #include "chrome/grit/theme_resources.h" | 
| 50 #include "components/content_settings/core/browser/content_settings_utils.h" | 50 #include "components/content_settings/core/browser/content_settings_utils.h" | 
| 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/content_settings/core/common/content_settings_utils.h" | 
| 54 #include "components/rappor/public/rappor_utils.h" | 55 #include "components/rappor/public/rappor_utils.h" | 
| 55 #include "components/rappor/rappor_service_impl.h" | 56 #include "components/rappor/rappor_service_impl.h" | 
| 56 #include "components/ssl_errors/error_info.h" | 57 #include "components/ssl_errors/error_info.h" | 
| 57 #include "components/strings/grit/components_chromium_strings.h" | 58 #include "components/strings/grit/components_chromium_strings.h" | 
| 58 #include "components/strings/grit/components_strings.h" | 59 #include "components/strings/grit/components_strings.h" | 
| 59 #include "components/subresource_filter/core/browser/subresource_filter_features
     .h" | 60 #include "components/subresource_filter/core/browser/subresource_filter_features
     .h" | 
| 60 #include "components/url_formatter/elide_url.h" | 61 #include "components/url_formatter/elide_url.h" | 
| 61 #include "content/public/browser/browser_thread.h" | 62 #include "content/public/browser/browser_thread.h" | 
| 62 #include "content/public/common/content_switches.h" | 63 #include "content/public/common/content_switches.h" | 
| 63 #include "content/public/common/url_constants.h" | 64 #include "content/public/common/url_constants.h" | 
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 800     info.site_identity = UTF16ToUTF8(GetSimpleSiteName(site_url_)); | 801     info.site_identity = UTF16ToUTF8(GetSimpleSiteName(site_url_)); | 
| 801 | 802 | 
| 802   info.connection_status = site_connection_status_; | 803   info.connection_status = site_connection_status_; | 
| 803   info.connection_status_description = UTF16ToUTF8(site_connection_details_); | 804   info.connection_status_description = UTF16ToUTF8(site_connection_details_); | 
| 804   info.identity_status = site_identity_status_; | 805   info.identity_status = site_identity_status_; | 
| 805   info.identity_status_description = UTF16ToUTF8(site_identity_details_); | 806   info.identity_status_description = UTF16ToUTF8(site_identity_details_); | 
| 806   info.certificate = certificate_; | 807   info.certificate = certificate_; | 
| 807   info.show_ssl_decision_revoke_button = show_ssl_decision_revoke_button_; | 808   info.show_ssl_decision_revoke_button = show_ssl_decision_revoke_button_; | 
| 808   ui_->SetIdentityInfo(info); | 809   ui_->SetIdentityInfo(info); | 
| 809 } | 810 } | 
| OLD | NEW | 
|---|