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

Unified Diff: components/copresence/mediums/audio/audio_manager_impl.h

Issue 786523003: Fixing audioFail fail (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | components/copresence/mediums/audio/audio_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence/mediums/audio/audio_manager_impl.h
diff --git a/components/copresence/mediums/audio/audio_manager_impl.h b/components/copresence/mediums/audio/audio_manager_impl.h
index 82f8cf4ed11722c3538795facbc41365cae41db1..6c4b848aa134a0d75f649851559a7e9d5c320d4e 100644
--- a/components/copresence/mediums/audio/audio_manager_impl.h
+++ b/components/copresence/mediums/audio/audio_manager_impl.h
@@ -16,6 +16,10 @@
#include "components/copresence/public/copresence_constants.h"
#include "components/copresence/timed_map.h"
+namespace base {
+class Time;
+}
+
namespace copresence {
class AudioPlayer;
@@ -94,7 +98,8 @@ class AudioManagerImpl final : public AudioManager {
// Indexed using enum AudioType.
std::string playing_token_[2];
- bool heard_own_token_[2];
+ base::Time started_playing_[2];
+ base::Time heard_own_token_[2];
// Cache that holds the encoded samples. After reaching its limit, the cache
// expires the oldest samples first.
« no previous file with comments | « no previous file | components/copresence/mediums/audio/audio_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698