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

Unified Diff: chromecast/base/cast_resource.cc

Issue 1531543002: [Chromecast] Adding pause/resume operations to VideoPlaneController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase of Patch Set 8. Created 4 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 | « chromecast/base/cast_resource.h ('k') | chromecast/browser/media/cma_media_pipeline_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/cast_resource.cc
diff --git a/chromecast/base/cast_resource.cc b/chromecast/base/cast_resource.cc
index cbe9b51d7cd5bf9d1fe69f0104e00bb2b893cca9..7978d868fbda038255b5488a5d9afcec84dfb3be 100644
--- a/chromecast/base/cast_resource.cc
+++ b/chromecast/base/cast_resource.cc
@@ -10,9 +10,9 @@ void CastResource::SetCastResourceClient(Client* client) {
client_ = client;
}
-void CastResource::NotifyResourceAcquired() {
+void CastResource::RegisterWithClient() {
if (client_)
- client_->OnResourceAcquired(this);
+ client_->RegisterCastResource(this);
}
void CastResource::NotifyResourceReleased(Resource remain) {
« no previous file with comments | « chromecast/base/cast_resource.h ('k') | chromecast/browser/media/cma_media_pipeline_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698