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

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

Issue 1982273002: Merge DocumentThreadableLoader's m_weakPtrFactory into that of RawResourceClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Loader_WeakPtrRawResourceClient
Patch Set: Created 4 years, 7 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
« 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 double m_requestStartedSeconds; // Time an asynchronous fetch request is started 217 double m_requestStartedSeconds; // Time an asynchronous fetch request is started
218 218
219 // Max number of times that this DocumentThreadableLoader can follow 219 // Max number of times that this DocumentThreadableLoader can follow
220 // cross-origin redirects. 220 // cross-origin redirects.
221 // This is used to limit the number of redirects. 221 // This is used to limit the number of redirects.
222 // But this value is not the max number of total redirects allowed, 222 // But this value is not the max number of total redirects allowed,
223 // because same-origin redirects are not counted here. 223 // because same-origin redirects are not counted here.
224 int m_corsRedirectLimit; 224 int m_corsRedirectLimit;
225 225
226 WebURLRequest::FetchRedirectMode m_redirectMode; 226 WebURLRequest::FetchRedirectMode m_redirectMode;
227
228 WeakPtrFactory<DocumentThreadableLoader> m_weakFactory;
229 }; 227 };
230 228
231 } // namespace blink 229 } // namespace blink
232 230
233 #endif // DocumentThreadableLoader_h 231 #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