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 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "core/inspector/InspectorIndexedDBAgent.h" | 32 #include "core/inspector/InspectorIndexedDBAgent.h" |
33 | 33 |
34 #include "bindings/v8/ExceptionState.h" | 34 #include "bindings/v8/ExceptionState.h" |
35 #include "bindings/v8/ExceptionStatePlaceholder.h" | 35 #include "bindings/v8/ExceptionStatePlaceholder.h" |
36 #include "bindings/v8/ScriptController.h" | 36 #include "bindings/v8/ScriptController.h" |
37 #include "core/dom/DOMStringList.h" | 37 #include "core/dom/DOMStringList.h" |
38 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
39 #include "core/events/Event.h" | 39 #include "core/dom/Event.h" |
40 #include "core/events/EventListener.h" | 40 #include "core/dom/EventListener.h" |
41 #include "core/inspector/InjectedScript.h" | 41 #include "core/inspector/InjectedScript.h" |
42 #include "core/inspector/InspectorPageAgent.h" | 42 #include "core/inspector/InspectorPageAgent.h" |
43 #include "core/inspector/InspectorState.h" | 43 #include "core/inspector/InspectorState.h" |
44 #include "core/page/Frame.h" | 44 #include "core/page/Frame.h" |
45 #include "core/platform/JSONValues.h" | 45 #include "core/platform/JSONValues.h" |
46 #include "modules/indexeddb/DOMWindowIndexedDatabase.h" | 46 #include "modules/indexeddb/DOMWindowIndexedDatabase.h" |
47 #include "modules/indexeddb/IDBCursor.h" | 47 #include "modules/indexeddb/IDBCursor.h" |
48 #include "modules/indexeddb/IDBCursorWithValue.h" | 48 #include "modules/indexeddb/IDBCursorWithValue.h" |
49 #include "modules/indexeddb/IDBDatabase.h" | 49 #include "modules/indexeddb/IDBDatabase.h" |
50 #include "modules/indexeddb/IDBFactory.h" | 50 #include "modules/indexeddb/IDBFactory.h" |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 v8::HandleScope handleScope(toIsolate(frame)); | 778 v8::HandleScope handleScope(toIsolate(frame)); |
779 v8::Handle<v8::Context> context = document->frame()->script()->mainWorldCont
ext(); | 779 v8::Handle<v8::Context> context = document->frame()->script()->mainWorldCont
ext(); |
780 ASSERT(!context.IsEmpty()); | 780 ASSERT(!context.IsEmpty()); |
781 v8::Context::Scope contextScope(context); | 781 v8::Context::Scope contextScope(context); |
782 | 782 |
783 RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(documen
t, objectStoreName, requestCallback); | 783 RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(documen
t, objectStoreName, requestCallback); |
784 clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName
); | 784 clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName
); |
785 } | 785 } |
786 | 786 |
787 } // namespace WebCore | 787 } // namespace WebCore |
OLD | NEW |