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

Unified Diff: chrome/browser/search/hotword_service_factory.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
« no previous file with comments | « chrome/browser/search/hotword_service.h ('k') | chrome/browser/search/hotword_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/hotword_service_factory.h
diff --git a/chrome/browser/search/hotword_service_factory.h b/chrome/browser/search/hotword_service_factory.h
index c07b6510819f0ea80dac27a8e23a048a786611a3..44b655d26a879b439a40d9cdc2aa9b53c551a14f 100644
--- a/chrome/browser/search/hotword_service_factory.h
+++ b/chrome/browser/search/hotword_service_factory.h
@@ -36,7 +36,7 @@ class HotwordServiceFactory : public MediaCaptureDevicesDispatcher::Observer,
static bool IsMicrophoneAvailable();
// Overridden from MediaCaptureDevicesDispatcher::Observer
- virtual void OnUpdateAudioDevices(
+ void OnUpdateAudioDevices(
const content::MediaStreamDevices& devices) override;
// This will kick off the monitor that calls OnUpdateAudioDevices when the
@@ -51,12 +51,12 @@ class HotwordServiceFactory : public MediaCaptureDevicesDispatcher::Observer,
friend struct DefaultSingletonTraits<HotwordServiceFactory>;
HotwordServiceFactory();
- virtual ~HotwordServiceFactory();
+ ~HotwordServiceFactory() override;
// Overrides from BrowserContextKeyedServiceFactory:
- virtual void RegisterProfilePrefs(
+ void RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) override;
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override;
// Must be called from the UI thread since the instance of
« no previous file with comments | « chrome/browser/search/hotword_service.h ('k') | chrome/browser/search/hotword_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698