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 // TODO(mattm): this isn't gtk specific, it shouldn't be under the gtk dir | 5 #include "chrome/browser/ui/certificate_dialogs.h" |
6 | |
7 #include "chrome/browser/ui/gtk/certificate_dialogs.h" | |
8 | 6 |
9 | 7 |
10 #include <vector> | 8 #include <vector> |
11 | 9 |
12 #include "base/base64.h" | 10 #include "base/base64.h" |
13 #include "base/file_util.h" | 11 #include "base/file_util.h" |
14 #include "base/logging.h" | 12 #include "base/logging.h" |
15 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
16 #include "base/task.h" | 14 #include "base/task.h" |
17 #include "chrome/common/net/x509_certificate_model.h" | 15 #include "chrome/common/net/x509_certificate_model.h" |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 suggested_path, &file_type_info, 1, | 184 suggested_path, &file_type_info, 1, |
187 FILE_PATH_LITERAL("crt"), tab_contents, | 185 FILE_PATH_LITERAL("crt"), tab_contents, |
188 parent, params); | 186 parent, params); |
189 } | 187 } |
190 | 188 |
191 void ShowCertExportDialog(TabContents* tab_contents, | 189 void ShowCertExportDialog(TabContents* tab_contents, |
192 gfx::NativeWindow parent, | 190 gfx::NativeWindow parent, |
193 net::X509Certificate::OSCertHandle cert) { | 191 net::X509Certificate::OSCertHandle cert) { |
194 new Exporter(tab_contents, parent, cert); | 192 new Exporter(tab_contents, parent, cert); |
195 } | 193 } |
OLD | NEW |