fixup! [M120 Migration] Notify media device state to webbrowser
[platform/framework/web/chromium-efl.git] / base / observer_list_internal.cc
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.
4
5 #include "base/observer_list_internal.h"
6
7 namespace base {
8 namespace internal {
9
10 CheckedObserverAdapter::CheckedObserverAdapter(const CheckedObserver* observer)
11     : weak_ptr_(observer->factory_.GetWeakPtr()) {}
12
13 CheckedObserverAdapter::CheckedObserverAdapter(CheckedObserverAdapter&& other) =
14     default;
15 CheckedObserverAdapter& CheckedObserverAdapter::operator=(
16     CheckedObserverAdapter&& other) = default;
17 CheckedObserverAdapter::~CheckedObserverAdapter() = default;
18
19 }  // namespace internal
20 }  // namespace base