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

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

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Applying comments 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 80fbea2d0d76ebc7005c1eee90b9854ac2b4c88a..d949261f735a71a4b8ecdfd736c27a0f3fed4113 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -30,6 +30,10 @@ class Rect;
class Size;
}
+namespace rappor {
+class Sample;
+}
+
namespace content {
class BrowserAccessibilityManager;
@@ -236,6 +240,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