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

Side by Side Diff: Source/modules/indexeddb/IDBDatabase.h

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 9 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
OLDNEW
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 14 matching lines...) Expand all
25 25
26 #ifndef IDBDatabase_h 26 #ifndef IDBDatabase_h
27 #define IDBDatabase_h 27 #define IDBDatabase_h
28 28
29 #include "bindings/v8/Dictionary.h" 29 #include "bindings/v8/Dictionary.h"
30 #include "bindings/v8/ScriptWrappable.h" 30 #include "bindings/v8/ScriptWrappable.h"
31 #include "core/dom/ActiveDOMObject.h" 31 #include "core/dom/ActiveDOMObject.h"
32 #include "core/dom/DOMStringList.h" 32 #include "core/dom/DOMStringList.h"
33 #include "core/events/Event.h" 33 #include "core/events/Event.h"
34 #include "core/events/EventTarget.h" 34 #include "core/events/EventTarget.h"
35 #include "heap/Handle.h"
35 #include "modules/indexeddb/IDBDatabaseCallbacks.h" 36 #include "modules/indexeddb/IDBDatabaseCallbacks.h"
36 #include "modules/indexeddb/IDBMetadata.h" 37 #include "modules/indexeddb/IDBMetadata.h"
37 #include "modules/indexeddb/IDBObjectStore.h" 38 #include "modules/indexeddb/IDBObjectStore.h"
38 #include "modules/indexeddb/IDBTransaction.h" 39 #include "modules/indexeddb/IDBTransaction.h"
39 #include "modules/indexeddb/IndexedDB.h" 40 #include "modules/indexeddb/IndexedDB.h"
40 #include "public/platform/WebIDBDatabase.h" 41 #include "public/platform/WebIDBDatabase.h"
41 #include "wtf/OwnPtr.h" 42 #include "wtf/OwnPtr.h"
42 #include "wtf/PassOwnPtr.h" 43 #include "wtf/PassOwnPtr.h"
43 #include "wtf/PassRefPtr.h" 44 #include "wtf/PassRefPtr.h"
44 #include "wtf/RefCounted.h" 45 #include "wtf/RefCounted.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void deleteObjectStore(const String& name, ExceptionState&); 77 void deleteObjectStore(const String& name, ExceptionState&);
77 void close(); 78 void close();
78 79
79 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); 80 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
80 DEFINE_ATTRIBUTE_EVENT_LISTENER(close); 81 DEFINE_ATTRIBUTE_EVENT_LISTENER(close);
81 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); 82 DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
82 DEFINE_ATTRIBUTE_EVENT_LISTENER(versionchange); 83 DEFINE_ATTRIBUTE_EVENT_LISTENER(versionchange);
83 84
84 // IDBDatabaseCallbacks 85 // IDBDatabaseCallbacks
85 void onVersionChange(int64_t oldVersion, int64_t newVersion); 86 void onVersionChange(int64_t oldVersion, int64_t newVersion);
86 void onAbort(int64_t, PassRefPtr<DOMError>); 87 void onAbort(int64_t, PassRefPtrWillBeRawPtr<DOMError>);
87 void onComplete(int64_t); 88 void onComplete(int64_t);
88 89
89 // ActiveDOMObject 90 // ActiveDOMObject
90 virtual bool hasPendingActivity() const OVERRIDE; 91 virtual bool hasPendingActivity() const OVERRIDE;
91 virtual void stop() OVERRIDE; 92 virtual void stop() OVERRIDE;
92 93
93 // EventTarget 94 // EventTarget
94 virtual const AtomicString& interfaceName() const OVERRIDE; 95 virtual const AtomicString& interfaceName() const OVERRIDE;
95 virtual ExecutionContext* executionContext() const OVERRIDE; 96 virtual ExecutionContext* executionContext() const OVERRIDE;
96 97
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Keep track of the versionchange events waiting to be fired on this 145 // Keep track of the versionchange events waiting to be fired on this
145 // database so that we can cancel them if the database closes. 146 // database so that we can cancel them if the database closes.
146 Vector<RefPtr<Event> > m_enqueuedEvents; 147 Vector<RefPtr<Event> > m_enqueuedEvents;
147 148
148 RefPtr<IDBDatabaseCallbacks> m_databaseCallbacks; 149 RefPtr<IDBDatabaseCallbacks> m_databaseCallbacks;
149 }; 150 };
150 151
151 } // namespace WebCore 152 } // namespace WebCore
152 153
153 #endif // IDBDatabase_h 154 #endif // IDBDatabase_h
OLDNEW
« no previous file with comments | « Source/modules/filesystem/InspectorFileSystemAgent.cpp ('k') | Source/modules/indexeddb/IDBDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698