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

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

Issue 26114005: Revert 159087 "Revert 159004 "Merge 158146 "[XHR] Abort method e..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1599/
Patch Set: Created 7 years, 2 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
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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 bool initSend(ExceptionState&); 169 bool initSend(ExceptionState&);
170 void sendBytesData(const void*, size_t, ExceptionState&); 170 void sendBytesData(const void*, size_t, ExceptionState&);
171 171
172 String getRequestHeader(const AtomicString& name) const; 172 String getRequestHeader(const AtomicString& name) const;
173 void setRequestHeaderInternal(const AtomicString& name, const String& value) ; 173 void setRequestHeaderInternal(const AtomicString& name, const String& value) ;
174 174
175 void changeState(State newState); 175 void changeState(State newState);
176 void callReadyStateChangeListener(); 176 void callReadyStateChangeListener();
177 void dropProtectionSoon(); 177 void dropProtectionSoon();
178 void dropProtection(Timer<XMLHttpRequest>* = 0); 178 void dropProtection(Timer<XMLHttpRequest>* = 0);
179 void internalAbort(); 179 bool internalAbort();
180 void clearResponse(); 180 void clearResponse();
181 void clearResponseBuffers(); 181 void clearResponseBuffers();
182 void clearRequest(); 182 void clearRequest();
183 183
184 void createRequest(ExceptionState&); 184 void createRequest(ExceptionState&);
185 185
186 void genericError(); 186 void genericError();
187 void networkError(); 187 void networkError();
188 void abortError(); 188 void abortError();
189 189
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 // An enum corresponding to the allowed string values for the responseType a ttribute. 236 // An enum corresponding to the allowed string values for the responseType a ttribute.
237 ResponseTypeCode m_responseTypeCode; 237 ResponseTypeCode m_responseTypeCode;
238 Timer<XMLHttpRequest> m_protectionTimer; 238 Timer<XMLHttpRequest> m_protectionTimer;
239 RefPtr<SecurityOrigin> m_securityOrigin; 239 RefPtr<SecurityOrigin> m_securityOrigin;
240 }; 240 };
241 241
242 } // namespace WebCore 242 } // namespace WebCore
243 243
244 #endif // XMLHttpRequest_h 244 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698