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

Unified Diff: chrome/browser/signin/easy_unlock_service.cc

Issue 649313004: Standardize usage of virtual/override/final in chrome/browser/signin/ (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
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.h ('k') | chrome/browser/signin/easy_unlock_service_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_service.cc
diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
index ad20ddedcad7e274d9e9b6aa8b1513db73d1cfc8..ecfe4dd375fee56bde0a2dc9680ac277560e360a 100644
--- a/chrome/browser/signin/easy_unlock_service.cc
+++ b/chrome/browser/signin/easy_unlock_service.cc
@@ -104,7 +104,7 @@ class EasyUnlockService::BluetoothDetector
weak_ptr_factory_(this) {
}
- virtual ~BluetoothDetector() {
+ ~BluetoothDetector() override {
if (adapter_.get())
adapter_->RemoveObserver(this);
}
@@ -121,8 +121,8 @@ class EasyUnlockService::BluetoothDetector
bool IsPresent() const { return adapter_.get() && adapter_->IsPresent(); }
// device::BluetoothAdapter::Observer:
- virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter,
- bool present) override {
+ void AdapterPresentChanged(device::BluetoothAdapter* adapter,
+ bool present) override {
service_->OnBluetoothAdapterPresentChanged();
}
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.h ('k') | chrome/browser/signin/easy_unlock_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698