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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h b/chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h
index d3e547e17c7f258d44f29657c83f9687d15b69e7..561f0476548f31252fe34712c7f499318b3134fe 100644
--- a/chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h
+++ b/chrome/browser/safe_browsing/incident_reporting/module_load_analyzer.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_MODULE_LOAD_ANALYZER_H_
#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_MODULE_LOAD_ANALYZER_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
namespace safe_browsing {
@@ -22,7 +23,7 @@ void RegisterModuleLoadAnalysis(
// service will decide when to start the analysis.
void VerifyModuleLoadState(
const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager,
- scoped_ptr<IncidentReceiver> incident_receiver);
+ std::unique_ptr<IncidentReceiver> incident_receiver);
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698