| OLD | NEW | 
|---|
| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 103                          IDBKey* primary_key, | 103                          IDBKey* primary_key, | 
| 104                          PassRefPtr<IDBValue>); | 104                          PassRefPtr<IDBValue>); | 
| 105   virtual void OnSuccess(IDBKey*); | 105   virtual void OnSuccess(IDBKey*); | 
| 106   virtual void OnSuccess(PassRefPtr<IDBValue>); | 106   virtual void OnSuccess(PassRefPtr<IDBValue>); | 
| 107   virtual void OnSuccess(const Vector<RefPtr<IDBValue>>&); | 107   virtual void OnSuccess(const Vector<RefPtr<IDBValue>>&); | 
| 108   virtual void OnSuccess(int64_t); | 108   virtual void OnSuccess(int64_t); | 
| 109   virtual void OnSuccess(); | 109   virtual void OnSuccess(); | 
| 110   virtual void OnSuccess(IDBKey*, IDBKey* primary_key, PassRefPtr<IDBValue>); | 110   virtual void OnSuccess(IDBKey*, IDBKey* primary_key, PassRefPtr<IDBValue>); | 
| 111 | 111 | 
| 112   // Only IDBOpenDBRequest instances should receive these: | 112   // Only IDBOpenDBRequest instances should receive these: | 
| 113   virtual void OnBlocked(int64_t old_version) { ASSERT_NOT_REACHED(); } | 113   virtual void OnBlocked(int64_t old_version) { NOTREACHED(); } | 
| 114   virtual void OnUpgradeNeeded(int64_t old_version, | 114   virtual void OnUpgradeNeeded(int64_t old_version, | 
| 115                                std::unique_ptr<WebIDBDatabase>, | 115                                std::unique_ptr<WebIDBDatabase>, | 
| 116                                const IDBDatabaseMetadata&, | 116                                const IDBDatabaseMetadata&, | 
| 117                                WebIDBDataLoss, | 117                                WebIDBDataLoss, | 
| 118                                String data_loss_message) { | 118                                String data_loss_message) { | 
| 119     ASSERT_NOT_REACHED(); | 119     NOTREACHED(); | 
| 120   } | 120   } | 
| 121   virtual void OnSuccess(std::unique_ptr<WebIDBDatabase>, | 121   virtual void OnSuccess(std::unique_ptr<WebIDBDatabase>, | 
| 122                          const IDBDatabaseMetadata&) { | 122                          const IDBDatabaseMetadata&) { | 
| 123     ASSERT_NOT_REACHED(); | 123     ASSERT_NOT_REACHED(); | 
| 124   } | 124   } | 
| 125 | 125 | 
| 126   // ScriptWrappable | 126   // ScriptWrappable | 
| 127   bool HasPendingActivity() const final; | 127   bool HasPendingActivity() const final; | 
| 128 | 128 | 
| 129   // SuspendableObject | 129   // SuspendableObject | 
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 198   bool did_throw_in_event_handler_ = false; | 198   bool did_throw_in_event_handler_ = false; | 
| 199 | 199 | 
| 200   // Pointer back to the WebIDBCallbacks that holds a persistent reference to | 200   // Pointer back to the WebIDBCallbacks that holds a persistent reference to | 
| 201   // this object. | 201   // this object. | 
| 202   WebIDBCallbacks* web_callbacks_ = nullptr; | 202   WebIDBCallbacks* web_callbacks_ = nullptr; | 
| 203 }; | 203 }; | 
| 204 | 204 | 
| 205 }  // namespace blink | 205 }  // namespace blink | 
| 206 | 206 | 
| 207 #endif  // IDBRequest_h | 207 #endif  // IDBRequest_h | 
| OLD | NEW | 
|---|