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

Unified Diff: content/browser/loader/resource_request_info_impl.cc

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 side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/resource_request_info_impl.cc
diff --git a/content/browser/loader/resource_request_info_impl.cc b/content/browser/loader/resource_request_info_impl.cc
index 72f09f1c627407a5576fa40b2f7730b6a30f01b9..be8ffa0ead4395e41906ad70e172b029d5f8f10d 100644
--- a/content/browser/loader/resource_request_info_impl.cc
+++ b/content/browser/loader/resource_request_info_impl.cc
@@ -61,6 +61,7 @@ void ResourceRequestInfo::AllocateForTesting(net::URLRequest* request,
false, // has_user_gesture
false, // enable load timing
false, // enable upload progress
+ false, // do_not_prompt_for_login
blink::WebReferrerPolicyDefault, // referrer_policy
blink::WebPageVisibilityStateVisible, // visibility_state
context, // context
@@ -117,6 +118,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
bool has_user_gesture,
bool enable_load_timing,
bool enable_upload_progress,
+ bool do_not_prompt_for_login,
blink::WebReferrerPolicy referrer_policy,
blink::WebPageVisibilityState visibility_state,
ResourceContext* context,
@@ -140,6 +142,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
has_user_gesture_(has_user_gesture),
enable_load_timing_(enable_load_timing),
enable_upload_progress_(enable_upload_progress),
+ do_not_prompt_for_login_(do_not_prompt_for_login),
was_ignored_by_handler_(false),
counted_as_in_flight_request_(false),
resource_type_(resource_type),
« no previous file with comments | « content/browser/loader/resource_request_info_impl.h ('k') | content/browser/loader/resource_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698