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

Unified Diff: chrome/browser/ui/webui/options/clear_browser_data_handler.h

Issue 2606293002: Remove ScopedVector from chrome/browser/ui. (Closed)
Patch Set: view Created 3 years, 12 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/ui/webui/options/clear_browser_data_handler.h
diff --git a/chrome/browser/ui/webui/options/clear_browser_data_handler.h b/chrome/browser/ui/webui/options/clear_browser_data_handler.h
index e5d1aa56ec6d928685f3fb89a840ce9a1bf89ad1..d155e11436899d7f2b35c0dc4b24cd4862975a85 100644
--- a/chrome/browser/ui/webui/options/clear_browser_data_handler.h
+++ b/chrome/browser/ui/webui/options/clear_browser_data_handler.h
@@ -6,9 +6,9 @@
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_
#include <memory>
+#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "chrome/browser/browsing_data/browsing_data_remover.h"
#include "chrome/browser/ui/webui/options/options_ui.h"
#include "components/browser_sync/profile_sync_service.h"
@@ -83,7 +83,7 @@ class ClearBrowserDataHandler : public OptionsPageUIHandler,
BooleanPrefMember allow_deleting_browser_history_;
// Counters that calculate the data volume for some of the data types.
- ScopedVector<browsing_data::BrowsingDataCounter> counters_;
+ std::vector<std::unique_ptr<browsing_data::BrowsingDataCounter>> counters_;
// Informs us whether the user is syncing their data.
browser_sync::ProfileSyncService* sync_service_;

Powered by Google App Engine
This is Rietveld 408576698