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

Side by Side Diff: chrome/common/safe_browsing/binary_feature_extractor_win.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/common/safe_browsing/binary_feature_extractor.h" 5 #include "chrome/common/safe_browsing/binary_feature_extractor.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <softpub.h> 8 #include <softpub.h>
9 #include <stddef.h>
10 #include <stdint.h>
9 #include <wintrust.h> 11 #include <wintrust.h>
10 12
11 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "chrome/common/safe_browsing/csd.pb.h" 15 #include "chrome/common/safe_browsing/csd.pb.h"
14 #include "chrome/common/safe_browsing/pe_image_reader_win.h" 16 #include "chrome/common/safe_browsing/pe_image_reader_win.h"
15 17
16 #pragma comment(lib, "wintrust.lib") 18 #pragma comment(lib, "wintrust.lib")
17 19
18 namespace safe_browsing { 20 namespace safe_browsing {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 161 }
160 } 162 }
161 163
162 if (signed_data) 164 if (signed_data)
163 pe_image.EnumCertificates(&OnCertificateEntry, signed_data); 165 pe_image.EnumCertificates(&OnCertificateEntry, signed_data);
164 166
165 return true; 167 return true;
166 } 168 }
167 169
168 } // namespace safe_browsing 170 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698