Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Side by Side Diff: chrome/browser/ui/certificate_dialogs.cc

Issue 8543001: move chrome/browser/ui/gtk/certificate_viewer.* to chrome/browser/ui, add it to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort and rebase Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/certificate_dialogs.h ('k') | chrome/browser/ui/gtk/certificate_dialogs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/certificate_dialogs.h ('k') | chrome/browser/ui/gtk/certificate_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698