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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2881593002: Reporting: Plumb into RenderFrame via Mojo (Closed)
Patch Set: Enumify. Created 3 years, 7 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index adf66eed6e52bc7655aa02271d5100046cbf6930..4baf9ca5483781d9d6759e568cf6f001dba6871b 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -36,6 +36,7 @@
#include "content/common/frame.mojom.h"
#include "content/common/frame_message_enums.h"
#include "content/common/host_zoom.mojom.h"
+#include "content/common/net/reporting.mojom.h"
#include "content/common/renderer.mojom.h"
#include "content/common/url_loader_factory.mojom.h"
#include "content/public/common/console_message_level.h"
@@ -766,6 +767,11 @@ class CONTENT_EXPORT RenderFrameImpl
void OnSetPepperVolume(int32_t pp_instance, double volume);
#endif // ENABLE_PLUGINS
+ void QueueReport(const GURL& url,
+ const std::string& group,
+ mojom::ReportingReportType type,
+ std::unique_ptr<base::Value> body);
+
protected:
explicit RenderFrameImpl(const CreateParams& params);

Powered by Google App Engine
This is Rietveld 408576698