// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_METRICS_DESKTOP_SESSION_DURATION_AUDIBLE_CONTENTS_TRACKER_H_ #define CHROME_BROWSER_METRICS_DESKTOP_SESSION_DURATION_AUDIBLE_CONTENTS_TRACKER_H_ #include <set> #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "chrome/browser/ui/browser_list_observer.h" #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" namespace metrics { // BrowserList / TabStripModelObserver used for tracking audio status. // TODO(chrisha): Migrate this entire thing to use RecentlyAudibleHelper // notifications rather then TabStripModel notifications. // https://crbug.com/846374 class AudibleContentsTracker : public BrowserListObserver, public TabStripModelObserver { … }; } // namespace metrics #endif // CHROME_BROWSER_METRICS_DESKTOP_SESSION_DURATION_AUDIBLE_CONTENTS_TRACKER_H_