Home
last modified time | relevance | path

Searched refs:IDBDatabaseMetadata (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DIDBOpenDBRequest.cpp77 …Nullable<unsigned long long> newVersionNullable = (m_version == IDBDatabaseMetadata::DefaultIntVer… in onBlocked()
81 …eded(int64_t oldVersion, PassOwnPtr<WebIDBDatabase> backend, const IDBDatabaseMetadata& metadata, … in onUpgradeNeeded()
98 if (oldVersion == IDBDatabaseMetadata::NoIntVersion) { in onUpgradeNeeded()
100 oldVersion = IDBDatabaseMetadata::DefaultIntVersion; in onUpgradeNeeded()
102 IDBDatabaseMetadata oldMetadata(metadata); in onUpgradeNeeded()
108 if (m_version == IDBDatabaseMetadata::NoIntVersion) in onUpgradeNeeded()
113 void IDBOpenDBRequest::onSuccess(PassOwnPtr<WebIDBDatabase> backend, const IDBDatabaseMetadata& met… in onSuccess()
147 if (oldVersion == IDBDatabaseMetadata::NoIntVersion) { in onSuccess()
149 oldVersion = IDBDatabaseMetadata::DefaultIntVersion; in onSuccess()
DIDBMetadata.h78 struct IDBDatabaseMetadata { struct
87 IDBDatabaseMetadata() in IDBDatabaseMetadata() argument
91IDBDatabaseMetadata(const String& name, int64_t id, const String& version, int64_t intVersion, int… in IDBDatabaseMetadata() argument
DIDBTransaction.h61 …eate(ScriptState*, int64_t, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata& previousMe…
110 …ctor<String>&, WebIDBTransactionMode, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata&);
141 IDBDatabaseMetadata m_previousMetadata;
DIDBDatabase.h65 void setMetadata(const IDBDatabaseMetadata& metadata) { m_metadata = metadata; } in setMetadata()
104 const IDBDatabaseMetadata& metadata() const { return m_metadata; } in metadata()
144 IDBDatabaseMetadata m_metadata;
DIDBOpenDBRequest.h46 …pgradeNeeded(int64_t oldVersion, PassOwnPtr<WebIDBDatabase>, const IDBDatabaseMetadata&, WebIDBDat…
47 virtual void onSuccess(PassOwnPtr<WebIDBDatabase>, const IDBDatabaseMetadata&) OVERRIDE;
DIDBRequest.h52 struct IDBDatabaseMetadata;
109 …pgradeNeeded(int64_t oldVersion, PassOwnPtr<WebIDBDatabase>, const IDBDatabaseMetadata&, WebIDBDat… in onUpgradeNeeded() argument
110 …virtual void onSuccess(PassOwnPtr<WebIDBDatabase>, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHE… in onSuccess() argument
DIDBFactory.cpp107 ASSERT(version >= 1 || version == IDBDatabaseMetadata::NoIntVersion); in openInternal()
135 return openInternal(scriptState, name, IDBDatabaseMetadata::NoIntVersion, exceptionState); in open()
153 …quest* request = IDBOpenDBRequest::create(scriptState, nullptr, 0, IDBDatabaseMetadata::DefaultInt… in deleteDatabase()
DIDBDatabase.cpp128 IDBDatabaseMetadata::ObjectStoreMap::iterator it = m_metadata.objectStores.find(objectStoreId); in indexCreated()
135 IDBDatabaseMetadata::ObjectStoreMap::iterator it = m_metadata.objectStores.find(objectStoreId); in indexDeleted()
183 …for (IDBDatabaseMetadata::ObjectStoreMap::const_iterator it = m_metadata.objectStores.begin(); it … in objectStoreNames()
192 if (intVersion == IDBDatabaseMetadata::NoIntVersion) in version()
407 …Nullable<unsigned long long> newVersionNullable = (newVersion == IDBDatabaseMetadata::NoIntVersion… in onVersionChange()
440 …for (IDBDatabaseMetadata::ObjectStoreMap::const_iterator it = m_metadata.objectStores.begin(); it … in findObjectStoreId()
DIDBTransaction.cpp50 …IDBTransaction(scriptState, id, objectStoreNames, mode, db, openDBRequest, IDBDatabaseMetadata())); in create()
55 …nt64_t id, IDBDatabase* db, IDBOpenDBRequest* openDBRequest, const IDBDatabaseMetadata& previousMe… in create()
62 …Mode mode, IDBDatabase* db, IDBOpenDBRequest* openDBRequest, const IDBDatabaseMetadata& previousMe… in IDBTransaction()
137 const IDBDatabaseMetadata& metadata = m_database->metadata(); in objectStore()
DIDBRequestTest.cpp139 const IDBDatabaseMetadata metadata; in TEST_F()
DInspectorIndexedDBAgent.cpp272 const IDBDatabaseMetadata databaseMetadata = idbDatabase->metadata(); in execute()
276 …for (IDBDatabaseMetadata::ObjectStoreMap::const_iterator it = databaseMetadata.objectStores.begin(… in execute()
/external/chromium_org/third_party/WebKit/public/platform/
DWebIDBMetadata.h36 struct IDBDatabaseMetadata;
82 WebIDBMetadata(const IDBDatabaseMetadata&);
83 operator IDBDatabaseMetadata() const;
/external/chromium_org/third_party/WebKit/Source/web/
DWebIDBMetadata.cpp36 WebIDBMetadata::WebIDBMetadata(const IDBDatabaseMetadata& metadata) in WebIDBMetadata()
45 …for (IDBDatabaseMetadata::ObjectStoreMap::const_iterator storeIterator = metadata.objectStores.beg… in WebIDBMetadata()
70 WebIDBMetadata::operator IDBDatabaseMetadata() const in operator IDBDatabaseMetadata()
72 IDBDatabaseMetadata db(name, id, version, intVersion, maxObjectStoreId); in operator IDBDatabaseMetadata()
DAssertMatchingEnums.cpp498 COMPILE_ASSERT_MATCHING_ENUM(WebIDBMetadata::NoIntVersion, IDBDatabaseMetadata::NoIntVersion);