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

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

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 a0b22f8bb40844896c7df633aa1ac82ff8fb950e..84db1ce6a96de45d3b7c4bf3941af42344a22b56 100644
--- a/chrome/browser/spellchecker/spellcheck_service.h
+++ b/chrome/browser/spellchecker/spellcheck_service.h
@@ -53,7 +53,7 @@ class SpellcheckService : public KeyedService,
};
explicit SpellcheckService(content::BrowserContext* context);
- virtual ~SpellcheckService();
+ ~SpellcheckService() override;
// This function computes a vector of strings which are to be displayed in
// the context menu over a text area for changing spell check languages. It
@@ -109,20 +109,20 @@ class SpellcheckService : public KeyedService,
bool UnloadExternalDictionary(std::string path);
// NotificationProfile implementation.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// SpellcheckCustomDictionary::Observer implementation.
- virtual void OnCustomDictionaryLoaded() override;
- virtual void OnCustomDictionaryChanged(
+ void OnCustomDictionaryLoaded() override;
+ void OnCustomDictionaryChanged(
const SpellcheckCustomDictionary::Change& dictionary_change) override;
// SpellcheckHunspellDictionary::Observer implementation.
- virtual void OnHunspellDictionaryInitialized() override;
- virtual void OnHunspellDictionaryDownloadBegin() override;
- virtual void OnHunspellDictionaryDownloadSuccess() override;
- virtual void OnHunspellDictionaryDownloadFailure() override;
+ void OnHunspellDictionaryInitialized() override;
+ void OnHunspellDictionaryDownloadBegin() override;
+ void OnHunspellDictionaryDownloadSuccess() override;
+ void OnHunspellDictionaryDownloadFailure() override;
private:
FRIEND_TEST_ALL_PREFIXES(SpellcheckServiceBrowserTest, DeleteCorruptedBDICT);

Powered by Google App Engine
This is Rietveld 408576698