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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix more compile errors in JNI files Created 4 years 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/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index 17b2170b55e28c57eb751475c4f9b5fd690839eb..8319bc6534d81d61f0055fb7f4d962d27db6c705 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -29,6 +29,10 @@ class Point;
class Size;
}
+namespace rappor {
+class Sample;
+}
+
namespace content {
class BrowserAccessibilityManager;
@@ -235,6 +239,11 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
virtual void FocusOwningWebContents(
RenderWidgetHostImpl* render_widget_host) {}
+ // Augment a Rappor sample with eTLD+1 context. The caller is still
+ // responsible for logging the sample to the RapporService. Returns false
+ // if the eTLD+1 is not known for |render_widget_host|.
+ virtual bool AddDomainInfoToRapporSample(rappor::Sample* sample);
+
protected:
virtual ~RenderWidgetHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698