| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index f45cd7b3c7bcdbad417e54ea39fda8c42d3c056f..5c5f2a779043cf900c7599297b1f1aff6d6ecbd1 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -98,6 +98,7 @@ class LocationProvider;
|
| class MediaObserver;
|
| class NavigatorConnectContext;
|
| class NavigatorConnectServiceFactory;
|
| +class NavigationHandle;
|
| class PlatformNotificationService;
|
| class PresentationServiceDelegate;
|
| class QuotaPermissionContext;
|
| @@ -652,6 +653,13 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| // Allows the embedder to record |metric| for a specific |url|.
|
| virtual void RecordURLMetric(const std::string& metric, const GURL& url) {}
|
|
|
| + // Allows the embedder to register NavigationThrottles for a navigation.
|
| + // NavigationThrottles are used to control the flow of a navigation on the UI
|
| + // thread. The embedder is guaranteed that the throttles will be executed in
|
| + // the order they were registered.
|
| + virtual void AddNavigationThrottles(NavigationHandle* navigation_handle,
|
| + WebContents* web_contents) {}
|
| +
|
| // Populates |mappings| with all files that need to be mapped before launching
|
| // a child process.
|
| #if defined(OS_ANDROID)
|
|
|