Bug 1182966 - Part 3: Add some final annotations to DomainSet. r=mrbkap
authorAndrew McCreight <continuation@gmail.com>
Tue, 14 Jul 2015 07:59:00 -0400
changeset 253298 20e4f7dcee9cade91490699efc2c61e62b65e44d
parent 253297 7de43f04cd0a68453f047897ae3255af85b53823
child 253299 16b99cdb36fb8196a2630afe21ce83422eba6e26
push id29065
push userryanvm@gmail.com
push dateFri, 17 Jul 2015 14:26:32 +0000
treeherdermozilla-central@911935404233 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap
bugs1182966
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1182966 - Part 3: Add some final annotations to DomainSet. r=mrbkap
caps/DomainPolicy.h
--- a/caps/DomainPolicy.h
+++ b/caps/DomainPolicy.h
@@ -28,17 +28,17 @@ enum DomainSetChangeType{
 enum DomainSetType{
     NO_TYPE,
     BLACKLIST,
     SUPER_BLACKLIST,
     WHITELIST,
     SUPER_WHITELIST
 };
 
-class DomainSet : public nsIDomainSet
+class DomainSet final : public nsIDomainSet
 {
 public:
     NS_DECL_ISUPPORTS
     NS_DECL_NSIDOMAINSET
 
     explicit DomainSet(DomainSetType aType)
         : mType(aType)
     {}
@@ -46,17 +46,17 @@ public:
     void CloneSet(InfallibleTArray<mozilla::ipc::URIParams>* aDomains);
 
 protected:
     virtual ~DomainSet() {}
     nsTHashtable<nsURIHashKey> mHashTable;
     DomainSetType mType;
 };
 
-class DomainPolicy : public nsIDomainPolicy
+class DomainPolicy final : public nsIDomainPolicy
 {
 public:
     NS_DECL_ISUPPORTS
     NS_DECL_NSIDOMAINPOLICY
     DomainPolicy();
 
 private:
     virtual ~DomainPolicy();