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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Propogating Changes to Renderer Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
index fa8eda53199a792a5f9e622d354908b9379f16d1..23c209722f6b4b7c1fabbac45e297035ff689c24 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
@@ -170,6 +170,12 @@ DOMStringList* IDBDatabase::objectStoreNames() const
return objectStoreNames;
}
+const String& IDBDatabase::getObjectStoreName(int64_t objectStoreId) const
+{
+ auto it = m_metadata.objectStores.find(objectStoreId);
jsbell 2016/07/11 18:25:33 Should this have ASSERT_WITH_SECURITY_IMPLICATION(
palakj1 2016/07/11 22:25:40 changed to using []
+ return it->value.name;
+}
+
IDBObjectStore* IDBDatabase::createObjectStore(const String& name, const IDBKeyPath& keyPath, bool autoIncrement, ExceptionState& exceptionState)
{
IDB_TRACE("IDBDatabase::createObjectStore");

Powered by Google App Engine
This is Rietveld 408576698