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

Side by Side Diff: net/base/keygen_handler_win.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/base/ip_pattern.cc ('k') | net/base/linked_hash_map.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 #include "net/base/keygen_handler.h" 5 #include "net/base/keygen_handler.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <rpc.h> 8 #include <rpc.h>
9 9
10 #include <list> 10 #include <list>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/base64.h" 14 #include "base/base64.h"
15 #include "base/basictypes.h"
16 #include "base/logging.h" 15 #include "base/logging.h"
17 #include "base/strings/string_piece.h" 16 #include "base/strings/string_piece.h"
18 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
19 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
20 #include "crypto/capi_util.h" 19 #include "crypto/capi_util.h"
21 #include "crypto/scoped_capi_types.h" 20 #include "crypto/scoped_capi_types.h"
22 #include "crypto/wincrypt_shim.h" 21 #include "crypto/wincrypt_shim.h"
23 22
24 #pragma comment(lib, "crypt32.lib") 23 #pragma comment(lib, "crypt32.lib")
25 #pragma comment(lib, "rpcrt4.lib") 24 #pragma comment(lib, "rpcrt4.lib")
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 212
214 std::string result; 213 std::string result;
215 base::Base64Encode(spkac, &result); 214 base::Base64Encode(spkac, &result);
216 215
217 VLOG(1) << "Keygen succeeded"; 216 VLOG(1) << "Keygen succeeded";
218 return result; 217 return result;
219 } 218 }
220 } 219 }
221 220
222 } // namespace net 221 } // namespace net
OLDNEW
« no previous file with comments | « net/base/ip_pattern.cc ('k') | net/base/linked_hash_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698