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

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

Issue 1144463003: Remove Navigation Transitions from Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed TransitionPageHelper. Created 5 years, 7 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
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // Puts the resource dispatcher host in an inactive state (unable to begin 101 // Puts the resource dispatcher host in an inactive state (unable to begin
102 // new requests). Cancels all pending requests. 102 // new requests). Cancels all pending requests.
103 void Shutdown(); 103 void Shutdown();
104 104
105 // Notify the ResourceDispatcherHostImpl of a new resource context. 105 // Notify the ResourceDispatcherHostImpl of a new resource context.
106 void AddResourceContext(ResourceContext* context); 106 void AddResourceContext(ResourceContext* context);
107 107
108 // Notify the ResourceDispatcherHostImpl of a resource context destruction. 108 // Notify the ResourceDispatcherHostImpl of a resource context destruction.
109 void RemoveResourceContext(ResourceContext* context); 109 void RemoveResourceContext(ResourceContext* context);
110 110
111 // Resumes a request that deferred at response start.
112 void ResumeResponseDeferredAtStart(const GlobalRequestID& id);
113
114 // Force cancels any pending requests for the given |context|. This is 111 // Force cancels any pending requests for the given |context|. This is
115 // necessary to ensure that before |context| goes away, all requests 112 // necessary to ensure that before |context| goes away, all requests
116 // for it are dead. 113 // for it are dead.
117 void CancelRequestsForContext(ResourceContext* context); 114 void CancelRequestsForContext(ResourceContext* context);
118 115
119 // Returns true if the message was a resource message that was processed. 116 // Returns true if the message was a resource message that was processed.
120 bool OnMessageReceived(const IPC::Message& message, 117 bool OnMessageReceived(const IPC::Message& message,
121 ResourceMessageFilter* filter); 118 ResourceMessageFilter* filter);
122 119
123 // Initiates a save file from the browser process (as opposed to a resource 120 // Initiates a save file from the browser process (as opposed to a resource
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 DelegateMap delegate_map_; 578 DelegateMap delegate_map_;
582 579
583 scoped_ptr<ResourceScheduler> scheduler_; 580 scoped_ptr<ResourceScheduler> scheduler_;
584 581
585 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); 582 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
586 }; 583 };
587 584
588 } // namespace content 585 } // namespace content
589 586
590 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 587 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/cross_site_resource_handler.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698