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

Unified Diff: content/browser/site_instance_impl.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/site_instance_impl.h
diff --git a/content/browser/site_instance_impl.h b/content/browser/site_instance_impl.h
index 35d1a1e178d33f04ae620aa8cbaeecce2851191d..2c55688bc323424f5c5227157d9ceacf440ba551 100644
--- a/content/browser/site_instance_impl.h
+++ b/content/browser/site_instance_impl.h
@@ -19,14 +19,14 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
public RenderProcessHostObserver {
public:
// SiteInstance interface overrides.
- virtual int32 GetId() override;
- virtual bool HasProcess() const override;
- virtual RenderProcessHost* GetProcess() override;
- virtual BrowserContext* GetBrowserContext() const override;
- virtual const GURL& GetSiteURL() const override;
- virtual SiteInstance* GetRelatedSiteInstance(const GURL& url) override;
- virtual bool IsRelatedSiteInstance(const SiteInstance* instance) override;
- virtual size_t GetRelatedActiveContentsCount() override;
+ int32 GetId() override;
+ bool HasProcess() const override;
+ RenderProcessHost* GetProcess() override;
+ BrowserContext* GetBrowserContext() const override;
+ const GURL& GetSiteURL() const override;
+ SiteInstance* GetRelatedSiteInstance(const GURL& url) override;
+ bool IsRelatedSiteInstance(const SiteInstance* instance) override;
+ size_t GetRelatedActiveContentsCount() override;
// Set the web site that this SiteInstance is rendering pages for.
// This includes the scheme and registered domain, but not the port. If the
@@ -89,7 +89,7 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
friend class SiteInstance;
// Virtual to allow tests to extend it.
- virtual ~SiteInstanceImpl();
+ ~SiteInstanceImpl() override;
// Create a new SiteInstance. Protected to give access to BrowsingInstance
// and tests; most callers should use Create or GetRelatedSiteInstance
@@ -98,7 +98,7 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
private:
// RenderProcessHostObserver implementation.
- virtual void RenderProcessHostDestroyed(RenderProcessHost* host) override;
+ void RenderProcessHostDestroyed(RenderProcessHost* host) override;
// Used to restrict a process' origin access rights.
void LockToOrigin();
« no previous file with comments | « content/browser/signed_certificate_timestamp_store_impl.h ('k') | content/browser/site_instance_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698