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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.cc

Issue 1870003002: Convert //chrome/browser/safe_browsing from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/incident_reporting/module_load_analyzer.h " 5 #include "chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h "
6 6
7 #include "base/feature_list.h" 7 #include "base/feature_list.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h" 10 #include "chrome/browser/safe_browsing/incident_reporting/incident_receiver.h"
(...skipping 21 matching lines...) Expand all
32 ->RegisterExtendedReportingOnlyDelayedAnalysisCallback( 32 ->RegisterExtendedReportingOnlyDelayedAnalysisCallback(
33 base::Bind(&VerifyModuleLoadState, database_manager)); 33 base::Bind(&VerifyModuleLoadState, database_manager));
34 } 34 }
35 } 35 }
36 #endif 36 #endif
37 } 37 }
38 38
39 #if !defined(OS_WIN) 39 #if !defined(OS_WIN)
40 void VerifyModuleLoadState( 40 void VerifyModuleLoadState(
41 const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager, 41 const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager,
42 scoped_ptr<IncidentReceiver> incident_receiver) {} 42 std::unique_ptr<IncidentReceiver> incident_receiver) {}
43 #endif // !defined(OS_WIN) 43 #endif // !defined(OS_WIN)
44 44
45 } // namespace safe_browsing 45 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698