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

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

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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/xml/DOMParser.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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class SecurityOrigin; 49 class SecurityOrigin;
50 class SharedBuffer; 50 class SharedBuffer;
51 class Stream; 51 class Stream;
52 class TextResourceDecoder; 52 class TextResourceDecoder;
53 class ThreadableLoader; 53 class ThreadableLoader;
54 54
55 typedef int ExceptionCode; 55 typedef int ExceptionCode;
56 56
57 class XMLHttpRequest FINAL : public RefCountedWillBeRefCountedGarbageCollected<X MLHttpRequest>, public ScriptWrappable, public XMLHttpRequestEventTarget, privat e ThreadableLoaderClient, public ActiveDOMObject { 57 class XMLHttpRequest FINAL : public RefCountedWillBeRefCountedGarbageCollected<X MLHttpRequest>, public ScriptWrappable, public XMLHttpRequestEventTarget, privat e ThreadableLoaderClient, public ActiveDOMObject {
58 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 58 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
59 DECLARE_GC_INFO;
60 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<X MLHttpRequest>); 59 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<X MLHttpRequest>);
61 public: 60 public:
62 static PassRefPtrWillBeRawPtr<XMLHttpRequest> create(ExecutionContext*, Pass RefPtr<SecurityOrigin> = nullptr); 61 static PassRefPtrWillBeRawPtr<XMLHttpRequest> create(ExecutionContext*, Pass RefPtr<SecurityOrigin> = nullptr);
63 virtual ~XMLHttpRequest(); 62 virtual ~XMLHttpRequest();
64 63
65 // These exact numeric values are important because JS expects them. 64 // These exact numeric values are important because JS expects them.
66 enum State { 65 enum State {
67 UNSENT = 0, 66 UNSENT = 0,
68 OPENED = 1, 67 OPENED = 1,
69 HEADERS_RECEIVED = 2, 68 HEADERS_RECEIVED = 2,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 264
266 // An enum corresponding to the allowed string values for the responseType a ttribute. 265 // An enum corresponding to the allowed string values for the responseType a ttribute.
267 ResponseTypeCode m_responseTypeCode; 266 ResponseTypeCode m_responseTypeCode;
268 AsyncMethodRunner<XMLHttpRequest> m_dropProtectionRunner; 267 AsyncMethodRunner<XMLHttpRequest> m_dropProtectionRunner;
269 RefPtr<SecurityOrigin> m_securityOrigin; 268 RefPtr<SecurityOrigin> m_securityOrigin;
270 }; 269 };
271 270
272 } // namespace WebCore 271 } // namespace WebCore
273 272
274 #endif // XMLHttpRequest_h 273 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « Source/core/xml/DOMParser.cpp ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698