Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / browser / media / router / media_routes_observer.cc
blob5d83fb855b169eb07257304c9466170cbdd84b07
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/media_routes_observer.h"
7 #include "base/logging.h"
8 #include "chrome/browser/media/router/media_router.h"
10 namespace media_router {
12 MediaRoutesObserver::MediaRoutesObserver(MediaRouter* router)
13 : router_(router) {
14 DCHECK(router_);
15 router_->RegisterMediaRoutesObserver(this);
18 MediaRoutesObserver::~MediaRoutesObserver() {
19 router_->UnregisterMediaRoutesObserver(this);
22 } // namespace media_router