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

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

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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_custom_dictionary_unittest.cc
diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc b/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
index 49ae6ac3980924758b85fba00312f8d2d9450a55..7b54dd7dbdfaf9ad7bed9d413e548dde1dafbabc 100644
--- a/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
+++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc
@@ -63,7 +63,7 @@ static KeyedService* BuildSpellcheckService(content::BrowserContext* profile) {
class SpellcheckCustomDictionaryTest : public testing::Test {
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
// Use SetTestingFactoryAndUse to force creation and initialization.
SpellcheckServiceFactory::GetInstance()->SetTestingFactoryAndUse(
&profile_, &BuildSpellcheckService);
@@ -123,7 +123,7 @@ class SyncErrorFactoryStub : public syncer::SyncErrorFactory {
// Overridden from syncer::SyncErrorFactory:
virtual syncer::SyncError CreateAndUploadError(
const tracked_objects::Location& location,
- const std::string& message) OVERRIDE {
+ const std::string& message) override {
(*error_counter_)++;
return syncer::SyncError(location,
syncer::SyncError::DATATYPE_ERROR,
@@ -146,9 +146,9 @@ class DictionaryObserverCounter : public SpellcheckCustomDictionary::Observer {
int changes() const { return changes_; }
// Overridden from SpellcheckCustomDictionary::Observer:
- virtual void OnCustomDictionaryLoaded() OVERRIDE { loads_++; }
+ virtual void OnCustomDictionaryLoaded() override { loads_++; }
virtual void OnCustomDictionaryChanged(
- const SpellcheckCustomDictionary::Change& change) OVERRIDE { changes_++; }
+ const SpellcheckCustomDictionary::Change& change) override { changes_++; }
private:
int loads_;
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_custom_dictionary.h ('k') | chrome/browser/spellchecker/spellcheck_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698