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 46129fdd012affd19c87fbf2b028bc03bc6fb141..964a1e54ad6fd0a428650adc85355eee3444fcbd 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; |
@@ -219,6 +223,13 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
// Allow the delegate to handle the cursor update. Returns true if handled. |
virtual bool OnUpdateDragCursor(); |
+ // Returns the RapporService from browser process for the metric reporting |
+ // purposes per url. See getRapporCommittedUrl for getting the url. |
Charlie Reis
2016/11/16 23:55:21
nit: I'm not sure what "for the metric reporting p
Navid Zolghadr
2016/12/01 18:27:15
Removed this API altogether.
|
+ virtual ::rappor::RapporService* getRapporService(); |
Charlie Reis
2016/11/16 23:55:21
nit: Capitalize.
There's no uses of this method i
Navid Zolghadr
2016/11/17 20:05:49
Here is one use of this:
https://codereview.chromi
|
+ |
+ // Returns the Url of the current page to be used in Rappor metric reporting. |
+ virtual std::string getRapporCommittedUrl(); |
Charlie Reis
2016/11/16 23:55:21
nit: Capitalize.
As above, I'm concerned about pu
Navid Zolghadr
2016/12/01 18:27:15
Actually RenderFrameHostDelegate already has a met
|
+ |
protected: |
virtual ~RenderWidgetHostDelegate() {} |
}; |