Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / media / router / issues_observer.cc
blob0d496d8342c16b8fffcc0433a08bdd54cb44529e
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/media/router/issues_observer.h"
7 #include "base/logging.h"
8 #include "chrome/browser/media/router/media_router.h"
10 namespace media_router {
12 IssuesObserver::IssuesObserver(MediaRouter* router) : router_(router) {
13 DCHECK(router_);
14 router_->RegisterIssuesObserver(this);
17 IssuesObserver::~IssuesObserver() {
18 router_->UnregisterIssuesObserver(this);
21 } // namespace media_router