1 // Copyright 2018 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/observer_list_types.h"
9 CheckedObserver::CheckedObserver() {}
10 CheckedObserver::~CheckedObserver() = default;
12 bool CheckedObserver::IsInObserverList() const {
13 return factory_.HasWeakPtrs();