| Index: athena/content/shell/media_utils.cc
|
| diff --git a/athena/content/shell/media_utils.cc b/athena/content/shell/media_utils.cc
|
| deleted file mode 100644
|
| index 7a5a8950ecb56b928bd144751a0e6a24735b907a..0000000000000000000000000000000000000000
|
| --- a/athena/content/shell/media_utils.cc
|
| +++ /dev/null
|
| @@ -1,25 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "athena/content/media_utils.h"
|
| -
|
| -#include "athena/activity/public/activity.h"
|
| -#include "content/browser/media/audio_stream_monitor.h"
|
| -#include "content/public/browser/web_contents.h"
|
| -
|
| -namespace athena {
|
| -
|
| -Activity::ActivityMediaState GetActivityMediaState(
|
| - content::WebContents* contents) {
|
| - // Note: This function does not reflect the recording state yet.
|
| - if (contents->GetCapturerCount())
|
| - return Activity::ACTIVITY_MEDIA_STATE_CAPTURING;
|
| -
|
| - DCHECK(content::AudioStreamMonitor::monitoring_available());
|
| - return contents->WasRecentlyAudible() ?
|
| - Activity::ACTIVITY_MEDIA_STATE_AUDIO_PLAYING :
|
| - Activity::ACTIVITY_MEDIA_STATE_NONE;
|
| -}
|
| -
|
| -} // namespace athena
|
|
|