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

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

Issue 1325893005: Rename DOMFormData to FormData. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/loader/FormSubmission.cpp ('k') | 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "wtf/text/StringBuilder.h" 44 #include "wtf/text/StringBuilder.h"
45 #include "wtf/text/WTFString.h" 45 #include "wtf/text/WTFString.h"
46 46
47 namespace blink { 47 namespace blink {
48 48
49 class ArrayBufferOrArrayBufferViewOrBlobOrDocumentOrStringOrFormData; 49 class ArrayBufferOrArrayBufferViewOrBlobOrDocumentOrStringOrFormData;
50 class Blob; 50 class Blob;
51 class BlobDataHandle; 51 class BlobDataHandle;
52 class DOMArrayBuffer; 52 class DOMArrayBuffer;
53 class DOMArrayBufferView; 53 class DOMArrayBufferView;
54 class DOMFormData;
55 class Document; 54 class Document;
56 class DocumentParser; 55 class DocumentParser;
57 class ExceptionState; 56 class ExceptionState;
58 class ExecutionContext; 57 class ExecutionContext;
58 class FormData;
59 class ScriptState; 59 class ScriptState;
60 class SharedBuffer; 60 class SharedBuffer;
61 class Stream; 61 class Stream;
62 class TextResourceDecoder; 62 class TextResourceDecoder;
63 class ThreadableLoader; 63 class ThreadableLoader;
64 class WebDataConsumerHandle; 64 class WebDataConsumerHandle;
65 class XMLHttpRequestUpload; 65 class XMLHttpRequestUpload;
66 66
67 typedef int ExceptionCode; 67 typedef int ExceptionCode;
68 68
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 bool areMethodAndURLValidForSend(); 200 bool areMethodAndURLValidForSend();
201 201
202 void throwForLoadFailureIfNeeded(ExceptionState&, const String&); 202 void throwForLoadFailureIfNeeded(ExceptionState&, const String&);
203 203
204 bool initSend(ExceptionState&); 204 bool initSend(ExceptionState&);
205 void sendBytesData(const void*, size_t, ExceptionState&); 205 void sendBytesData(const void*, size_t, ExceptionState&);
206 void send(Document*, ExceptionState&); 206 void send(Document*, ExceptionState&);
207 void send(const String&, ExceptionState&); 207 void send(const String&, ExceptionState&);
208 void send(Blob*, ExceptionState&); 208 void send(Blob*, ExceptionState&);
209 void send(DOMFormData*, ExceptionState&); 209 void send(FormData*, ExceptionState&);
210 void send(DOMArrayBuffer*, ExceptionState&); 210 void send(DOMArrayBuffer*, ExceptionState&);
211 void send(DOMArrayBufferView*, ExceptionState&); 211 void send(DOMArrayBufferView*, ExceptionState&);
212 212
213 const AtomicString& getRequestHeader(const AtomicString& name) const; 213 const AtomicString& getRequestHeader(const AtomicString& name) const;
214 void setRequestHeaderInternal(const AtomicString& name, const AtomicString& value); 214 void setRequestHeaderInternal(const AtomicString& name, const AtomicString& value);
215 215
216 void trackProgress(long long dataLength); 216 void trackProgress(long long dataLength);
217 // Changes m_state and dispatches a readyStateChange event if new m_state 217 // Changes m_state and dispatches a readyStateChange event if new m_state
218 // value is different from last one. 218 // value is different from last one.
219 void changeState(State newState); 219 void changeState(State newState);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 bool m_sameOriginRequest; 315 bool m_sameOriginRequest;
316 // True iff the ongoing resource loading is using the downloadToFile 316 // True iff the ongoing resource loading is using the downloadToFile
317 // option. 317 // option.
318 bool m_downloadingToFile; 318 bool m_downloadingToFile;
319 bool m_responseTextOverflow; 319 bool m_responseTextOverflow;
320 }; 320 };
321 321
322 } // namespace blink 322 } // namespace blink
323 323
324 #endif // XMLHttpRequest_h 324 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « Source/core/loader/FormSubmission.cpp ('k') | Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698