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_; |