Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(983)

Unified Diff: athena/content/shell/media_utils.cc

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/content/shell/dialogs.cc ('k') | athena/content/shell/web_activity_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « athena/content/shell/dialogs.cc ('k') | athena/content/shell/web_activity_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698