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

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

Issue 1435263002: Oilpan: account for DocumentThreadableLoader::m_document back ref. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use WeakPersistent Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013, Intel Corporation 3 * Copyright (C) 2013, Intel Corporation
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 void loadRequest(const ResourceRequest&, ResourceLoaderOptions); 141 void loadRequest(const ResourceRequest&, ResourceLoaderOptions);
142 bool isAllowedRedirect(const KURL&) const; 142 bool isAllowedRedirect(const KURL&) const;
143 bool isAllowedByContentSecurityPolicy(const KURL&, ContentSecurityPolicy ::RedirectStatus) const; 143 bool isAllowedByContentSecurityPolicy(const KURL&, ContentSecurityPolicy ::RedirectStatus) const;
144 // Returns DoNotAllowStoredCredentials 144 // Returns DoNotAllowStoredCredentials
145 // if m_forceDoNotAllowStoredCredentials is set. Otherwise, just 145 // if m_forceDoNotAllowStoredCredentials is set. Otherwise, just
146 // returns allowCredentials value of m_resourceLoaderOptions. 146 // returns allowCredentials value of m_resourceLoaderOptions.
147 StoredCredentials effectiveAllowCredentials() const; 147 StoredCredentials effectiveAllowCredentials() const;
148 148
149 SecurityOrigin* securityOrigin() const; 149 SecurityOrigin* securityOrigin() const;
150 Document& document() const;
150 151
151 ThreadableLoaderClient* m_client; 152 ThreadableLoaderClient* m_client;
152 Document& m_document; 153 RawPtrWillBeWeakPersistent<Document> m_document;
153 154
154 const ThreadableLoaderOptions m_options; 155 const ThreadableLoaderOptions m_options;
155 // Some items may be overridden by m_forceDoNotAllowStoredCredentials 156 // Some items may be overridden by m_forceDoNotAllowStoredCredentials
156 // and m_securityOrigin. In such a case, build a ResourceLoaderOptions 157 // and m_securityOrigin. In such a case, build a ResourceLoaderOptions
157 // with up-to-date values from them and this variable, and use it. 158 // with up-to-date values from them and this variable, and use it.
158 const ResourceLoaderOptions m_resourceLoaderOptions; 159 const ResourceLoaderOptions m_resourceLoaderOptions;
159 160
160 bool m_forceDoNotAllowStoredCredentials; 161 bool m_forceDoNotAllowStoredCredentials;
161 RefPtr<SecurityOrigin> m_securityOrigin; 162 RefPtr<SecurityOrigin> m_securityOrigin;
162 163
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // But this value is not the max number of total redirects allowed, 196 // But this value is not the max number of total redirects allowed,
196 // because same-origin redirects are not counted here. 197 // because same-origin redirects are not counted here.
197 int m_corsRedirectLimit; 198 int m_corsRedirectLimit;
198 199
199 const WebURLRequest::FetchRedirectMode m_redirectMode; 200 const WebURLRequest::FetchRedirectMode m_redirectMode;
200 }; 201 };
201 202
202 } // namespace blink 203 } // namespace blink
203 204
204 #endif // DocumentThreadableLoader_h 205 #endif // DocumentThreadableLoader_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698