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

Side by Side Diff: net/cert/x509_cert_types_win.cc

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
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 "net/cert/x509_cert_types.h" 5 #include "net/cert/x509_cert_types.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/free_deleter.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
12 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
13 #include "crypto/capi_util.h" 14 #include "crypto/capi_util.h"
14 #include "crypto/wincrypt_shim.h" 15 #include "crypto/wincrypt_shim.h"
15 16
16 #pragma comment(lib, "crypt32.lib") 17 #pragma comment(lib, "crypt32.lib")
17 18
18 namespace net { 19 namespace net {
19 20
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 131 }
131 132
132 SetSingle(common_names, &this->common_name); 133 SetSingle(common_names, &this->common_name);
133 SetSingle(locality_names, &this->locality_name); 134 SetSingle(locality_names, &this->locality_name);
134 SetSingle(state_names, &this->state_or_province_name); 135 SetSingle(state_names, &this->state_or_province_name);
135 SetSingle(country_names, &this->country_name); 136 SetSingle(country_names, &this->country_name);
136 return true; 137 return true;
137 } 138 }
138 139
139 } // namespace net 140 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698