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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void onComplete(); 108 void onComplete();
109 109
110 // EventTarget 110 // EventTarget
111 const AtomicString& interfaceName() const override; 111 const AtomicString& interfaceName() const override;
112 ExecutionContext* getExecutionContext() const override; 112 ExecutionContext* getExecutionContext() const override;
113 113
114 // ScriptWrappable 114 // ScriptWrappable
115 bool hasPendingActivity() const final; 115 bool hasPendingActivity() const final;
116 116
117 // ActiveDOMObject 117 // ActiveDOMObject
118 void stop() override; 118 void contextDestroyed() override;
119 119
120 protected: 120 protected:
121 // EventTarget 121 // EventTarget
122 DispatchEventResult dispatchEventInternal(Event*) override; 122 DispatchEventResult dispatchEventInternal(Event*) override;
123 123
124 private: 124 private:
125 IDBTransaction(ScriptState*, 125 IDBTransaction(ScriptState*,
126 int64_t, 126 int64_t,
127 const HashSet<String>&, 127 const HashSet<String>&,
128 WebIDBTransactionMode, 128 WebIDBTransactionMode,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // reset metadata in case of abort. 198 // reset metadata in case of abort.
199 HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> 199 HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata>
200 m_objectStoreCleanupMap; 200 m_objectStoreCleanupMap;
201 201
202 IDBDatabaseMetadata m_oldDatabaseMetadata; 202 IDBDatabaseMetadata m_oldDatabaseMetadata;
203 }; 203 };
204 204
205 } // namespace blink 205 } // namespace blink
206 206
207 #endif // IDBTransaction_h 207 #endif // IDBTransaction_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698