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

Unified Diff: content/browser/loader/resource_request_info_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_request_info_impl.h
diff --git a/content/browser/loader/resource_request_info_impl.h b/content/browser/loader/resource_request_info_impl.h
index 6b75fcdae87bb2d2ca02fa447fc5160c845e102b..29f0d71aefd17d87edaf243db7617a7bba4395fe 100644
--- a/content/browser/loader/resource_request_info_impl.h
+++ b/content/browser/loader/resource_request_info_impl.h
@@ -58,6 +58,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
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,
@@ -167,6 +168,11 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool is_upload_progress_enabled() const { return enable_upload_progress_; }
+ bool do_not_prompt_for_login() const { return do_not_prompt_for_login_; }
+ void set_do_not_prompt_for_login(bool do_not_prompt) {
+ do_not_prompt_for_login_ = do_not_prompt;
+ }
+
private:
FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest,
DeletedFilterDetached);
@@ -192,6 +198,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool has_user_gesture_;
bool enable_load_timing_;
bool enable_upload_progress_;
+ bool do_not_prompt_for_login_;
bool was_ignored_by_handler_;
bool counted_as_in_flight_request_;
ResourceType resource_type_;
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698