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

Unified Diff: chrome/browser/extensions/api/image_writer_private/operation.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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/extensions/api/image_writer_private/operation.h
diff --git a/chrome/browser/extensions/api/image_writer_private/operation.h b/chrome/browser/extensions/api/image_writer_private/operation.h
index bf629529c3a2e4d374e17bb45967fd2db3da9108..c524d255a69257f69d80beb8ce3294f3fd12575d 100644
--- a/chrome/browser/extensions/api/image_writer_private/operation.h
+++ b/chrome/browser/extensions/api/image_writer_private/operation.h
@@ -217,7 +217,7 @@ class Operation : public base::RefCountedThreadSafe<Operation> {
// Zip reader for unzip operations. The reason for using a pointer is that we
// don't want to include zip_reader.h here which can mangle definitions in
// jni.h when included in the same file. See crbug.com/554199.
- scoped_ptr<zip::ZipReader> zip_reader_;
+ std::unique_ptr<zip::ZipReader> zip_reader_;
// CleanUp operations that must be run. All these functions are run on the
// FILE thread.

Powered by Google App Engine
This is Rietveld 408576698