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

Unified Diff: chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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/extensions/api/hotword_private/hotword_private_apitest.cc
diff --git a/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc b/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
index 6f4dc49dc12b39788fad4fc0c85dec289cc3a5ea..def38dd921a5d753609ce7e06b11392a0c102755 100644
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_apitest.cc
@@ -26,7 +26,7 @@ class MockHotwordService : public HotwordService {
: HotwordService(profile), service_available_(true) {};
virtual ~MockHotwordService() {}
- virtual bool IsServiceAvailable() OVERRIDE {
+ virtual bool IsServiceAvailable() override {
return service_available_;
}
@@ -38,7 +38,7 @@ class MockHotwordService : public HotwordService {
return new MockHotwordService(static_cast<Profile*>(profile));
}
- virtual LaunchMode GetHotwordAudioVerificationLaunchMode() OVERRIDE {
+ virtual LaunchMode GetHotwordAudioVerificationLaunchMode() override {
return launch_mode_;
}
@@ -63,12 +63,12 @@ class MockHotwordClient : public HotwordClient {
virtual ~MockHotwordClient() {}
- virtual void OnHotwordStateChanged(bool enabled) OVERRIDE {
+ virtual void OnHotwordStateChanged(bool enabled) override {
last_enabled_ = enabled;
state_changed_count_++;
}
- virtual void OnHotwordRecognized() OVERRIDE {
+ virtual void OnHotwordRecognized() override {
recognized_count_++;
}
@@ -89,7 +89,7 @@ class HotwordPrivateApiTest : public ExtensionApiTest {
HotwordPrivateApiTest() {}
virtual ~HotwordPrivateApiTest() {}
- virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE {
+ virtual void SetUpCommandLine(base::CommandLine* command_line) override {
ExtensionApiTest::SetUpCommandLine(command_line);
// Whitelist the test extensions (which all share a common ID) to use
@@ -98,7 +98,7 @@ class HotwordPrivateApiTest : public ExtensionApiTest {
extensions::switches::kWhitelistedExtensionID, kHotwordTestExtensionId);
}
- virtual void SetUpOnMainThread() OVERRIDE {
+ virtual void SetUpOnMainThread() override {
ExtensionApiTest::SetUpOnMainThread();
test_data_dir_ = test_data_dir_.AppendASCII("hotword_private");
« no previous file with comments | « chrome/browser/extensions/api/hotword_private/hotword_private_api.h ('k') | chrome/browser/extensions/api/i18n/i18n_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698