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

Side by Side Diff: chrome/browser/ui/views/certificate_viewer_win.cc

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 months 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
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 #include "chrome/browser/certificate_viewer.h" 5 #include "chrome/browser/certificate_viewer.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <cryptuiapi.h> 8 #include <cryptuiapi.h>
9 #pragma comment(lib, "cryptui.lib") 9 #pragma comment(lib, "cryptui.lib")
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "net/base/x509_certificate.h" 12 #include "net/cert/x509_certificate.h"
13 13
14 #if defined(USE_AURA) 14 #if defined(USE_AURA)
15 #include "chrome/browser/ui/host_desktop.h" 15 #include "chrome/browser/ui/host_desktop.h"
16 #include "ui/aura/root_window.h" 16 #include "ui/aura/root_window.h"
17 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
18 #endif 18 #endif
19 19
20 namespace { 20 namespace {
21 21
22 void ShowCertificateViewerImpl(content::WebContents* web_contents, 22 void ShowCertificateViewerImpl(content::WebContents* web_contents,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 NOTIMPLEMENTED(); 61 NOTIMPLEMENTED();
62 } 62 }
63 } 63 }
64 #else 64 #else
65 void ShowCertificateViewer(content::WebContents* web_contents, 65 void ShowCertificateViewer(content::WebContents* web_contents,
66 gfx::NativeWindow parent, 66 gfx::NativeWindow parent,
67 net::X509Certificate* cert) { 67 net::X509Certificate* cert) {
68 ShowCertificateViewerImpl(web_contents, parent, cert); 68 ShowCertificateViewerImpl(web_contents, parent, cert);
69 } 69 }
70 #endif 70 #endif
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model_impl.cc ('k') | chrome/browser/ui/views/ssl_client_certificate_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698