[IndexedDB] Extract connection request code into a separate class
The connection request code lived in the IndexedDBDatabase, which
already has a lot of it's own code and caused that class to be huge
and confusing.
This patch is the first step towards refactoring that part of the
code out into its own class. It is a purely non-functional change
which moves the code into a new class
'IndexedDBConnectionCoordinator' and simply delegates calls from
IndexedDBDatabase to this new class.
[email protected]
R: [email protected]
Bug: 992474
Change-Id: Ia3d394e097fe245fc6ecf0b57ca35986faa45670
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1745840
Commit-Queue: Daniel Murphy <[email protected]>
Reviewed-by: Chase Phillips <[email protected]>
Cr-Commit-Position: refs/heads/master@{#686133}
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 669e709..01dacf7 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -986,6 +986,8 @@
"indexed_db/indexed_db_class_factory.h",
"indexed_db/indexed_db_connection.cc",
"indexed_db/indexed_db_connection.h",
+ "indexed_db/indexed_db_connection_coordinator.cc",
+ "indexed_db/indexed_db_connection_coordinator.h",
"indexed_db/indexed_db_context_impl.cc",
"indexed_db/indexed_db_context_impl.h",
"indexed_db/indexed_db_cursor.cc",