| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "modules/indexeddb/InspectorIndexedDBAgent.h" | 31 #include "modules/indexeddb/InspectorIndexedDBAgent.h" |
| 32 | 32 |
| 33 #include "bindings/core/v8/ExceptionState.h" | 33 #include "bindings/core/v8/ExceptionState.h" |
| 34 #include "bindings/core/v8/ScriptController.h" | 34 #include "bindings/core/v8/ScriptController.h" |
| 35 #include "bindings/core/v8/V8BindingForCore.h" | 35 #include "bindings/core/v8/V8BindingForCore.h" |
| 36 #include "bindings/core/v8/V8PerIsolateData.h" | |
| 37 #include "core/dom/DOMStringList.h" | 36 #include "core/dom/DOMStringList.h" |
| 38 #include "core/dom/Document.h" | 37 #include "core/dom/Document.h" |
| 39 #include "core/dom/ExecutionContext.h" | 38 #include "core/dom/ExecutionContext.h" |
| 40 #include "core/events/EventListener.h" | 39 #include "core/events/EventListener.h" |
| 41 #include "core/frame/LocalFrame.h" | 40 #include "core/frame/LocalFrame.h" |
| 42 #include "core/inspector/InspectedFrames.h" | 41 #include "core/inspector/InspectedFrames.h" |
| 43 #include "core/inspector/V8InspectorString.h" | 42 #include "core/inspector/V8InspectorString.h" |
| 44 #include "modules/IndexedDBNames.h" | 43 #include "modules/IndexedDBNames.h" |
| 45 #include "modules/indexeddb/GlobalIndexedDB.h" | 44 #include "modules/indexeddb/GlobalIndexedDB.h" |
| 46 #include "modules/indexeddb/IDBCursor.h" | 45 #include "modules/indexeddb/IDBCursor.h" |
| 47 #include "modules/indexeddb/IDBCursorWithValue.h" | 46 #include "modules/indexeddb/IDBCursorWithValue.h" |
| 48 #include "modules/indexeddb/IDBDatabase.h" | 47 #include "modules/indexeddb/IDBDatabase.h" |
| 49 #include "modules/indexeddb/IDBFactory.h" | 48 #include "modules/indexeddb/IDBFactory.h" |
| 50 #include "modules/indexeddb/IDBIndex.h" | 49 #include "modules/indexeddb/IDBIndex.h" |
| 51 #include "modules/indexeddb/IDBKey.h" | 50 #include "modules/indexeddb/IDBKey.h" |
| 52 #include "modules/indexeddb/IDBKeyPath.h" | 51 #include "modules/indexeddb/IDBKeyPath.h" |
| 53 #include "modules/indexeddb/IDBKeyRange.h" | 52 #include "modules/indexeddb/IDBKeyRange.h" |
| 54 #include "modules/indexeddb/IDBMetadata.h" | 53 #include "modules/indexeddb/IDBMetadata.h" |
| 55 #include "modules/indexeddb/IDBObjectStore.h" | 54 #include "modules/indexeddb/IDBObjectStore.h" |
| 56 #include "modules/indexeddb/IDBOpenDBRequest.h" | 55 #include "modules/indexeddb/IDBOpenDBRequest.h" |
| 57 #include "modules/indexeddb/IDBRequest.h" | 56 #include "modules/indexeddb/IDBRequest.h" |
| 58 #include "modules/indexeddb/IDBTransaction.h" | 57 #include "modules/indexeddb/IDBTransaction.h" |
| 59 #include "platform/bindings/ScriptState.h" | 58 #include "platform/bindings/ScriptState.h" |
| 59 #include "platform/bindings/V8PerIsolateData.h" |
| 60 #include "platform/weborigin/SecurityOrigin.h" | 60 #include "platform/weborigin/SecurityOrigin.h" |
| 61 #include "platform/wtf/Vector.h" | 61 #include "platform/wtf/Vector.h" |
| 62 #include "public/platform/modules/indexeddb/WebIDBCursor.h" | 62 #include "public/platform/modules/indexeddb/WebIDBCursor.h" |
| 63 #include "public/platform/modules/indexeddb/WebIDBTypes.h" | 63 #include "public/platform/modules/indexeddb/WebIDBTypes.h" |
| 64 | 64 |
| 65 using blink::protocol::Array; | 65 using blink::protocol::Array; |
| 66 using blink::protocol::IndexedDB::DatabaseWithObjectStores; | 66 using blink::protocol::IndexedDB::DatabaseWithObjectStores; |
| 67 using blink::protocol::IndexedDB::DataEntry; | 67 using blink::protocol::IndexedDB::DataEntry; |
| 68 using blink::protocol::IndexedDB::Key; | 68 using blink::protocol::IndexedDB::Key; |
| 69 using blink::protocol::IndexedDB::KeyPath; | 69 using blink::protocol::IndexedDB::KeyPath; |
| (...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1035 document->GetSecurityOrigin()->ToRawString()), | 1035 document->GetSecurityOrigin()->ToRawString()), |
| 1036 false); | 1036 false); |
| 1037 } | 1037 } |
| 1038 | 1038 |
| 1039 DEFINE_TRACE(InspectorIndexedDBAgent) { | 1039 DEFINE_TRACE(InspectorIndexedDBAgent) { |
| 1040 visitor->Trace(inspected_frames_); | 1040 visitor->Trace(inspected_frames_); |
| 1041 InspectorBaseAgent::Trace(visitor); | 1041 InspectorBaseAgent::Trace(visitor); |
| 1042 } | 1042 } |
| 1043 | 1043 |
| 1044 } // namespace blink | 1044 } // namespace blink |
| OLD | NEW |