| Index: chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.h
|
| diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.h b/chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.h
|
| index db2832c17f69e42cb3db5f3ef51df3a236873092..164d2b58913ae3eeea2a063e995b05efbd1f0dd7 100644
|
| --- a/chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.h
|
| +++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.h
|
| @@ -21,6 +21,8 @@ class GURL;
|
|
|
| namespace extensions {
|
|
|
| +struct Event;
|
| +
|
| namespace web_navigation_api_helpers {
|
|
|
| // Returns the frame ID as it will be passed to the extension:
|
| @@ -29,7 +31,8 @@ namespace web_navigation_api_helpers {
|
| int GetFrameId(content::RenderFrameHost* frame_host);
|
|
|
| // Create and dispatch the various events of the webNavigation API.
|
| -void DispatchOnBeforeNavigate(content::NavigationHandle* navigation_handle);
|
| +std::unique_ptr<Event> CreateOnBeforeNavigateEvent(
|
| + content::NavigationHandle* navigation_handle);
|
|
|
| void DispatchOnCommitted(events::HistogramValue histogram_value,
|
| const std::string& event_name,
|
|
|