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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_service.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/safe_browsing_service.h" 5 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
11 #include "base/callback.h" 13 #include "base/callback.h"
12 #include "base/command_line.h" 14 #include "base/command_line.h"
13 #include "base/lazy_instance.h" 15 #include "base/lazy_instance.h"
16 #include "base/macros.h"
14 #include "base/metrics/histogram_macros.h" 17 #include "base/metrics/histogram_macros.h"
15 #include "base/path_service.h" 18 #include "base/path_service.h"
16 #include "base/prefs/pref_change_registrar.h" 19 #include "base/prefs/pref_change_registrar.h"
17 #include "base/prefs/pref_service.h" 20 #include "base/prefs/pref_service.h"
18 #include "base/stl_util.h" 21 #include "base/stl_util.h"
19 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
20 #include "base/threading/thread.h" 23 #include "base/threading/thread.h"
21 #include "base/threading/thread_restrictions.h" 24 #include "base/threading/thread_restrictions.h"
25 #include "build/build_config.h"
22 #include "chrome/browser/browser_process.h" 26 #include "chrome/browser/browser_process.h"
23 #include "chrome/browser/chrome_notification_types.h" 27 #include "chrome/browser/chrome_notification_types.h"
24 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/browser/profiles/profile_manager.h" 29 #include "chrome/browser/profiles/profile_manager.h"
26 #include "chrome/browser/safe_browsing/client_side_detection_service.h" 30 #include "chrome/browser/safe_browsing/client_side_detection_service.h"
27 #include "chrome/browser/safe_browsing/database_manager.h" 31 #include "chrome/browser/safe_browsing/database_manager.h"
28 #include "chrome/browser/safe_browsing/download_protection_service.h" 32 #include "chrome/browser/safe_browsing/download_protection_service.h"
29 #include "chrome/browser/safe_browsing/ping_manager.h" 33 #include "chrome/browser/safe_browsing/ping_manager.h"
30 #include "chrome/browser/safe_browsing/protocol_manager.h" 34 #include "chrome/browser/safe_browsing/protocol_manager.h"
31 #include "chrome/browser/safe_browsing/ui_manager.h" 35 #include "chrome/browser/safe_browsing/ui_manager.h"
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 } 659 }
656 660
657 void SafeBrowsingService::OnSendDownloadRecoveryReport( 661 void SafeBrowsingService::OnSendDownloadRecoveryReport(
658 const std::string& report) { 662 const std::string& report) {
659 DCHECK_CURRENTLY_ON(BrowserThread::IO); 663 DCHECK_CURRENTLY_ON(BrowserThread::IO);
660 if (ping_manager()) 664 if (ping_manager())
661 ping_manager()->ReportThreatDetails(report); 665 ping_manager()->ReportThreatDetails(report);
662 } 666 }
663 667
664 } // namespace safe_browsing 668 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698