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

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

Issue 11445002: Sync user's custom spellcheck dictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add server-side size limit tests Created 7 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/spellchecker/spellcheck_service.h
diff --git a/chrome/browser/spellchecker/spellcheck_service.h b/chrome/browser/spellchecker/spellcheck_service.h
index 77756e455a4e933b0ab2582536b57d51269687ca..10f703823edd191d1cdc8de5b9c645f2d4b53cb0 100644
--- a/chrome/browser/spellchecker/spellcheck_service.h
+++ b/chrome/browser/spellchecker/spellcheck_service.h
@@ -30,7 +30,7 @@ class RenderProcessHost;
// 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.
+// SpellcheckService maintains any per-profile information about spellcheck.
class SpellcheckService : public ProfileKeyedService,
public content::NotificationObserver,
public SpellcheckCustomDictionary::Observer {
@@ -70,10 +70,10 @@ class SpellcheckService : public ProfileKeyedService,
// metrics. This should be called only if the metrics recording is active.
void StartRecordingMetrics(bool spellcheck_enabled);
- // Pass all renderers some basic initialization infomration.
+ // Pass all renderers some basic initialization information.
void InitForAllRenderers();
- // Pass the renderer some basic intialization information. Note that the
+ // Pass the renderer some basic initialization information. Note that the
// renderer will not load Hunspell until it needs to.
void InitForRenderer(content::RenderProcessHost* process);
@@ -91,8 +91,8 @@ class SpellcheckService : public ProfileKeyedService,
// SpellcheckCustomDictionary::Observer implementation.
virtual void OnCustomDictionaryLoaded() OVERRIDE;
- virtual void OnCustomDictionaryWordAdded(const std::string& word) OVERRIDE;
- virtual void OnCustomDictionaryWordRemoved(const std::string& word) OVERRIDE;
+ virtual void OnCustomDictionaryChanged(
+ const SpellcheckCustomDictionary::Change* dictionary_change) OVERRIDE;
private:
FRIEND_TEST_ALL_PREFIXES(SpellcheckServiceBrowserTest, DeleteCorruptedBDICT);

Powered by Google App Engine
This is Rietveld 408576698