OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/page_info_model.h" | 5 #include "chrome/browser/page_info_model.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/i18n/time_formatting.h" | 10 #include "base/i18n/time_formatting.h" |
11 #include "base/string_number_conversions.h" | 11 #include "base/string_number_conversions.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
14 #include "chrome/browser/ssl/ssl_error_info.h" | 14 #include "chrome/browser/ssl/ssl_error_info.h" |
15 #include "chrome/browser/ssl/ssl_manager.h" | |
16 #include "content/browser/cert_store.h" | 15 #include "content/browser/cert_store.h" |
| 16 #include "content/browser/ssl/ssl_manager.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 #include "grit/theme_resources.h" | 18 #include "grit/theme_resources.h" |
19 #include "net/base/cert_status_flags.h" | 19 #include "net/base/cert_status_flags.h" |
20 #include "net/base/ssl_connection_status_flags.h" | 20 #include "net/base/ssl_connection_status_flags.h" |
21 #include "net/base/ssl_cipher_suite_names.h" | 21 #include "net/base/ssl_cipher_suite_names.h" |
22 #include "net/base/x509_certificate.h" | 22 #include "net/base/x509_certificate.h" |
23 #include "ui/base/l10n/l10n_util.h" | 23 #include "ui/base/l10n/l10n_util.h" |
24 #include "ui/base/resource/resource_bundle.h" | 24 #include "ui/base/resource/resource_bundle.h" |
25 | 25 |
26 PageInfoModel::PageInfoModel(Profile* profile, | 26 PageInfoModel::PageInfoModel(Profile* profile, |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 void PageInfoModel::Init() { | 338 void PageInfoModel::Init() { |
339 // Loads the icons into the vector. The order must match the SectionStateIcon | 339 // Loads the icons into the vector. The order must match the SectionStateIcon |
340 // enum. | 340 // enum. |
341 ResourceBundle& rb = ResourceBundle::GetSharedInstance(); | 341 ResourceBundle& rb = ResourceBundle::GetSharedInstance(); |
342 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_GOOD)); | 342 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_GOOD)); |
343 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_WARNING_MINOR)); | 343 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_WARNING_MINOR)); |
344 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_WARNING_MAJOR)); | 344 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_WARNING_MAJOR)); |
345 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_BAD)); | 345 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_BAD)); |
346 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_INFO)); | 346 icons_.push_back(&rb.GetNativeImageNamed(IDR_PAGEINFO_INFO)); |
347 } | 347 } |
OLD | NEW |