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() {} |
}; |