Index: chrome/installer/util/firewall_manager_win.cc |
diff --git a/chrome/installer/util/firewall_manager_win.cc b/chrome/installer/util/firewall_manager_win.cc |
index 54142ffa1487ae644dc2e4a3b74979b0c72a52f4..3ec15b57f18c5412a79560a76223d3a4f36612a0 100644 |
--- a/chrome/installer/util/firewall_manager_win.cc |
+++ b/chrome/installer/util/firewall_manager_win.cc |
@@ -30,16 +30,16 @@ class FirewallManagerAdvancedImpl : public FirewallManager { |
} |
// FirewallManager methods. |
- virtual bool CanUseLocalPorts() OVERRIDE { |
+ virtual bool CanUseLocalPorts() override { |
return !manager_.IsFirewallEnabled() || manager_.HasAnyRule(); |
}; |
- virtual bool AddFirewallRules() OVERRIDE { |
+ virtual bool AddFirewallRules() override { |
return manager_.AddUDPRule(GetMdnsRuleName(), GetMdnsRuleDescription(), |
kDefaultMdnsPort); |
} |
- virtual void RemoveFirewallRules() OVERRIDE { |
+ virtual void RemoveFirewallRules() override { |
manager_.DeleteAllRules(); |
} |
@@ -74,18 +74,18 @@ class FirewallManagerLegacyImpl : public FirewallManager { |
} |
// FirewallManager methods. |
- virtual bool CanUseLocalPorts() OVERRIDE { |
+ virtual bool CanUseLocalPorts() override { |
return !manager_.IsFirewallEnabled() || |
manager_.GetAllowIncomingConnection(NULL); |
}; |
- virtual bool AddFirewallRules() OVERRIDE { |
+ virtual bool AddFirewallRules() override { |
// Change nothing if rule is set. |
return manager_.GetAllowIncomingConnection(NULL) || |
manager_.SetAllowIncomingConnection(true); |
} |
- virtual void RemoveFirewallRules() OVERRIDE { |
+ virtual void RemoveFirewallRules() override { |
manager_.DeleteRule(); |
} |