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

Side by Side Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h

Issue 1274063003: [Loader] Make ThreadableLoader non-RefCounted and be managed by OwnPtr (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reflect comments. 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) 2003, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@nypop.com> 3 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@nypop.com>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * Copyright (C) 2012 Intel Corporation 5 * Copyright (C) 2012 Intel Corporation
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 KURL m_url; 257 KURL m_url;
258 AtomicString m_method; 258 AtomicString m_method;
259 HTTPHeaderMap m_requestHeaders; 259 HTTPHeaderMap m_requestHeaders;
260 // Not converted to ASCII lowercase. Must be lowered later or compared 260 // Not converted to ASCII lowercase. Must be lowered later or compared
261 // using case insensitive comparison functions if needed. 261 // using case insensitive comparison functions if needed.
262 AtomicString m_mimeTypeOverride; 262 AtomicString m_mimeTypeOverride;
263 unsigned long m_timeoutMilliseconds; 263 unsigned long m_timeoutMilliseconds;
264 Member<Blob> m_responseBlob; 264 Member<Blob> m_responseBlob;
265 Member<Stream> m_responseLegacyStream; 265 Member<Stream> m_responseLegacyStream;
266 266
267 RefPtr<ThreadableLoader> m_loader; 267 OwnPtr<ThreadableLoader> m_loader;
268 State m_state; 268 State m_state;
269 269
270 ResourceResponse m_response; 270 ResourceResponse m_response;
271 String m_finalResponseCharset; 271 String m_finalResponseCharset;
272 272
273 OwnPtr<TextResourceDecoder> m_decoder; 273 OwnPtr<TextResourceDecoder> m_decoder;
274 274
275 ScriptString m_responseText; 275 ScriptString m_responseText;
276 RefPtrWillBeMember<Document> m_responseDocument; 276 RefPtrWillBeMember<Document> m_responseDocument;
277 RefPtrWillBeMember<DocumentParser> m_responseDocumentParser; 277 RefPtrWillBeMember<DocumentParser> m_responseDocumentParser;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 bool m_sameOriginRequest; 315 bool m_sameOriginRequest;
316 // True iff the ongoing resource loading is using the downloadToFile 316 // True iff the ongoing resource loading is using the downloadToFile
317 // option. 317 // option.
318 bool m_downloadingToFile; 318 bool m_downloadingToFile;
319 bool m_responseTextOverflow; 319 bool m_responseTextOverflow;
320 }; 320 };
321 321
322 } // namespace blink 322 } // namespace blink
323 323
324 #endif // XMLHttpRequest_h 324 #endif // XMLHttpRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698