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

Unified Diff: components/translate/core/browser/language_state_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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: components/translate/core/browser/language_state_unittest.cc
diff --git a/components/translate/core/browser/language_state_unittest.cc b/components/translate/core/browser/language_state_unittest.cc
index ae7be323f22caad8e33ac1558cf1e9b73e1e16fc..3137369861504110b2a1cb08aadf49f3fb4455ef 100644
--- a/components/translate/core/browser/language_state_unittest.cc
+++ b/components/translate/core/browser/language_state_unittest.cc
@@ -31,42 +31,42 @@ class MockTranslateDriver : public TranslateDriver {
virtual ~MockTranslateDriver() {}
- virtual void OnIsPageTranslatedChanged() OVERRIDE {
+ virtual void OnIsPageTranslatedChanged() override {
on_is_page_translated_changed_called_ = true;
}
- virtual void OnTranslateEnabledChanged() OVERRIDE {
+ virtual void OnTranslateEnabledChanged() override {
on_translate_enabled_changed_called_ = true;
}
- virtual bool IsLinkNavigation() OVERRIDE {
+ virtual bool IsLinkNavigation() override {
return false;
}
virtual void TranslatePage(int page_seq_no,
const std::string& translate_script,
const std::string& source_lang,
- const std::string& target_lang) OVERRIDE {}
+ const std::string& target_lang) override {}
- virtual void RevertTranslation(int page_seq_no) OVERRIDE {}
+ virtual void RevertTranslation(int page_seq_no) override {}
- virtual bool IsOffTheRecord() OVERRIDE { return false; }
+ virtual bool IsOffTheRecord() override { return false; }
- virtual const std::string& GetContentsMimeType() OVERRIDE {
+ virtual const std::string& GetContentsMimeType() override {
return kHtmlMimeType;
}
- virtual const GURL& GetLastCommittedURL() OVERRIDE {
+ virtual const GURL& GetLastCommittedURL() override {
return GURL::EmptyGURL();
}
- virtual const GURL& GetActiveURL() OVERRIDE { return GURL::EmptyGURL(); }
+ virtual const GURL& GetActiveURL() override { return GURL::EmptyGURL(); }
- virtual const GURL& GetVisibleURL() OVERRIDE { return GURL::EmptyGURL(); }
+ virtual const GURL& GetVisibleURL() override { return GURL::EmptyGURL(); }
- virtual bool HasCurrentPage() OVERRIDE { return true; }
+ virtual bool HasCurrentPage() override { return true; }
- virtual void OpenUrlInNewTab(const GURL& url) OVERRIDE {}
+ virtual void OpenUrlInNewTab(const GURL& url) override {}
bool on_is_page_translated_changed_called() const {
return on_is_page_translated_changed_called_;
« no previous file with comments | « components/translate/content/renderer/translate_helper.h ('k') | components/translate/core/browser/options_menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698