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

Unified Diff: third_party/leveldatabase/chromium_logger.h

Issue 1911823002: Convert //third_party from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update crashpad's README.chromium 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: third_party/leveldatabase/chromium_logger.h
diff --git a/third_party/leveldatabase/chromium_logger.h b/third_party/leveldatabase/chromium_logger.h
index 9c34d4000551d2a671ac713153e01c4a5a9dbe19..ce8b035b2d8121707bc7df578f5c9b40f4d49518 100644
--- a/third_party/leveldatabase/chromium_logger.h
+++ b/third_party/leveldatabase/chromium_logger.h
@@ -7,9 +7,10 @@
#include <stdint.h>
+#include <memory>
+
#include "base/files/file.h"
#include "base/format_macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "third_party/leveldatabase/src/include/leveldb/env.h"
@@ -85,7 +86,7 @@ class ChromiumLogger : public Logger {
}
private:
- scoped_ptr<base::File> file_;
+ std::unique_ptr<base::File> file_;
};
} // namespace leveldb
« no previous file with comments | « third_party/crashpad/crashpad/util/win/scoped_process_suspend_test.cc ('k') | third_party/leveldatabase/env_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698