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

Side by Side Diff: Source/core/xml/XMLHttpRequest.h

Issue 74493002: Removed refcounting from TextResourceDecoder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_step2
Patch Set: Compile fix Created 7 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 | « Source/core/workers/WorkerScriptLoader.h ('k') | Source/core/xml/XMLHttpRequest.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) 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 unsigned long m_timeoutMilliseconds; 208 unsigned long m_timeoutMilliseconds;
209 RefPtr<Blob> m_responseBlob; 209 RefPtr<Blob> m_responseBlob;
210 RefPtr<Stream> m_responseStream; 210 RefPtr<Stream> m_responseStream;
211 211
212 RefPtr<ThreadableLoader> m_loader; 212 RefPtr<ThreadableLoader> m_loader;
213 State m_state; 213 State m_state;
214 214
215 ResourceResponse m_response; 215 ResourceResponse m_response;
216 String m_responseEncoding; 216 String m_responseEncoding;
217 217
218 RefPtr<TextResourceDecoder> m_decoder; 218 OwnPtr<TextResourceDecoder> m_decoder;
219 219
220 ScriptString m_responseText; 220 ScriptString m_responseText;
221 // Used to skip m_responseDocument creation if it's done previously. We need 221 // Used to skip m_responseDocument creation if it's done previously. We need
222 // this separate flag since m_responseDocument can be 0 for some cases. 222 // this separate flag since m_responseDocument can be 0 for some cases.
223 bool m_createdDocument; 223 bool m_createdDocument;
224 RefPtr<Document> m_responseDocument; 224 RefPtr<Document> m_responseDocument;
225 225
226 RefPtr<SharedBuffer> m_binaryResponseBuilder; 226 RefPtr<SharedBuffer> m_binaryResponseBuilder;
227 RefPtr<ArrayBuffer> m_responseArrayBuffer; 227 RefPtr<ArrayBuffer> m_responseArrayBuffer;
228 228
(...skipping 18 matching lines...) Expand all
247 247
248 // An enum corresponding to the allowed string values for the responseType a ttribute. 248 // An enum corresponding to the allowed string values for the responseType a ttribute.
249 ResponseTypeCode m_responseTypeCode; 249 ResponseTypeCode m_responseTypeCode;
250 AsyncMethodRunner<XMLHttpRequest> m_dropProtectionRunner; 250 AsyncMethodRunner<XMLHttpRequest> m_dropProtectionRunner;
251 RefPtr<SecurityOrigin> m_securityOrigin; 251 RefPtr<SecurityOrigin> m_securityOrigin;
252 }; 252 };
253 253
254 } // namespace WebCore 254 } // namespace WebCore
255 255
256 #endif // XMLHttpRequest_h 256 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « Source/core/workers/WorkerScriptLoader.h ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698