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

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

Issue 2492793004: Add TimeToScrollUpdateSwapBegin2 in RAPPOR (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 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() {}
};

Powered by Google App Engine
This is Rietveld 408576698