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

Unified Diff: device/nfc/nfc_adapter.h

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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: device/nfc/nfc_adapter.h
diff --git a/device/nfc/nfc_adapter.h b/device/nfc/nfc_adapter.h
index 455b14289b823e1d86924ec8867a2775b6c6c3a5..65d15f62838629b4845b4448ef28cf4e871082e3 100644
--- a/device/nfc/nfc_adapter.h
+++ b/device/nfc/nfc_adapter.h
@@ -85,6 +85,9 @@ class NfcAdapter : public base::RefCounted<NfcAdapter> {
// Called when the remote NFC adapter |peer| is no longer known by the
// adapter |adapter|. |peer| should not be cached.
virtual void PeerLost(NfcAdapter* adapter, NfcPeer* peer) {}
+
+ protected:
+ Observer() = default;
};
// The ErrorCallback is used by methods to asynchronously report errors.

Powered by Google App Engine
This is Rietveld 408576698