Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / media / router / test_helper.cc
blobe8d480790a5054a712900fedb45e8b96b26c4a75
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/test_helper.h"
7 namespace media_router {
9 MockIssuesObserver::MockIssuesObserver(MediaRouter* router)
10 : IssuesObserver(router) {}
11 MockIssuesObserver::~MockIssuesObserver() {}
13 MockMediaSinksObserver::MockMediaSinksObserver(MediaRouter* router,
14 const MediaSource& source)
15 : MediaSinksObserver(router, source) {
17 MockMediaSinksObserver::~MockMediaSinksObserver() {
20 MockMediaRoutesObserver::MockMediaRoutesObserver(MediaRouter* router)
21 : MediaRoutesObserver(router) {
23 MockMediaRoutesObserver::~MockMediaRoutesObserver() {
26 MockEventPageTracker::MockEventPageTracker() {
28 MockEventPageTracker::~MockEventPageTracker() {
31 } // namespace media_router