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 <errno.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <map> | 10 #include <map> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
12 #include "base/files/file_util.h" // for FileAccessProvider | 14 #include "base/files/file_util.h" // for FileAccessProvider |
13 #include "base/i18n/string_compare.h" | 15 #include "base/i18n/string_compare.h" |
14 #include "base/id_map.h" | 16 #include "base/id_map.h" |
15 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
16 #include "base/posix/safe_strerror.h" | 18 #include "base/posix/safe_strerror.h" |
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 title_value, | 1155 title_value, |
1154 error_value, | 1156 error_value, |
1155 cert_error_list); | 1157 cert_error_list); |
1156 } | 1158 } |
1157 | 1159 |
1158 gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const { | 1160 gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const { |
1159 return web_ui()->GetWebContents()->GetTopLevelNativeWindow(); | 1161 return web_ui()->GetWebContents()->GetTopLevelNativeWindow(); |
1160 } | 1162 } |
1161 | 1163 |
1162 } // namespace options | 1164 } // namespace options |
OLD | NEW |