1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50

ash / test_media_client.cc [blame]

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ash/test_media_client.h"

namespace ash {

TestMediaClient::TestMediaClient() = default;
TestMediaClient::~TestMediaClient() = default;

void TestMediaClient::HandleMediaNextTrack() {
  ++handle_media_next_track_count_;
}

void TestMediaClient::HandleMediaPlayPause() {
  ++handle_media_play_pause_count_;
}

void TestMediaClient::HandleMediaPlay() {
  ++handle_media_play_count_;
}

void TestMediaClient::HandleMediaPause() {
  ++handle_media_pause_count_;
}

void TestMediaClient::HandleMediaStop() {
  ++handle_media_stop_count_;
}

void TestMediaClient::HandleMediaPrevTrack() {
  ++handle_media_prev_track_count_;
}

void TestMediaClient::HandleMediaSeekBackward() {
  ++handle_media_seek_backward_count_;
}

void TestMediaClient::HandleMediaSeekForward() {
  ++handle_media_seek_forward_count_;
}

void TestMediaClient::RequestCaptureState() {}

void TestMediaClient::SuspendMediaSessions() {
  media_sessions_suspended_ = true;
}

}  // namespace ash