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

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

Issue 1093923003: Change FrameTreeNode id from int64 to int. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change FrameTreeNode id from int64 to int 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 bool HasSufficientResourcesForRequest(net::URLRequest* request); 255 bool HasSufficientResourcesForRequest(net::URLRequest* request);
256 256
257 // Called by a ResourceHandler after it has finished its request and is done 257 // Called by a ResourceHandler after it has finished its request and is done
258 // using its shared memory buffer. Frees up that file descriptor to be used 258 // using its shared memory buffer. Frees up that file descriptor to be used
259 // elsewhere. 259 // elsewhere.
260 void FinishedWithResourcesForRequest(net::URLRequest* request); 260 void FinishedWithResourcesForRequest(net::URLRequest* request);
261 261
262 // PlzNavigate: Begins a request for NavigationURLLoader. |loader| is the 262 // PlzNavigate: Begins a request for NavigationURLLoader. |loader| is the
263 // loader to attach to the leaf resource handler. 263 // loader to attach to the leaf resource handler.
264 void BeginNavigationRequest(ResourceContext* resource_context, 264 void BeginNavigationRequest(ResourceContext* resource_context,
265 int64 frame_tree_node_id, 265 int frame_tree_node_id,
266 const NavigationRequestInfo& info, 266 const NavigationRequestInfo& info,
267 NavigationURLLoaderImplCore* loader); 267 NavigationURLLoaderImplCore* loader);
268 268
269 private: 269 private:
270 friend class ResourceDispatcherHostTest; 270 friend class ResourceDispatcherHostTest;
271 271
272 FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest, 272 FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest,
273 TestBlockedRequestsProcessDies); 273 TestBlockedRequestsProcessDies);
274 FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest, 274 FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest,
275 CalculateApproximateMemoryCost); 275 CalculateApproximateMemoryCost);
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 DelegateMap delegate_map_; 581 DelegateMap delegate_map_;
582 582
583 scoped_ptr<ResourceScheduler> scheduler_; 583 scoped_ptr<ResourceScheduler> scheduler_;
584 584
585 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); 585 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
586 }; 586 };
587 587
588 } // namespace content 588 } // namespace content
589 589
590 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 590 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/navigation_url_loader_impl_core.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