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

Unified Diff: chrome/browser/diagnostics/recon_diagnostics.h

Issue 2442953002: Remove stl_util's deletion function use from chrome/. (Closed)
Patch Set: fix Created 4 years, 2 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
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_model.cc ('k') | chrome/browser/diagnostics/recon_diagnostics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/diagnostics/recon_diagnostics.h
diff --git a/chrome/browser/diagnostics/recon_diagnostics.h b/chrome/browser/diagnostics/recon_diagnostics.h
index de940a7b8c64294f597a13154302a41f532c31fd..c94c36872b8b3d030d389de3e383f405529beb85 100644
--- a/chrome/browser/diagnostics/recon_diagnostics.h
+++ b/chrome/browser/diagnostics/recon_diagnostics.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_
#define CHROME_BROWSER_DIAGNOSTICS_RECON_DIAGNOSTICS_H_
+#include <memory>
+
#include "chrome/browser/diagnostics/diagnostics_test.h"
namespace diagnostics {
@@ -43,17 +45,17 @@ enum OutcomeCodes {
DIAG_RECON_PARSE_ERROR,
};
-DiagnosticsTest* MakeBookMarksTest();
-DiagnosticsTest* MakeDictonaryDirTest();
-DiagnosticsTest* MakeDiskSpaceTest();
-DiagnosticsTest* MakeInstallTypeTest();
-DiagnosticsTest* MakeLocalStateFileTest();
-DiagnosticsTest* MakeLocalStateTest();
-DiagnosticsTest* MakeOperatingSystemTest();
-DiagnosticsTest* MakePreferencesTest();
-DiagnosticsTest* MakeResourcesFileTest();
-DiagnosticsTest* MakeUserDirTest();
-DiagnosticsTest* MakeVersionTest();
+std::unique_ptr<DiagnosticsTest> MakeBookMarksTest();
+std::unique_ptr<DiagnosticsTest> MakeDictonaryDirTest();
+std::unique_ptr<DiagnosticsTest> MakeDiskSpaceTest();
+std::unique_ptr<DiagnosticsTest> MakeInstallTypeTest();
+std::unique_ptr<DiagnosticsTest> MakeLocalStateFileTest();
+std::unique_ptr<DiagnosticsTest> MakeLocalStateTest();
+std::unique_ptr<DiagnosticsTest> MakeOperatingSystemTest();
+std::unique_ptr<DiagnosticsTest> MakePreferencesTest();
+std::unique_ptr<DiagnosticsTest> MakeResourcesFileTest();
+std::unique_ptr<DiagnosticsTest> MakeUserDirTest();
+std::unique_ptr<DiagnosticsTest> MakeVersionTest();
} // namespace diagnostics
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_model.cc ('k') | chrome/browser/diagnostics/recon_diagnostics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698