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

Unified Diff: chrome/browser/local_discovery/service_discovery_host_client.cc

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/local_discovery/service_discovery_host_client.cc
diff --git a/chrome/browser/local_discovery/service_discovery_host_client.cc b/chrome/browser/local_discovery/service_discovery_host_client.cc
index 8b75fc612cb500b08367264929605af37ba523da..78d001cf3326f8dc563a8fa15626b85f98ea8009 100644
--- a/chrome/browser/local_discovery/service_discovery_host_client.cc
+++ b/chrome/browser/local_discovery/service_discovery_host_client.cc
@@ -69,28 +69,28 @@ class ServiceDiscoveryHostClient::ServiceWatcherProxy : public ServiceWatcher {
host_->Send(new LocalDiscoveryMsg_DestroyWatcher(id_));
}
- virtual void Start() OVERRIDE {
+ virtual void Start() override {
DVLOG(1) << "ServiceWatcher::Start with id " << id_;
DCHECK(!started_);
host_->Send(new LocalDiscoveryMsg_StartWatcher(id_, service_type_));
started_ = true;
}
- virtual void DiscoverNewServices(bool force_update) OVERRIDE {
+ virtual void DiscoverNewServices(bool force_update) override {
DVLOG(1) << "ServiceWatcher::DiscoverNewServices with id " << id_;
DCHECK(started_);
host_->Send(new LocalDiscoveryMsg_DiscoverServices(id_, force_update));
}
virtual void SetActivelyRefreshServices(
- bool actively_refresh_services) OVERRIDE {
+ bool actively_refresh_services) override {
DVLOG(1) << "ServiceWatcher::SetActivelyRefreshServices with id " << id_;
DCHECK(started_);
host_->Send(new LocalDiscoveryMsg_SetActivelyRefreshServices(
id_, actively_refresh_services));
}
- virtual std::string GetServiceType() const OVERRIDE {
+ virtual std::string GetServiceType() const override {
return service_type_;
}
@@ -120,14 +120,14 @@ class ServiceDiscoveryHostClient::ServiceResolverProxy
host_->Send(new LocalDiscoveryMsg_DestroyResolver(id_));
}
- virtual void StartResolving() OVERRIDE {
+ virtual void StartResolving() override {
DVLOG(1) << "ServiceResolverProxy::StartResolving with id " << id_;
DCHECK(!started_);
host_->Send(new LocalDiscoveryMsg_ResolveService(id_, service_name_));
started_ = true;
}
- virtual std::string GetName() const OVERRIDE {
+ virtual std::string GetName() const override {
return service_name_;
}
@@ -159,7 +159,7 @@ class ServiceDiscoveryHostClient::LocalDomainResolverProxy
host_->Send(new LocalDiscoveryMsg_DestroyLocalDomainResolver(id_));
}
- virtual void Start() OVERRIDE {
+ virtual void Start() override {
DVLOG(1) << "LocalDomainResolverProxy::Start with id " << id_;
DCHECK(!started_);
host_->Send(new LocalDiscoveryMsg_ResolveLocalDomain(id_, domain_,

Powered by Google App Engine
This is Rietveld 408576698