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

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

Issue 973213003: Adds extension events for custom dictionary load/change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Add async test. Created 5 years, 9 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 | « chrome/browser/spellchecker/spellcheck_service.h ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker/spellcheck_service.cc
diff --git a/chrome/browser/spellchecker/spellcheck_service.cc b/chrome/browser/spellchecker/spellcheck_service.cc
index f40924e8c18e3ff48c2c981a1514e2ff5b7ce827..3705ddfbb66d9f2868cb02a63539e1dbc0417068 100644
--- a/chrome/browser/spellchecker/spellcheck_service.cc
+++ b/chrome/browser/spellchecker/spellcheck_service.cc
@@ -74,6 +74,10 @@ SpellcheckService::~SpellcheckService() {
pref_change_registrar_.RemoveAll();
}
+base::WeakPtr<SpellcheckService> SpellcheckService::GetWeakPtr() {
+ return weak_ptr_factory_.GetWeakPtr();
+}
+
// static
int SpellcheckService::GetSpellCheckLanguages(
content::BrowserContext* context,
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_service.h ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698