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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org> 3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org>
4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org> 4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org>
5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2008, 2011 Google Inc. All rights reserved.
6 * Copyright (C) 2012 Intel Corporation 6 * Copyright (C) 2012 Intel Corporation
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 send(body.getAsArrayBufferView().get(), exceptionState); 660 send(body.getAsArrayBufferView().get(), exceptionState);
661 return; 661 return;
662 } 662 }
663 663
664 if (body.isBlob()) { 664 if (body.isBlob()) {
665 send(body.getAsBlob(), exceptionState); 665 send(body.getAsBlob(), exceptionState);
666 return; 666 return;
667 } 667 }
668 668
669 if (body.isDocument()) { 669 if (body.isDocument()) {
670 send(body.getAsDocument().get(), exceptionState); 670 send(body.getAsDocument(), exceptionState);
671 return; 671 return;
672 } 672 }
673 673
674 if (body.isFormData()) { 674 if (body.isFormData()) {
675 send(body.getAsFormData(), exceptionState); 675 send(body.getAsFormData(), exceptionState);
676 return; 676 return;
677 } 677 }
678 678
679 ASSERT(body.isString()); 679 ASSERT(body.isString());
680 send(body.getAsString(), exceptionState); 680 send(body.getAsString(), exceptionState);
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1703 visitor->trace(m_responseDocumentParser); 1703 visitor->trace(m_responseDocumentParser);
1704 visitor->trace(m_progressEventThrottle); 1704 visitor->trace(m_progressEventThrottle);
1705 visitor->trace(m_upload); 1705 visitor->trace(m_upload);
1706 visitor->trace(m_blobLoader); 1706 visitor->trace(m_blobLoader);
1707 XMLHttpRequestEventTarget::trace(visitor); 1707 XMLHttpRequestEventTarget::trace(visitor);
1708 DocumentParserClient::trace(visitor); 1708 DocumentParserClient::trace(visitor);
1709 ActiveDOMObject::trace(visitor); 1709 ActiveDOMObject::trace(visitor);
1710 } 1710 }
1711 1711
1712 } // namespace blink 1712 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698