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

Unified Diff: media/base/media_log.h

Issue 2966643002: media: Plumb MediaLog to MojoVideoDecoderService. (Closed)
Patch Set: Swap client/service directory. Created 3 years, 5 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/base/ipc/media_param_traits_macros.h ('k') | media/mojo/clients/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_log.h
diff --git a/media/base/media_log.h b/media/base/media_log.h
index d138fd6b17133534bb16dc959a468ffca94b164e..08eadc587f2ca69499e0633e65aae1e358730a30 100644
--- a/media/base/media_log.h
+++ b/media/base/media_log.h
@@ -101,6 +101,10 @@ class MEDIA_EXPORT MediaLog {
void SetDoubleProperty(const std::string& key, double value);
void SetBooleanProperty(const std::string& key, bool value);
+ // Getter for |id_|. Used by MojoMediaLogService to construct MediaLogEvents
+ // to log into this MediaLog.
+ int32_t id() const { return id_; }
+
private:
// A unique (to this process) id for this MediaLog.
int32_t id_;
« no previous file with comments | « media/base/ipc/media_param_traits_macros.h ('k') | media/mojo/clients/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698