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

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

Issue 2135343004: Trace XHR response wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/xmlhttprequest/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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 XMLHttpRequestUpload* upload(); 141 XMLHttpRequestUpload* upload();
142 bool isAsync() { return m_async; } 142 bool isAsync() { return m_async; }
143 143
144 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); 144 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange);
145 145
146 // (Also) eagerly finalized so as to prevent access to the eagerly finalized 146 // (Also) eagerly finalized so as to prevent access to the eagerly finalized
147 // progress event throttle. 147 // progress event throttle.
148 EAGERLY_FINALIZE(); 148 EAGERLY_FINALIZE();
149 DECLARE_VIRTUAL_TRACE(); 149 DECLARE_VIRTUAL_TRACE();
150 DECLARE_TRACE_WRAPPERS();
150 151
151 private: 152 private:
152 class BlobLoader; 153 class BlobLoader;
153 XMLHttpRequest(ExecutionContext*, PassRefPtr<SecurityOrigin>); 154 XMLHttpRequest(ExecutionContext*, PassRefPtr<SecurityOrigin>);
154 155
155 Document* document() const; 156 Document* document() const;
156 SecurityOrigin* getSecurityOrigin() const; 157 SecurityOrigin* getSecurityOrigin() const;
157 158
158 void didSendData(unsigned long long bytesSent, unsigned long long totalBytes ToBeSent) override; 159 void didSendData(unsigned long long bytesSent, unsigned long long totalBytes ToBeSent) override;
159 void didReceiveResponse(unsigned long identifier, const ResourceResponse&, s td::unique_ptr<WebDataConsumerHandle>) override; 160 void didReceiveResponse(unsigned long identifier, const ResourceResponse&, s td::unique_ptr<WebDataConsumerHandle>) override;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 bool m_sameOriginRequest; 316 bool m_sameOriginRequest;
316 // True iff the ongoing resource loading is using the downloadToFile 317 // True iff the ongoing resource loading is using the downloadToFile
317 // option. 318 // option.
318 bool m_downloadingToFile; 319 bool m_downloadingToFile;
319 bool m_responseTextOverflow; 320 bool m_responseTextOverflow;
320 }; 321 };
321 322
322 } // namespace blink 323 } // namespace blink
323 324
324 #endif // XMLHttpRequest_h 325 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698