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

Unified Diff: chrome/browser/extensions/api/dial/dial_api.h

Issue 666153002: Standardize usage of virtual/override/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/dial/dial_api.h
diff --git a/chrome/browser/extensions/api/dial/dial_api.h b/chrome/browser/extensions/api/dial/dial_api.h
index 33052538a48f5d92854f21c7c5265453266892a2..6548a72badda55ff325789dbb2d2dc57a300ab4f 100644
--- a/chrome/browser/extensions/api/dial/dial_api.h
+++ b/chrome/browser/extensions/api/dial/dial_api.h
@@ -37,19 +37,18 @@ class DialAPI : public RefcountedKeyedService,
void SendErrorOnUIThread(const DialRegistry::DialErrorCode type);
private:
- virtual ~DialAPI();
+ ~DialAPI() override;
// RefcountedKeyedService:
- virtual void ShutdownOnUIThread() override;
+ void ShutdownOnUIThread() override;
// EventRouter::Observer:
- virtual void OnListenerAdded(const EventListenerInfo& details) override;
- virtual void OnListenerRemoved(const EventListenerInfo& details) override;
+ void OnListenerAdded(const EventListenerInfo& details) override;
+ void OnListenerRemoved(const EventListenerInfo& details) override;
// DialRegistry::Observer:
- virtual void OnDialDeviceEvent(
- const DialRegistry::DeviceList& devices) override;
- virtual void OnDialError(DialRegistry::DialErrorCode type) override;
+ void OnDialDeviceEvent(const DialRegistry::DeviceList& devices) override;
+ void OnDialError(DialRegistry::DialErrorCode type) override;
// Methods to notify the DialRegistry on the correct thread of new/removed
// listeners.
@@ -75,12 +74,12 @@ class DialDiscoverNowFunction : public AsyncApiFunction {
DialDiscoverNowFunction();
protected:
- virtual ~DialDiscoverNowFunction() {}
+ ~DialDiscoverNowFunction() override {}
// AsyncApiFunction:
- virtual bool Prepare() override;
- virtual void Work() override;
- virtual bool Respond() override;
+ bool Prepare() override;
+ void Work() override;
+ bool Respond() override;
private:
DECLARE_EXTENSION_FUNCTION("dial.discoverNow", DIAL_DISCOVERNOW)
« no previous file with comments | « chrome/browser/extensions/api/developer_private/entry_picker.h ('k') | chrome/browser/extensions/api/dial/dial_api_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698