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

Side by Side Diff: Source/core/inspector/InspectorIndexedDBAgent.cpp

Issue 18444005: core/inspector: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
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 11 matching lines...) Expand all
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
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 "config.h" 31 #include "config.h"
32
33 #include "core/inspector/InspectorIndexedDBAgent.h" 32 #include "core/inspector/InspectorIndexedDBAgent.h"
34 33
35 #include "bindings/v8/ExceptionState.h" 34 #include "bindings/v8/ExceptionState.h"
36 #include "bindings/v8/ExceptionStatePlaceholder.h" 35 #include "bindings/v8/ExceptionStatePlaceholder.h"
37 #include "bindings/v8/ScriptController.h" 36 #include "bindings/v8/ScriptController.h"
38 #include "core/dom/DOMStringList.h" 37 #include "core/dom/DOMStringList.h"
39 #include "core/dom/Document.h" 38 #include "core/dom/Document.h"
40 #include "core/dom/Event.h" 39 #include "core/dom/Event.h"
41 #include "core/dom/EventListener.h" 40 #include "core/dom/EventListener.h"
42 #include "core/inspector/InjectedScript.h" 41 #include "core/inspector/InjectedScript.h"
(...skipping 10 matching lines...) Expand all
53 #include "modules/indexeddb/IDBKey.h" 52 #include "modules/indexeddb/IDBKey.h"
54 #include "modules/indexeddb/IDBKeyPath.h" 53 #include "modules/indexeddb/IDBKeyPath.h"
55 #include "modules/indexeddb/IDBKeyRange.h" 54 #include "modules/indexeddb/IDBKeyRange.h"
56 #include "modules/indexeddb/IDBMetadata.h" 55 #include "modules/indexeddb/IDBMetadata.h"
57 #include "modules/indexeddb/IDBObjectStore.h" 56 #include "modules/indexeddb/IDBObjectStore.h"
58 #include "modules/indexeddb/IDBOpenDBRequest.h" 57 #include "modules/indexeddb/IDBOpenDBRequest.h"
59 #include "modules/indexeddb/IDBPendingTransactionMonitor.h" 58 #include "modules/indexeddb/IDBPendingTransactionMonitor.h"
60 #include "modules/indexeddb/IDBRequest.h" 59 #include "modules/indexeddb/IDBRequest.h"
61 #include "modules/indexeddb/IDBTransaction.h" 60 #include "modules/indexeddb/IDBTransaction.h"
62 #include "weborigin/SecurityOrigin.h" 61 #include "weborigin/SecurityOrigin.h"
63 62 #include "wtf/Vector.h"
64 #include <wtf/Vector.h>
65 63
66 using WebCore::TypeBuilder::Array; 64 using WebCore::TypeBuilder::Array;
67 using WebCore::TypeBuilder::IndexedDB::DatabaseWithObjectStores; 65 using WebCore::TypeBuilder::IndexedDB::DatabaseWithObjectStores;
68 using WebCore::TypeBuilder::IndexedDB::DataEntry; 66 using WebCore::TypeBuilder::IndexedDB::DataEntry;
69 using WebCore::TypeBuilder::IndexedDB::Key; 67 using WebCore::TypeBuilder::IndexedDB::Key;
70 using WebCore::TypeBuilder::IndexedDB::KeyPath; 68 using WebCore::TypeBuilder::IndexedDB::KeyPath;
71 using WebCore::TypeBuilder::IndexedDB::KeyRange; 69 using WebCore::TypeBuilder::IndexedDB::KeyRange;
72 using WebCore::TypeBuilder::IndexedDB::ObjectStore; 70 using WebCore::TypeBuilder::IndexedDB::ObjectStore;
73 using WebCore::TypeBuilder::IndexedDB::ObjectStoreIndex; 71 using WebCore::TypeBuilder::IndexedDB::ObjectStoreIndex;
74 72
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 v8::HandleScope handleScope; 778 v8::HandleScope handleScope;
781 v8::Handle<v8::Context> context = document->frame()->script()->mainWorldCont ext(); 779 v8::Handle<v8::Context> context = document->frame()->script()->mainWorldCont ext();
782 ASSERT(!context.IsEmpty()); 780 ASSERT(!context.IsEmpty());
783 v8::Context::Scope contextScope(context); 781 v8::Context::Scope contextScope(context);
784 782
785 RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(documen t, objectStoreName, requestCallback); 783 RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(documen t, objectStoreName, requestCallback);
786 clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName ); 784 clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName );
787 } 785 }
788 786
789 } // namespace WebCore 787 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorIndexedDBAgent.h ('k') | Source/core/inspector/InspectorInputAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698