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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBRequest.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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 } 116 }
117 virtual void onSuccess(std::unique_ptr<WebIDBDatabase>, 117 virtual void onSuccess(std::unique_ptr<WebIDBDatabase>,
118 const IDBDatabaseMetadata&) { 118 const IDBDatabaseMetadata&) {
119 ASSERT_NOT_REACHED(); 119 ASSERT_NOT_REACHED();
120 } 120 }
121 121
122 // ScriptWrappable 122 // ScriptWrappable
123 bool hasPendingActivity() const final; 123 bool hasPendingActivity() const final;
124 124
125 // ActiveDOMObject 125 // ActiveDOMObject
126 void stop() final; 126 void contextDestroyed() final;
127 127
128 // EventTarget 128 // EventTarget
129 const AtomicString& interfaceName() const override; 129 const AtomicString& interfaceName() const override;
130 ExecutionContext* getExecutionContext() const final; 130 ExecutionContext* getExecutionContext() const final;
131 void uncaughtExceptionInEventHandler() final; 131 void uncaughtExceptionInEventHandler() final;
132 132
133 // Called by a version change transaction that has finished to set this 133 // Called by a version change transaction that has finished to set this
134 // request back from DONE (following "upgradeneeded") back to PENDING (for 134 // request back from DONE (following "upgradeneeded") back to PENDING (for
135 // the upcoming "success" or "error"). 135 // the upcoming "success" or "error").
136 void transactionDidFinishAndDispatch(); 136 void transactionDidFinishAndDispatch();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 RefPtr<IDBValue> m_cursorValue; 181 RefPtr<IDBValue> m_cursorValue;
182 182
183 bool m_didFireUpgradeNeededEvent = false; 183 bool m_didFireUpgradeNeededEvent = false;
184 bool m_preventPropagation = false; 184 bool m_preventPropagation = false;
185 bool m_resultDirty = true; 185 bool m_resultDirty = true;
186 }; 186 };
187 187
188 } // namespace blink 188 } // namespace blink
189 189
190 #endif // IDBRequest_h 190 #endif // IDBRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698