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

Side by Side Diff: chrome/browser/safe_browsing/browser_feature_extractor.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (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 (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 "chrome/browser/safe_browsing/browser_feature_extractor.h" 5 #include "chrome/browser/safe_browsing/browser_feature_extractor.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <utility> 10 #include <utility>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
12 #include "base/format_macros.h" 14 #include "base/format_macros.h"
13 #include "base/location.h" 15 #include "base/location.h"
14 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
15 #include "base/stl_util.h" 17 #include "base/stl_util.h"
16 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 // Limit the number of matched bad IPs in one request to control 485 // Limit the number of matched bad IPs in one request to control
484 // the request's size 486 // the request's size
485 if (matched_bad_ips >= kMaxMalwareIPPerRequest) { 487 if (matched_bad_ips >= kMaxMalwareIPPerRequest) {
486 break; 488 break;
487 } 489 }
488 } 490 }
489 callback.Run(true, request.Pass()); 491 callback.Run(true, request.Pass());
490 } 492 }
491 493
492 } // namespace safe_browsing 494 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698