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

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

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/tests/HeapGraphSerializerTest.cpp ('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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // response attribute has custom getter. 128 // response attribute has custom getter.
129 ArrayBuffer* responseArrayBuffer(ExceptionCode&); 129 ArrayBuffer* responseArrayBuffer(ExceptionCode&);
130 ArrayBuffer* optionalResponseArrayBuffer() const { return m_responseArrayBuf fer.get(); } 130 ArrayBuffer* optionalResponseArrayBuffer() const { return m_responseArrayBuf fer.get(); }
131 131
132 void setLastSendLineNumber(unsigned lineNumber) { m_lastSendLineNumber = lin eNumber; } 132 void setLastSendLineNumber(unsigned lineNumber) { m_lastSendLineNumber = lin eNumber; }
133 void setLastSendURL(const String& url) { m_lastSendURL = url; } 133 void setLastSendURL(const String& url) { m_lastSendURL = url; }
134 134
135 XMLHttpRequestUpload* upload(); 135 XMLHttpRequestUpload* upload();
136 XMLHttpRequestUpload* optionalUpload() const { return m_upload.get(); } 136 XMLHttpRequestUpload* optionalUpload() const { return m_upload.get(); }
137 137
138 virtual void reportMemoryUsage(MemoryObjectInfo*) const;
139
140 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange); 138 DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange);
141 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); 139 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
142 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); 140 DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
143 DEFINE_ATTRIBUTE_EVENT_LISTENER(load); 141 DEFINE_ATTRIBUTE_EVENT_LISTENER(load);
144 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadend); 142 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadend);
145 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart); 143 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart);
146 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress); 144 DEFINE_ATTRIBUTE_EVENT_LISTENER(progress);
147 #if ENABLE(XHR_TIMEOUT) 145 #if ENABLE(XHR_TIMEOUT)
148 DEFINE_ATTRIBUTE_EVENT_LISTENER(timeout); 146 DEFINE_ATTRIBUTE_EVENT_LISTENER(timeout);
149 #endif 147 #endif
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 239
242 // An enum corresponding to the allowed string values for the responseType a ttribute. 240 // An enum corresponding to the allowed string values for the responseType a ttribute.
243 ResponseTypeCode m_responseTypeCode; 241 ResponseTypeCode m_responseTypeCode;
244 242
245 RefPtr<SecurityOrigin> m_securityOrigin; 243 RefPtr<SecurityOrigin> m_securityOrigin;
246 }; 244 };
247 245
248 } // namespace WebCore 246 } // namespace WebCore
249 247
250 #endif // XMLHttpRequest_h 248 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « Source/core/tests/HeapGraphSerializerTest.cpp ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698