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

Side by Side Diff: Source/modules/indexeddb/IDBRequest.h

Issue 1163253003: Clean up macros around DEFINE_EVENT_TARGET_REFCOUNTING (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/modules/indexeddb/IDBDatabase.h ('k') | Source/modules/indexeddb/IDBTransaction.h » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 namespace blink { 50 namespace blink {
51 51
52 class ExceptionState; 52 class ExceptionState;
53 class IDBCursor; 53 class IDBCursor;
54 struct IDBDatabaseMetadata; 54 struct IDBDatabaseMetadata;
55 class IDBValue; 55 class IDBValue;
56 56
57 class MODULES_EXPORT IDBRequest 57 class MODULES_EXPORT IDBRequest
58 : public RefCountedGarbageCollectedEventTargetWithInlineData<IDBRequest> 58 : public RefCountedGarbageCollectedEventTargetWithInlineData<IDBRequest>
59 , public ActiveDOMObject { 59 , public ActiveDOMObject {
60 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I DBRequest>); 60 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(IDBRequest);
61 DEFINE_WRAPPERTYPEINFO(); 61 DEFINE_WRAPPERTYPEINFO();
62 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBRequest); 62 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBRequest);
63 public: 63 public:
64 static IDBRequest* create(ScriptState*, IDBAny* source, IDBTransaction*); 64 static IDBRequest* create(ScriptState*, IDBAny* source, IDBTransaction*);
65 virtual ~IDBRequest(); 65 virtual ~IDBRequest();
66 DECLARE_VIRTUAL_TRACE(); 66 DECLARE_VIRTUAL_TRACE();
67 67
68 ScriptState* scriptState() { return m_scriptState.get(); } 68 ScriptState* scriptState() { return m_scriptState.get(); }
69 ScriptValue result(ExceptionState&); 69 ScriptValue result(ExceptionState&);
70 DOMError* error(ExceptionState&) const; 70 DOMError* error(ExceptionState&) const;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 RefPtr<IDBValue> m_cursorValue; 165 RefPtr<IDBValue> m_cursorValue;
166 166
167 bool m_didFireUpgradeNeededEvent; 167 bool m_didFireUpgradeNeededEvent;
168 bool m_preventPropagation; 168 bool m_preventPropagation;
169 bool m_resultDirty; 169 bool m_resultDirty;
170 }; 170 };
171 171
172 } // namespace blink 172 } // namespace blink
173 173
174 #endif // IDBRequest_h 174 #endif // IDBRequest_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBDatabase.h ('k') | Source/modules/indexeddb/IDBTransaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698