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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoadRequest.h

Issue 1843663005: Change bool ignoreCache to WebFrameLoadType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2003, 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 ContentSecurityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy() const { return m_shouldCheckMainWorldContentSecurityPolicy; } 95 ContentSecurityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy() const { return m_shouldCheckMainWorldContentSecurityPolicy; }
96 96
97 private: 97 private:
98 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe quest, const AtomicString& frameName, const SubstituteData& substituteData, Cont entSecurityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy) 98 FrameLoadRequest(Document* originDocument, const ResourceRequest& resourceRe quest, const AtomicString& frameName, const SubstituteData& substituteData, Cont entSecurityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy)
99 : m_originDocument(originDocument) 99 : m_originDocument(originDocument)
100 , m_resourceRequest(resourceRequest) 100 , m_resourceRequest(resourceRequest)
101 , m_frameName(frameName) 101 , m_frameName(frameName)
102 , m_substituteData(substituteData) 102 , m_substituteData(substituteData)
103 , m_replacesCurrentItem(false) 103 , m_replacesCurrentItem(false)
104 , m_clientRedirect(NotClientRedirect) 104 , m_clientRedirect(ClientRedirectPolicy::NotClientRedirect)
105 , m_shouldSendReferrer(MaybeSendReferrer) 105 , m_shouldSendReferrer(MaybeSendReferrer)
106 , m_shouldSetOpener(MaybeSetOpener) 106 , m_shouldSetOpener(MaybeSetOpener)
107 , m_shouldCheckMainWorldContentSecurityPolicy(shouldCheckMainWorldConten tSecurityPolicy) 107 , m_shouldCheckMainWorldContentSecurityPolicy(shouldCheckMainWorldConten tSecurityPolicy)
108 { 108 {
109 initializeFetchFlags(); 109 initializeFetchFlags();
110 if (originDocument) 110 if (originDocument)
111 m_resourceRequest.setRequestorOrigin(SecurityOrigin::create(originDo cument->url())); 111 m_resourceRequest.setRequestorOrigin(SecurityOrigin::create(originDo cument->url()));
112 } 112 }
113 void initializeFetchFlags() 113 void initializeFetchFlags()
114 { 114 {
(...skipping 11 matching lines...) Expand all
126 Member<Event> m_triggeringEvent; 126 Member<Event> m_triggeringEvent;
127 Member<HTMLFormElement> m_form; 127 Member<HTMLFormElement> m_form;
128 ShouldSendReferrer m_shouldSendReferrer; 128 ShouldSendReferrer m_shouldSendReferrer;
129 ShouldSetOpener m_shouldSetOpener; 129 ShouldSetOpener m_shouldSetOpener;
130 ContentSecurityPolicyDisposition m_shouldCheckMainWorldContentSecurityPolicy ; 130 ContentSecurityPolicyDisposition m_shouldCheckMainWorldContentSecurityPolicy ;
131 }; 131 };
132 132
133 } // namespace blink 133 } // namespace blink
134 134
135 #endif // FrameLoadRequest_h 135 #endif // FrameLoadRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698