| 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 09cee961abb013eb04e4dbd82beb59e134eb3999..91905a7fa9c09eea07eb675b380953f47c82a2a8 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 RapporService;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class BrowserAccessibilityManager;
|
| @@ -216,6 +220,13 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
|
| // fullscreen, and will return nullptr for those cases.
|
| virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const;
|
|
|
| + // Returns the Rappor service from browser process for the metric reporting
|
| + // purposes per url. See getRapporCommittedUrl for getting the url.
|
| + virtual ::rappor::RapporService* getRapporService();
|
| +
|
| + // Returns the Url of the current page to be used in Rappor metric reporting.
|
| + virtual std::string getRapporCommittedUrl();
|
| +
|
| protected:
|
| virtual ~RenderWidgetHostDelegate() {}
|
| };
|
|
|