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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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) 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 oldResource->removeClient(this); 171 oldResource->removeClient(this);
172 172
173 if (newResource) { 173 if (newResource) {
174 m_resource = newResource; 174 m_resource = newResource;
175 m_resource->addClient(this); 175 m_resource->addClient(this);
176 } 176 }
177 } 177 }
178 RefPtrWillBePersistent<RawResource> m_resource; 178 RefPtrWillBePersistent<RawResource> m_resource;
179 // End of ResourceOwner re-implementation, see above. 179 // End of ResourceOwner re-implementation, see above.
180 180
181 SecurityOrigin* securityOrigin() const; 181 SecurityOrigin* getSecurityOrigin() const;
182 Document& document() const; 182 Document& document() const;
183 183
184 ThreadableLoaderClient* m_client; 184 ThreadableLoaderClient* m_client;
185 RawPtrWillBeWeakPersistent<Document> m_document; 185 RawPtrWillBeWeakPersistent<Document> m_document;
186 186
187 const ThreadableLoaderOptions m_options; 187 const ThreadableLoaderOptions m_options;
188 // Some items may be overridden by m_forceDoNotAllowStoredCredentials 188 // Some items may be overridden by m_forceDoNotAllowStoredCredentials
189 // and m_securityOrigin. In such a case, build a ResourceLoaderOptions 189 // and m_securityOrigin. In such a case, build a ResourceLoaderOptions
190 // with up-to-date values from them and this variable, and use it. 190 // with up-to-date values from them and this variable, and use it.
191 const ResourceLoaderOptions m_resourceLoaderOptions; 191 const ResourceLoaderOptions m_resourceLoaderOptions;
192 192
193 bool m_forceDoNotAllowStoredCredentials; 193 bool m_forceDoNotAllowStoredCredentials;
194 RefPtr<SecurityOrigin> m_securityOrigin; 194 RefPtr<SecurityOrigin> m_securityOrigin;
195 195
196 // True while the initial URL and all the URLs of the redirects 196 // True while the initial URL and all the URLs of the redirects
197 // this object has followed, if any, are same-origin to 197 // this object has followed, if any, are same-origin to
198 // securityOrigin(). 198 // getSecurityOrigin().
199 bool m_sameOriginRequest; 199 bool m_sameOriginRequest;
200 // Set to true if the current request is cross-origin and not simple. 200 // Set to true if the current request is cross-origin and not simple.
201 bool m_crossOriginNonSimpleRequest; 201 bool m_crossOriginNonSimpleRequest;
202 202
203 // Set to true when the response data is given to a data consumer 203 // Set to true when the response data is given to a data consumer
204 // handle. 204 // handle.
205 bool m_isUsingDataConsumerHandle; 205 bool m_isUsingDataConsumerHandle;
206 206
207 const bool m_async; 207 const bool m_async;
208 208
(...skipping 19 matching lines...) Expand all
228 // But this value is not the max number of total redirects allowed, 228 // But this value is not the max number of total redirects allowed,
229 // because same-origin redirects are not counted here. 229 // because same-origin redirects are not counted here.
230 int m_corsRedirectLimit; 230 int m_corsRedirectLimit;
231 231
232 WebURLRequest::FetchRedirectMode m_redirectMode; 232 WebURLRequest::FetchRedirectMode m_redirectMode;
233 }; 233 };
234 234
235 } // namespace blink 235 } // namespace blink
236 236
237 #endif // DocumentThreadableLoader_h 237 #endif // DocumentThreadableLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698