| 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 a4177e92f2727a07ec85686f3b9117e056e31b3c..ca56a9df9870e4bf1731152d5125f5295c423c70 100644
|
| --- a/content/browser/renderer_host/render_widget_host_delegate.h
|
| +++ b/content/browser/renderer_host/render_widget_host_delegate.h
|
| @@ -10,6 +10,7 @@
|
| #include <vector>
|
|
|
| #include "build/build_config.h"
|
| +#include "components/ukm/public/ukm_recorder.h"
|
| #include "content/common/content_export.h"
|
| #include "content/common/drag_event_source_info.h"
|
| #include "content/public/common/drop_data.h"
|
| @@ -32,6 +33,10 @@ namespace rappor {
|
| class Sample;
|
| }
|
|
|
| +namespace ukm {
|
| +class UkmRecorder;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class BrowserAccessibilityManager;
|
| @@ -244,6 +249,11 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
|
| // if the eTLD+1 is not known for |render_widget_host|.
|
| virtual bool AddDomainInfoToRapporSample(rappor::Sample* sample);
|
|
|
| + // Update UkmRecorder for the given source with the URL. This is used for
|
| + // URL-keyed metrics to set the url for a report.
|
| + virtual void UpdateUrlForUkmSource(ukm::UkmRecorder* service,
|
| + ukm::SourceId ukm_source_id);
|
| +
|
| // Notifies the delegate that a focused editable element has been touched
|
| // inside this RenderWidgetHost. If |editable| is true then the focused
|
| // element accepts text input.
|
|
|