| 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 2c6734cf1f7c073f8180a46bb76201434db02647..dd5409f0950b92c0e369a4feb61a6d6bde411445 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/memory/scoped_vector.h"
|
| #include "base/values.h"
|
| #include "content/public/browser/certificate_request_result_type.h"
|
| +#include "content/public/browser/navigation_throttle.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/media_stream_request.h"
|
| #include "content/public/common/resource_type.h"
|
| @@ -98,6 +99,7 @@ class LocationProvider;
|
| class MediaObserver;
|
| class NavigatorConnectContext;
|
| class NavigatorConnectServiceFactory;
|
| +class NavigationHandle;
|
| class PlatformNotificationService;
|
| class PresentationServiceDelegate;
|
| class QuotaPermissionContext;
|
| @@ -669,6 +671,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 one or more NavigationThrottles for a
|
| + // navigation. A NavigationThrottle is 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 provided.
|
| + virtual ScopedVector<NavigationThrottle> GetNavigationThrottles(
|
| + NavigationHandle* navigation_handle);
|
| +
|
| // Populates |mappings| with all files that need to be mapped before launching
|
| // a child process.
|
| #if defined(OS_ANDROID)
|
|
|