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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 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
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 DEFINE_ATTRIBUTE_EVENT_LISTENER(complete); 93 DEFINE_ATTRIBUTE_EVENT_LISTENER(complete);
94 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
95 95
96 void onAbort(DOMException*); 96 void onAbort(DOMException*);
97 void onComplete(); 97 void onComplete();
98 98
99 // EventTarget 99 // EventTarget
100 const AtomicString& interfaceName() const override; 100 const AtomicString& interfaceName() const override;
101 ExecutionContext* getExecutionContext() const override; 101 ExecutionContext* getExecutionContext() const override;
102 102
103 // ActiveScriptWrappable 103 // ScriptWrappable
104 bool hasPendingActivity() const final; 104 bool hasPendingActivity() const final;
105 105
106 // ActiveDOMObject 106 // ActiveDOMObject
107 void stop() override; 107 void stop() override;
108 108
109 protected: 109 protected:
110 // EventTarget 110 // EventTarget
111 DispatchEventResult dispatchEventInternal(Event*) override; 111 DispatchEventResult dispatchEventInternal(Event*) override;
112 112
113 private: 113 private:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 // Holds stores created, deleted, or used during upgrade transactions to 148 // Holds stores created, deleted, or used during upgrade transactions to
149 // reset metadata in case of abort. 149 // reset metadata in case of abort.
150 HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> m_objectStoreCle anupMap; 150 HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> m_objectStoreCle anupMap;
151 IDBDatabaseMetadata m_previousMetadata; 151 IDBDatabaseMetadata m_previousMetadata;
152 }; 152 };
153 153
154 } // namespace blink 154 } // namespace blink
155 155
156 #endif // IDBTransaction_h 156 #endif // IDBTransaction_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698