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

Unified Diff: chrome/browser/apps/drive/drive_app_converter.h

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Address comments from zea@ Created 3 years, 9 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/apps/drive/drive_app_converter.h
diff --git a/chrome/browser/apps/drive/drive_app_converter.h b/chrome/browser/apps/drive/drive_app_converter.h
index 777e5b63a25a7d497ba5be06ef0be40adeee29db..13687fe246dd954718da3a8ce966f268c0b9eeed 100644
--- a/chrome/browser/apps/drive/drive_app_converter.h
+++ b/chrome/browser/apps/drive/drive_app_converter.h
@@ -5,12 +5,13 @@
#ifndef CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_CONVERTER_H_
#define CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_CONVERTER_H_
+#include <memory>
#include <string>
+#include <vector>
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "chrome/browser/extensions/install_observer.h"
#include "chrome/common/web_application_info.h"
#include "components/drive/drive_app_registry.h"
@@ -63,7 +64,7 @@ class DriveAppConverter : public extensions::InstallObserver {
const extensions::Extension* extension_;
bool is_new_install_;
- ScopedVector<IconFetcher> fetchers_;
+ std::vector<std::unique_ptr<IconFetcher>> fetchers_;
scoped_refptr<extensions::CrxInstaller> crx_installer_;
FinishedCallback finished_callback_;
« no previous file with comments | « chrome/browser/apps/app_shim/app_shim_host_mac_unittest.cc ('k') | chrome/browser/apps/drive/drive_app_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698