| Index: content/browser/loader/resource_dispatcher_host_impl.h
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
|
| index d147a2824fa6046c08163b26f2a0269dc666aa8b..646fc2a3d940b313a2df00e41eee4180844df300 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.h
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.h
|
| @@ -60,6 +60,7 @@ class AppCacheService;
|
| class AsyncRevalidationManager;
|
| class CertStore;
|
| class FrameTree;
|
| +class LoaderDelegate;
|
| class NavigationURLLoaderImplCore;
|
| class RenderFrameHostImpl;
|
| class ResourceContext;
|
| @@ -306,6 +307,8 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| // or experiment status. For unit tests only.
|
| void EnableStaleWhileRevalidateForTesting();
|
|
|
| + void SetLoaderDelegate(LoaderDelegate* loader_delegate);
|
| +
|
| private:
|
| friend class LoaderIOThreadNotifier;
|
| friend class ResourceDispatcherHostTest;
|
| @@ -438,10 +441,6 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
| // waiting for a host name to resolve implies being stuck.
|
| static bool LoadInfoIsMoreInteresting(const LoadInfo& a, const LoadInfo& b);
|
|
|
| - // Used to marshal calls to LoadStateChanged from the IO to UI threads. All
|
| - // are done as a single callback to avoid spamming the UI thread.
|
| - static void UpdateLoadInfoOnUIThread(std::unique_ptr<LoadInfoMap> info_map);
|
| -
|
| // Gets the most interesting LoadInfo for each GlobalRoutingID.
|
| std::unique_ptr<LoadInfoMap> GetLoadInfoForAllRoutes();
|
|
|
| @@ -633,6 +632,8 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
|
|
|
| ResourceDispatcherHostDelegate* delegate_;
|
|
|
| + LoaderDelegate* loader_delegate_;
|
| +
|
| bool allow_cross_origin_auth_prompt_;
|
|
|
| // AsyncRevalidationManager is non-NULL if and only if
|
|
|