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

Unified Diff: chrome/browser/spellchecker/spellcheck_service.h

Issue 2695663003: Remove last usages of ScopedVector in extensions/ (Closed)
Patch Set: remove rest of the (unused) includes 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
Index: chrome/browser/spellchecker/spellcheck_service.h
diff --git a/chrome/browser/spellchecker/spellcheck_service.h b/chrome/browser/spellchecker/spellcheck_service.h
index 70a8e53369f9873bccbe8058a621f04998fff8a9..f9565136e297ce1e2578ad021196984c13811225 100644
--- a/chrome/browser/spellchecker/spellcheck_service.h
+++ b/chrome/browser/spellchecker/spellcheck_service.h
@@ -13,7 +13,6 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "build/build_config.h"
#include "chrome/browser/spellchecker/spellcheck_custom_dictionary.h"
@@ -113,7 +112,8 @@ class SpellcheckService : public KeyedService,
void LoadHunspellDictionaries();
// Returns the instance of the vector of Hunspell dictionaries.
- const ScopedVector<SpellcheckHunspellDictionary>& GetHunspellDictionaries();
+ const std::vector<std::unique_ptr<SpellcheckHunspellDictionary>>&
+ GetHunspellDictionaries();
// Returns the instance of the spelling service feedback sender.
spellcheck::FeedbackSender* GetFeedbackSender();
@@ -185,7 +185,8 @@ class SpellcheckService : public KeyedService,
std::unique_ptr<SpellcheckCustomDictionary> custom_dictionary_;
- ScopedVector<SpellcheckHunspellDictionary> hunspell_dictionaries_;
+ std::vector<std::unique_ptr<SpellcheckHunspellDictionary>>
+ hunspell_dictionaries_;
std::unique_ptr<spellcheck::FeedbackSender> feedback_sender_;

Powered by Google App Engine
This is Rietveld 408576698