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

Unified Diff: components/spellcheck/browser/feedback_sender.h

Issue 2671263003: Merge 3004: Revert of Remove ScopedVector in components/spellcheck (patchset #5 id:80001 of https:/… (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | components/spellcheck/browser/feedback_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/browser/feedback_sender.h
diff --git a/components/spellcheck/browser/feedback_sender.h b/components/spellcheck/browser/feedback_sender.h
index fa36c8ae347107b09cbcd212be83e828c77de567..f97b674a40e4202551317bbdbeaae76796aa844a 100644
--- a/components/spellcheck/browser/feedback_sender.h
+++ b/components/spellcheck/browser/feedback_sender.h
@@ -23,6 +23,7 @@
#include <vector>
#include "base/macros.h"
+#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "base/timer/timer.h"
#include "components/spellcheck/browser/feedback.h"
@@ -185,7 +186,7 @@ class FeedbackSender : public base::SupportsWeakPtr<FeedbackSender>,
// Feedback senders that need to stay alive for the duration of sending data.
// If a sender is destroyed before it finishes, then sending feedback will be
// canceled.
- std::vector<std::unique_ptr<net::URLFetcher>> senders_;
+ ScopedVector<net::URLFetcher> senders_;
DISALLOW_COPY_AND_ASSIGN(FeedbackSender);
};
« no previous file with comments | « no previous file | components/spellcheck/browser/feedback_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698