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

Unified Diff: courgette/program_detector.h

Issue 1855133002: convert //courgette to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment in memory_allocator.h 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
« no previous file with comments | « courgette/patcher_x86_32.h ('k') | courgette/program_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/program_detector.h
diff --git a/courgette/program_detector.h b/courgette/program_detector.h
index 81b6e2d1a3b4efdb5208d33c4b95b9aef197fa19..06f1da3f84762791181742776de0d466ded7dec8 100644
--- a/courgette/program_detector.h
+++ b/courgette/program_detector.h
@@ -7,7 +7,8 @@
#include <stddef.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "courgette/courgette.h"
namespace courgette {
@@ -36,8 +37,8 @@ Status DetectExecutableType(const void* buffer,
// Returns an error status and assigns |*output| to null.
Status ParseDetectedExecutable(const void* buffer,
size_t length,
- scoped_ptr<AssemblyProgram>* output);
+ std::unique_ptr<AssemblyProgram>* output);
} // namespace courgette
-#endif // COURGETTE_PROGRAM_DETECTOR_H_
+#endif // COURGETTE_PROGRAM_DETECTOR_H_
« no previous file with comments | « courgette/patcher_x86_32.h ('k') | courgette/program_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698