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

Unified Diff: media/blink/watch_time_reporter.h

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 | « media/blink/multibuffer_data_source_unittest.cc ('k') | media/blink/watch_time_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/watch_time_reporter.h
diff --git a/media/blink/watch_time_reporter.h b/media/blink/watch_time_reporter.h
index 9b3b93bf41890581f05820c2105bd15a7e734045..9887ae27c1602dc18ae9a1f4e3ab0873af78d457 100644
--- a/media/blink/watch_time_reporter.h
+++ b/media/blink/watch_time_reporter.h
@@ -66,7 +66,7 @@ class MEDIA_BLINK_EXPORT WatchTimeReporter : base::PowerObserver {
bool is_mse,
bool is_encrypted,
bool is_embedded_media_experience_enabled,
- scoped_refptr<MediaLog> media_log,
+ MediaLog* media_log,
const gfx::Size& initial_video_size,
const GetMediaTimeCB& get_media_time_cb);
~WatchTimeReporter() override;
@@ -130,7 +130,7 @@ class MEDIA_BLINK_EXPORT WatchTimeReporter : base::PowerObserver {
bool is_mse,
bool is_encrypted,
bool is_embedded_media_experience_enabled,
- scoped_refptr<MediaLog> media_log,
+ MediaLog* media_log,
const gfx::Size& initial_video_size,
const GetMediaTimeCB& get_media_time_cb,
bool is_background);
@@ -154,7 +154,7 @@ class MEDIA_BLINK_EXPORT WatchTimeReporter : base::PowerObserver {
const bool is_mse_;
const bool is_encrypted_;
const bool is_embedded_media_experience_enabled_;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
const gfx::Size initial_video_size_;
const GetMediaTimeCB get_media_time_cb_;
const bool is_background_;
« no previous file with comments | « media/blink/multibuffer_data_source_unittest.cc ('k') | media/blink/watch_time_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698