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

Unified Diff: media/base/media_log.h

Issue 2712983004: Simplify/Cleanup MediaClient (Closed)
Patch Set: Little fixes Created 3 years, 9 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: media/base/media_log.h
diff --git a/media/base/media_log.h b/media/base/media_log.h
index 62c9efe44614312c2a39b664b64a0a06807d0d49..0376930837abffb6f631a2b2c2b3e9623bf764d2 100644
--- a/media/base/media_log.h
+++ b/media/base/media_log.h
@@ -20,6 +20,7 @@
#include "media/base/media_log_event.h"
#include "media/base/pipeline_impl.h"
#include "media/base/pipeline_status.h"
+#include "url/gurl.h"
namespace media {
@@ -54,6 +55,8 @@ class MEDIA_EXPORT MediaLog : public base::RefCountedThreadSafe<MediaLog> {
// https://www.chromium.org/developers/design-documents/rappor
virtual void RecordRapporWithSecurityOrigin(const std::string& metric);
+ virtual void RecordRapporWithURL(const std::string& metric, const GURL& url);
+
// Helper methods to create events and their parameters.
std::unique_ptr<MediaLogEvent> CreateEvent(MediaLogEvent::Type type);
std::unique_ptr<MediaLogEvent> CreateBooleanEvent(MediaLogEvent::Type type,

Powered by Google App Engine
This is Rietveld 408576698