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

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

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 4 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..dbcb32118ce1242d6b3a26a048ddbeccf452626d 100644
--- a/chrome/browser/spellchecker/spellcheck_service.h
+++ b/chrome/browser/spellchecker/spellcheck_service.h
@@ -37,10 +37,6 @@ class NotificationDetails;
class NotificationSource;
}
-namespace spellcheck {
-class FeedbackSender;
-}
-
// Encapsulates the browser side spellcheck service. There is one of these per
// profile and each is created by the SpellCheckServiceFactory. The
// SpellcheckService maintains any per-profile information about spellcheck.
@@ -115,9 +111,6 @@ class SpellcheckService : public KeyedService,
// Returns the instance of the vector of Hunspell dictionaries.
const ScopedVector<SpellcheckHunspellDictionary>& GetHunspellDictionaries();
- // Returns the instance of the spelling service feedback sender.
- spellcheck::FeedbackSender* GetFeedbackSender();
-
// Load a dictionary from a given path. Format specifies how the dictionary
// is stored. Return value is true if successful.
bool LoadExternalDictionary(std::string language,
@@ -171,10 +164,6 @@ class SpellcheckService : public KeyedService,
// prefs::kAcceptLanguages.
void OnAcceptLanguagesChanged();
- // Enables the feedback sender if spelling server is available and enabled.
- // Otherwise disables the feedback sender.
- void UpdateFeedbackSenderState();
-
PrefChangeRegistrar pref_change_registrar_;
content::NotificationRegistrar registrar_;
@@ -187,8 +176,6 @@ class SpellcheckService : public KeyedService,
ScopedVector<SpellcheckHunspellDictionary> hunspell_dictionaries_;
- std::unique_ptr<spellcheck::FeedbackSender> feedback_sender_;
-
base::WeakPtrFactory<SpellcheckService> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(SpellcheckService);
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc ('k') | chrome/browser/spellchecker/spellcheck_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698