| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * 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 * | 10 * |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "modules/indexeddb/WebIDBCallbacksImpl.h" | 29 #include "modules/indexeddb/WebIDBCallbacksImpl.h" |
| 30 | 30 |
| 31 #include <memory> | 31 #include <memory> |
| 32 #include "core/dom/DOMException.h" | 32 #include "core/dom/DOMException.h" |
| 33 #include "core/probe/CoreProbes.h" | 33 #include "core/probe/CoreProbes.h" |
| 34 #include "modules/IndexedDBNames.h" | 34 #include "modules/IndexedDBNames.h" |
| 35 #include "modules/indexeddb/IDBMetadata.h" | 35 #include "modules/indexeddb/IDBMetadata.h" |
| 36 #include "modules/indexeddb/IDBRequest.h" | 36 #include "modules/indexeddb/IDBRequest.h" |
| 37 #include "modules/indexeddb/IDBValue.h" | 37 #include "modules/indexeddb/IDBValue.h" |
| 38 #include "platform/SharedBuffer.h" | 38 #include "platform/SharedBuffer.h" |
| 39 #include "platform/wtf/PtrUtil.h" |
| 39 #include "public/platform/modules/indexeddb/WebIDBCursor.h" | 40 #include "public/platform/modules/indexeddb/WebIDBCursor.h" |
| 40 #include "public/platform/modules/indexeddb/WebIDBDatabase.h" | 41 #include "public/platform/modules/indexeddb/WebIDBDatabase.h" |
| 41 #include "public/platform/modules/indexeddb/WebIDBDatabaseError.h" | 42 #include "public/platform/modules/indexeddb/WebIDBDatabaseError.h" |
| 42 #include "public/platform/modules/indexeddb/WebIDBKey.h" | 43 #include "public/platform/modules/indexeddb/WebIDBKey.h" |
| 43 #include "public/platform/modules/indexeddb/WebIDBValue.h" | 44 #include "public/platform/modules/indexeddb/WebIDBValue.h" |
| 44 #include "wtf/PtrUtil.h" | |
| 45 | 45 |
| 46 using blink::WebIDBCursor; | 46 using blink::WebIDBCursor; |
| 47 using blink::WebIDBDatabase; | 47 using blink::WebIDBDatabase; |
| 48 using blink::WebIDBDatabaseError; | 48 using blink::WebIDBDatabaseError; |
| 49 using blink::WebIDBKey; | 49 using blink::WebIDBKey; |
| 50 using blink::WebIDBKeyPath; | 50 using blink::WebIDBKeyPath; |
| 51 using blink::WebIDBMetadata; | 51 using blink::WebIDBMetadata; |
| 52 using blink::WebIDBValue; | 52 using blink::WebIDBValue; |
| 53 using blink::WebVector; | 53 using blink::WebVector; |
| 54 | 54 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 } else { | 194 } else { |
| 195 db->Close(); | 195 db->Close(); |
| 196 } | 196 } |
| 197 } | 197 } |
| 198 | 198 |
| 199 void WebIDBCallbacksImpl::Detach() { | 199 void WebIDBCallbacksImpl::Detach() { |
| 200 request_.Clear(); | 200 request_.Clear(); |
| 201 } | 201 } |
| 202 | 202 |
| 203 } // namespace blink | 203 } // namespace blink |
| OLD | NEW |