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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 562273008: Add audio signal to the ResourceScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: content/browser/loader/resource_dispatcher_host_impl.h
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
index 48d975520e28b9e28efb987dfe47bf9519c6f080..c0483dcf6ea56a4e332d1a3f492a2e2affdf858e 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -180,6 +180,11 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// Called when a RenderViewHost is shown.
void OnRenderViewHostWasShown(int child_id, int route_id);
+ // Called when an AudioRenderHost starts or stops playing.
+ void OnAudioRenderHostStreamStateChanged(int child_id,
+ int route_id,
+ bool is_playing);
+
// Force cancels any pending requests for the given process.
void CancelRequestsForProcess(int child_id);

Powered by Google App Engine
This is Rietveld 408576698