OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/ssl/ssl_manager.h" | 5 #include "chrome/browser/ssl/ssl_manager.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "chrome/app/theme/theme_resources.h" | 9 #include "grit/theme_resources.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
11 #include "chrome/browser/load_from_memory_cache_details.h" | 11 #include "chrome/browser/load_from_memory_cache_details.h" |
12 #include "chrome/browser/renderer_host/render_view_host.h" | 12 #include "chrome/browser/renderer_host/render_view_host.h" |
13 #include "chrome/browser/renderer_host/resource_request_details.h" | 13 #include "chrome/browser/renderer_host/resource_request_details.h" |
14 #include "chrome/browser/ssl/ssl_error_info.h" | 14 #include "chrome/browser/ssl/ssl_error_info.h" |
15 #include "chrome/browser/tab_contents/navigation_controller.h" | 15 #include "chrome/browser/tab_contents/navigation_controller.h" |
16 #include "chrome/browser/tab_contents/navigation_entry.h" | 16 #include "chrome/browser/tab_contents/navigation_entry.h" |
17 #include "chrome/browser/tab_contents/provisional_load_details.h" | 17 #include "chrome/browser/tab_contents/provisional_load_details.h" |
18 #include "chrome/browser/tab_contents/tab_util.h" | 18 #include "chrome/browser/tab_contents/tab_util.h" |
19 #include "chrome/browser/tab_contents/web_contents.h" | 19 #include "chrome/browser/tab_contents/web_contents.h" |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 | 723 |
724 if (ca_name) { | 724 if (ca_name) { |
725 // TODO(wtc): should we show the root CA's name instead? | 725 // TODO(wtc): should we show the root CA's name instead? |
726 *ca_name = l10n_util::GetStringF( | 726 *ca_name = l10n_util::GetStringF( |
727 IDS_SECURE_CONNECTION_EV_CA, | 727 IDS_SECURE_CONNECTION_EV_CA, |
728 UTF8ToWide(cert.issuer().organization_names[0])); | 728 UTF8ToWide(cert.issuer().organization_names[0])); |
729 } | 729 } |
730 return true; | 730 return true; |
731 } | 731 } |
732 | 732 |
OLD | NEW |