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

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

Issue 486703002: Revert of XMLHttpRequest::overrideMimeType should throw InvalidStateError (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void open(const AtomicString& method, const KURL&, bool async, const String& user, const String& password, ExceptionState&); 103 void open(const AtomicString& method, const KURL&, bool async, const String& user, const String& password, ExceptionState&);
104 void send(ExceptionState&); 104 void send(ExceptionState&);
105 void send(Document*, ExceptionState&); 105 void send(Document*, ExceptionState&);
106 void send(const String&, ExceptionState&); 106 void send(const String&, ExceptionState&);
107 void send(Blob*, ExceptionState&); 107 void send(Blob*, ExceptionState&);
108 void send(DOMFormData*, ExceptionState&); 108 void send(DOMFormData*, ExceptionState&);
109 void send(ArrayBuffer*, ExceptionState&); 109 void send(ArrayBuffer*, ExceptionState&);
110 void send(ArrayBufferView*, ExceptionState&); 110 void send(ArrayBufferView*, ExceptionState&);
111 void abort(); 111 void abort();
112 void setRequestHeader(const AtomicString& name, const AtomicString& value, E xceptionState&); 112 void setRequestHeader(const AtomicString& name, const AtomicString& value, E xceptionState&);
113 void overrideMimeType(const AtomicString& override, ExceptionState&); 113 void overrideMimeType(const AtomicString& override);
114 String getAllResponseHeaders() const; 114 String getAllResponseHeaders() const;
115 const AtomicString& getResponseHeader(const AtomicString&) const; 115 const AtomicString& getResponseHeader(const AtomicString&) const;
116 ScriptString responseText(ExceptionState&); 116 ScriptString responseText(ExceptionState&);
117 ScriptString responseJSONSource(); 117 ScriptString responseJSONSource();
118 Document* responseXML(ExceptionState&); 118 Document* responseXML(ExceptionState&);
119 Blob* responseBlob(); 119 Blob* responseBlob();
120 Stream* responseStream(); 120 Stream* responseStream();
121 unsigned long timeout() const { return m_timeoutMilliseconds; } 121 unsigned long timeout() const { return m_timeoutMilliseconds; }
122 void setTimeout(unsigned long timeout, ExceptionState&); 122 void setTimeout(unsigned long timeout, ExceptionState&);
123 123
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 bool m_parsedResponse; 273 bool m_parsedResponse;
274 bool m_error; 274 bool m_error;
275 bool m_uploadEventsAllowed; 275 bool m_uploadEventsAllowed;
276 bool m_uploadComplete; 276 bool m_uploadComplete;
277 bool m_sameOriginRequest; 277 bool m_sameOriginRequest;
278 }; 278 };
279 279
280 } // namespace blink 280 } // namespace blink
281 281
282 #endif // XMLHttpRequest_h 282 #endif // XMLHttpRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698