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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.h

Issue 667943003: Standardize usage of virtual/override/final in content/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
Index: content/browser/service_worker/service_worker_dispatcher_host.h
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
index 725cb2855ac20eadea9b07b0dc2a4e63e71cbbb4..c3140c4c67c294cb692421014642e83c2c570e04 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -39,9 +39,9 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
void Init(ServiceWorkerContextWrapper* context_wrapper);
// BrowserMessageFilter implementation
- virtual void OnFilterAdded(IPC::Sender* sender) override;
- virtual void OnDestruct() const override;
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ void OnFilterAdded(IPC::Sender* sender) override;
+ void OnDestruct() const override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// IPC::Sender implementation
@@ -49,7 +49,7 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
// class assumes that Send() can only fail after that when the renderer
// process has terminated, at which point the whole instance will eventually
// be destroyed.
- virtual bool Send(IPC::Message* message) override;
+ bool Send(IPC::Message* message) override;
// Returns the existing registration handle whose reference count is
// incremented or newly created one if it doesn't exist.
@@ -66,7 +66,7 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
}
protected:
- virtual ~ServiceWorkerDispatcherHost();
+ ~ServiceWorkerDispatcherHost() override;
private:
friend class BrowserThread;

Powered by Google App Engine
This is Rietveld 408576698