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

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

Issue 786423002: Get rid of net::DO_NOT_PROMPT_FOR_LOGIN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete flag from iOS code Created 5 years, 11 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void SetDelegate(ResourceDispatcherHostDelegate* delegate) override; 83 void SetDelegate(ResourceDispatcherHostDelegate* delegate) override;
84 void SetAllowCrossOriginAuthPrompt(bool value) override; 84 void SetAllowCrossOriginAuthPrompt(bool value) override;
85 DownloadInterruptReason BeginDownload( 85 DownloadInterruptReason BeginDownload(
86 scoped_ptr<net::URLRequest> request, 86 scoped_ptr<net::URLRequest> request,
87 const Referrer& referrer, 87 const Referrer& referrer,
88 bool is_content_initiated, 88 bool is_content_initiated,
89 ResourceContext* context, 89 ResourceContext* context,
90 int child_id, 90 int child_id,
91 int route_id, 91 int route_id,
92 bool prefer_cache, 92 bool prefer_cache,
93 bool do_not_prompt_for_login,
93 scoped_ptr<DownloadSaveInfo> save_info, 94 scoped_ptr<DownloadSaveInfo> save_info,
94 uint32 download_id, 95 uint32 download_id,
95 const DownloadStartedCallback& started_callback) override; 96 const DownloadStartedCallback& started_callback) override;
96 void ClearLoginDelegateForRequest(net::URLRequest* request) override; 97 void ClearLoginDelegateForRequest(net::URLRequest* request) override;
97 void BlockRequestsForRoute(int child_id, int route_id) override; 98 void BlockRequestsForRoute(int child_id, int route_id) override;
98 void ResumeBlockedRequestsForRoute(int child_id, int route_id) override; 99 void ResumeBlockedRequestsForRoute(int child_id, int route_id) override;
99 100
100 // 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
101 // new requests). Cancels all pending requests. 102 // new requests). Cancels all pending requests.
102 void Shutdown(); 103 void Shutdown();
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 DelegateMap delegate_map_; 550 DelegateMap delegate_map_;
550 551
551 scoped_ptr<ResourceScheduler> scheduler_; 552 scoped_ptr<ResourceScheduler> scheduler_;
552 553
553 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); 554 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
554 }; 555 };
555 556
556 } // namespace content 557 } // namespace content
557 558
558 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 559 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_manager_impl.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