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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/file_stream_md5_digester.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/chromeos/extensions/file_manager/file_stream_md5_digester.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_stream_md5_digester.cc b/chrome/browser/chromeos/extensions/file_manager/file_stream_md5_digester.cc
index 4d65523d488d6b6a6aafeff995e7d6dccea612ba..163dc766c90d7c2643adf206c4adc20d9814dd31 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_stream_md5_digester.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/file_stream_md5_digester.cc
@@ -25,7 +25,7 @@ FileStreamMd5Digester::FileStreamMd5Digester()
FileStreamMd5Digester::~FileStreamMd5Digester() {}
void FileStreamMd5Digester::GetMd5Digest(
- scoped_ptr<storage::FileStreamReader> stream_reader,
+ std::unique_ptr<storage::FileStreamReader> stream_reader,
const ResultCallback& callback) {
reader_ = std::move(stream_reader);
base::MD5Init(&md5_context_);

Powered by Google App Engine
This is Rietveld 408576698