Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 1721813002: Adding DRP specfic UMA for FirstContentfulPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing lifetime of NavigationSupportsUserData for Draft Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This is the browser side of the resource dispatcher, it receives requests 5 // This is the browser side of the resource dispatcher, it receives requests
6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and
7 // dispatches them to URLRequests. It then forwards the messages from the 7 // dispatches them to URLRequests. It then forwards the messages from the
8 // URLRequests back to the correct process for handling. 8 // URLRequests back to the correct process for handling.
9 // 9 //
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
11 11
12 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 12 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
13 #define CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 13 #define CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
14 14
15 #include <stdint.h> 15 #include <stdint.h>
16 16
17 #include <map> 17 #include <map>
18 #include <set> 18 #include <set>
19 #include <string> 19 #include <string>
20 #include <vector> 20 #include <vector>
21 21
22 #include "base/gtest_prod_util.h" 22 #include "base/gtest_prod_util.h"
23 #include "base/macros.h" 23 #include "base/macros.h"
24 #include "base/memory/scoped_ptr.h" 24 #include "base/memory/scoped_ptr.h"
25 #include "base/observer_list.h" 25 #include "base/observer_list.h"
26 #include "base/time/time.h" 26 #include "base/time/time.h"
27 #include "base/timer/timer.h" 27 #include "base/timer/timer.h"
28 #include "content/browser/download/download_resource_handler.h" 28 #include "content/browser/download/download_resource_handler.h"
29 #include "content/browser/download/save_types.h" 29 #include "content/browser/download/save_types.h"
30 #include "content/browser/frame_host/navigation_user_data.h"
30 #include "content/browser/loader/global_routing_id.h" 31 #include "content/browser/loader/global_routing_id.h"
31 #include "content/browser/loader/resource_loader.h" 32 #include "content/browser/loader/resource_loader.h"
32 #include "content/browser/loader/resource_loader_delegate.h" 33 #include "content/browser/loader/resource_loader_delegate.h"
33 #include "content/browser/loader/resource_scheduler.h" 34 #include "content/browser/loader/resource_scheduler.h"
34 #include "content/common/content_export.h" 35 #include "content/common/content_export.h"
35 #include "content/common/resource_request_body.h" 36 #include "content/common/resource_request_body.h"
36 #include "content/public/browser/child_process_data.h" 37 #include "content/public/browser/child_process_data.h"
37 #include "content/public/browser/download_item.h" 38 #include "content/public/browser/download_item.h"
38 #include "content/public/browser/download_url_parameters.h" 39 #include "content/public/browser/download_url_parameters.h"
39 #include "content/public/browser/global_request_id.h" 40 #include "content/public/browser/global_request_id.h"
(...skipping 18 matching lines...) Expand all
58 } 59 }
59 60
60 namespace storage { 61 namespace storage {
61 class ShareableFileReference; 62 class ShareableFileReference;
62 } 63 }
63 64
64 namespace content { 65 namespace content {
65 class AppCacheService; 66 class AppCacheService;
66 class AsyncRevalidationManager; 67 class AsyncRevalidationManager;
67 class FrameTree; 68 class FrameTree;
69 class NavigationSupportsUserData;
68 class NavigationURLLoaderImplCore; 70 class NavigationURLLoaderImplCore;
69 class RenderFrameHostImpl; 71 class RenderFrameHostImpl;
70 class ResourceContext; 72 class ResourceContext;
71 class ResourceDispatcherHostDelegate; 73 class ResourceDispatcherHostDelegate;
72 class ResourceMessageDelegate; 74 class ResourceMessageDelegate;
73 class ResourceMessageFilter; 75 class ResourceMessageFilter;
74 class ResourceRequestInfoImpl; 76 class ResourceRequestInfoImpl;
75 class SaveFileManager; 77 class SaveFileManager;
76 class ServiceWorkerNavigationHandleCore; 78 class ServiceWorkerNavigationHandleCore;
77 class WebContentsImpl; 79 class WebContentsImpl;
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 DelegateMap delegate_map_; 643 DelegateMap delegate_map_;
642 644
643 scoped_ptr<ResourceScheduler> scheduler_; 645 scoped_ptr<ResourceScheduler> scheduler_;
644 646
645 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); 647 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
646 }; 648 };
647 649
648 } // namespace content 650 } // namespace content
649 651
650 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 652 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698