| 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/webui/options/certificate_manager_handler.h" | 5 #include "chrome/browser/ui/webui/options/certificate_manager_handler.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
| 12 #include "base/file_util.h" // for FileAccessProvider | 12 #include "base/files/file_util.h" // for FileAccessProvider |
| 13 #include "base/i18n/string_compare.h" | 13 #include "base/i18n/string_compare.h" |
| 14 #include "base/id_map.h" | 14 #include "base/id_map.h" |
| 15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
| 16 #include "base/safe_strerror_posix.h" | 16 #include "base/safe_strerror_posix.h" |
| 17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
| 18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "base/values.h" | 19 #include "base/values.h" |
| 20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 21 #include "chrome/browser/certificate_viewer.h" | 21 #include "chrome/browser/certificate_viewer.h" |
| 22 #include "chrome/browser/profiles/profile.h" | 22 #include "chrome/browser/profiles/profile.h" |
| (...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1149 title_value, | 1149 title_value, |
| 1150 error_value, | 1150 error_value, |
| 1151 cert_error_list); | 1151 cert_error_list); |
| 1152 } | 1152 } |
| 1153 | 1153 |
| 1154 gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const { | 1154 gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const { |
| 1155 return web_ui()->GetWebContents()->GetTopLevelNativeWindow(); | 1155 return web_ui()->GetWebContents()->GetTopLevelNativeWindow(); |
| 1156 } | 1156 } |
| 1157 | 1157 |
| 1158 } // namespace options | 1158 } // namespace options |
| OLD | NEW |