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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBIndex.h

Issue 2276593002: Support renaming of IndexedDB indexes and object stores. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test coverage for the (slightly incorrect) behavior in strict mode when our flag is not enabl… Created 4 years, 3 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/IDBIndex.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h
index 0854b459811418398273fd2bf8a62795eaf72784..77c907c495641f8871b9c0721d06f2e45d7b9065 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h
@@ -55,6 +55,7 @@ public:
// Implement the IDL
const String& name() const { return m_metadata.name; }
+ void setName(const String& name, ExceptionState&);
IDBObjectStore* objectStore() const { return m_objectStore.get(); }
ScriptValue keyPath(ScriptState*) const;
bool unique() const { return m_metadata.unique; }
@@ -72,6 +73,7 @@ public:
void markDeleted() { m_deleted = true; }
bool isDeleted() const;
+ int64_t id() const { return m_metadata.id; }
// Used internally and by InspectorIndexedDBAgent:
IDBRequest* openCursor(ScriptState*, IDBKeyRange*, WebIDBCursorDirection);

Powered by Google App Engine
This is Rietveld 408576698