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

Unified Diff: chrome/utility/importer/edge_database_reader_win.h

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/utility/importer/edge_database_reader_win.h
diff --git a/chrome/utility/importer/edge_database_reader_win.h b/chrome/utility/importer/edge_database_reader_win.h
index 1b87801358b637fef6d2d99cf59adacf261d6bb9..623918a31510a08c122c3c34ed195a5c4a4ec658 100644
--- a/chrome/utility/importer/edge_database_reader_win.h
+++ b/chrome/utility/importer/edge_database_reader_win.h
@@ -10,9 +10,9 @@
#undef JET_UNICODE
#include <map>
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
class EdgeErrorObject {
@@ -79,7 +79,7 @@ class EdgeDatabaseReader : public EdgeErrorObject {
bool OpenDatabase(const base::string16& database_file);
// Open a row enumerator for a specified table. Returns a nullptr on error.
- scoped_ptr<EdgeDatabaseTableEnumerator> OpenTableEnumerator(
+ std::unique_ptr<EdgeDatabaseTableEnumerator> OpenTableEnumerator(
const base::string16& table_name);
private:
« no previous file with comments | « chrome/utility/importer/edge_database_reader_unittest_win.cc ('k') | chrome/utility/importer/edge_database_reader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698