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

Unified Diff: chrome/browser/download/download_status_updater.h

Issue 2457923002: Remove stl_util's deletion function use and ScopedVector from chrome/browser/download/. (Closed)
Patch Set: sky Created 4 years, 2 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/download/download_status_updater.h
diff --git a/chrome/browser/download/download_status_updater.h b/chrome/browser/download/download_status_updater.h
index 8964b5570b33b1db638eef8e3f6726853b9ff539..258e1a00db662b3beb0cf3e95b33eda43ed4b4f0 100644
--- a/chrome/browser/download/download_status_updater.h
+++ b/chrome/browser/download/download_status_updater.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATUS_UPDATER_H_
#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATUS_UPDATER_H_
+#include <memory>
#include <set>
#include "base/macros.h"
@@ -46,7 +47,7 @@ class DownloadStatusUpdater
virtual void UpdateAppIconDownloadProgress(content::DownloadItem* download);
private:
- std::vector<AllDownloadItemNotifier*> notifiers_;
+ std::vector<std::unique_ptr<AllDownloadItemNotifier>> notifiers_;
DISALLOW_COPY_AND_ASSIGN(DownloadStatusUpdater);
};
« no previous file with comments | « chrome/browser/download/download_query_unittest.cc ('k') | chrome/browser/download/download_status_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698