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

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed)

Created:
4 years, 6 months ago by palakj1
Modified:
4 years, 5 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-bindings_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, falken, haraken, horo+watch_chromium.org, jam, jsbell+idb_chromium.org, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[IDBObserver] Lifetime Management: Adding and Removing Observer * Corresponding to each observe call at renderer side, an Observer object is created in the backend. * The observer begins observing after the completion of transaction it was created with. * The observer is removed when we have an unobserve call on observer or database connection closes. Current Implementation and Future Scope: https://goo.gl/Y2dobn Reference: https://github.com/dmurph/indexed-db-observers/blob/gh-pages/EXPLAINER.md BUG=609934 Committed: https://crrev.com/05f35eab096fe52eab3af2c6db191c1285dc5a68 Cr-Commit-Position: refs/heads/master@{#404283}

Patch Set 1 #

Patch Set 2 : Adding Observer #

Total comments: 27

Patch Set 3 : Unobserve functionality #

Total comments: 9

Patch Set 4 : Post dmurph review #

Total comments: 9

Patch Set 5 : Unobserve functionality: Wip #

Patch Set 6 : Observer moved to connection #

Total comments: 51

Patch Set 7 : Post dmurph review #

Patch Set 8 : post dmuprh review #

Total comments: 34

Patch Set 9 : Post dmurph review #

Total comments: 20

Patch Set 10 : Observer addition removal #

Patch Set 11 : Observer addition and removal #

Total comments: 12

Patch Set 12 : Post dmuprh review #

Patch Set 13 : Post dmurph review #

Total comments: 57

Patch Set 14 : Units tests added #

Total comments: 12

Patch Set 15 : Unit tests added #

Total comments: 4

Patch Set 16 : Expected test results changed #

Total comments: 39

Patch Set 17 : Post cmumford review #

Patch Set 18 : Post cmumford review #

Total comments: 21

Patch Set 19 : Initialize id for WebIDBObserver #

Total comments: 2

Patch Set 20 : Final architechture #

Unified diffs Side-by-side diffs Delta from patch set Stats (+557 lines, -79 lines) Patch
M content/browser/indexed_db/indexed_db_class_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_class_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_connection.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +16 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_connection.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +32 lines, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +23 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +6 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +27 lines, -0 lines 0 comments Download
A content/browser/indexed_db/indexed_db_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +31 lines, -0 lines 0 comments Download
A + content/browser/indexed_db/indexed_db_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -4 lines 0 comments Download
M content/browser/indexed_db/indexed_db_transaction.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 6 chunks +14 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_transaction.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +30 lines, -4 lines 0 comments Download
M content/browser/indexed_db/indexed_db_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 8 chunks +62 lines, -28 lines 0 comments Download
M content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -7 lines 0 comments Download
M content/child/indexed_db/indexed_db_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +17 lines, -0 lines 0 comments Download
M content/child/indexed_db/indexed_db_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +27 lines, -0 lines 0 comments Download
M content/child/indexed_db/webidbdatabase_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -0 lines 0 comments Download
M content/child/indexed_db/webidbdatabase_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +30 lines, -0 lines 0 comments Download
M content/common/indexed_db/indexed_db_messages.h View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/storage/indexeddb/resources/observer.js View 1 2 3 4 5 6 7 8 9 1 chunk +24 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +49 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserver.idl View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +37 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +7 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +19 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 81 (20 generated)
palakj1
Patch adds observer to the database. Here's the outline of the working: * Each observer ...
4 years, 6 months ago (2016-06-15 00:25:35 UTC) #3
dmurph
Did a first pass. We need to make sure we keep track of the ids ...
4 years, 6 months ago (2016-06-15 12:49:44 UTC) #4
Marijn Kruisselbrink
just some random comments https://codereview.chromium.org/2062203004/diff/20001/content/browser/indexed_db/indexed_db_dispatcher_host.cc File content/browser/indexed_db/indexed_db_dispatcher_host.cc (right): https://codereview.chromium.org/2062203004/diff/20001/content/browser/indexed_db/indexed_db_dispatcher_host.cc#newcode200 content/browser/indexed_db/indexed_db_dispatcher_host.cc:200: // observer_id are guaranteed to ...
4 years, 6 months ago (2016-06-15 13:14:57 UTC) #5
palakj1
Unobserve: Work in progress. Please have a look. https://codereview.chromium.org/2062203004/diff/20001/content/browser/indexed_db/indexed_db_database.h File content/browser/indexed_db/indexed_db_database.h (right): https://codereview.chromium.org/2062203004/diff/20001/content/browser/indexed_db/indexed_db_database.h#newcode54 content/browser/indexed_db/indexed_db_database.h:54: std::vector<std::unique_ptr<IndexedDBObserver>> ...
4 years, 6 months ago (2016-06-16 07:05:41 UTC) #6
dmurph
It looks like your dependency patchset (upstream) is patch 2. This is confusing to review, ...
4 years, 6 months ago (2016-06-16 07:30:33 UTC) #7
palakj1
Dependency patch set correct. https://codereview.chromium.org/2062203004/diff/40001/content/browser/indexed_db/indexed_db_database.cc File content/browser/indexed_db/indexed_db_database.cc (right): https://codereview.chromium.org/2062203004/diff/40001/content/browser/indexed_db/indexed_db_database.cc#newcode559 content/browser/indexed_db/indexed_db_database.cc:559: active_observers_.erase(obs); On 2016/06/16 at 07:30:33, ...
4 years, 6 months ago (2016-06-16 17:51:42 UTC) #8
dmurph
Leaving some architecture comments, we chatted earlier about how to get IDBObserver successfully into webidbdatabase_impl, ...
4 years, 6 months ago (2016-06-17 09:05:07 UTC) #9
palakj1
This is a wip. https://codereview.chromium.org/2062203004/diff/60001/content/browser/indexed_db/indexed_db_database.cc File content/browser/indexed_db/indexed_db_database.cc (right): https://codereview.chromium.org/2062203004/diff/60001/content/browser/indexed_db/indexed_db_database.cc#newcode557 content/browser/indexed_db/indexed_db_database.cc:557: Iterator obs = active_observers_.find(observersToRemove[i]); On ...
4 years, 6 months ago (2016-06-18 05:13:41 UTC) #10
palakj1
Please have a look.
4 years, 6 months ago (2016-06-21 23:52:14 UTC) #11
dmurph
quick comments https://codereview.chromium.org/2062203004/diff/100001/content/browser/indexed_db/indexed_db_class_factory.cc File content/browser/indexed_db/indexed_db_class_factory.cc (right): https://codereview.chromium.org/2062203004/diff/100001/content/browser/indexed_db/indexed_db_class_factory.cc#newcode40 content/browser/indexed_db/indexed_db_class_factory.cc:40: IndexedDBConnection* connection, base::WeakPtr<IndexedDBConnection> https://codereview.chromium.org/2062203004/diff/100001/content/browser/indexed_db/indexed_db_class_factory.cc#newcode46 content/browser/indexed_db/indexed_db_class_factory.cc:46: return new ...
4 years, 6 months ago (2016-06-22 01:09:50 UTC) #12
palakj1
https://codereview.chromium.org/2062203004/diff/100001/content/browser/indexed_db/indexed_db_class_factory.cc File content/browser/indexed_db/indexed_db_class_factory.cc (right): https://codereview.chromium.org/2062203004/diff/100001/content/browser/indexed_db/indexed_db_class_factory.cc#newcode40 content/browser/indexed_db/indexed_db_class_factory.cc:40: IndexedDBConnection* connection, On 2016/06/22 at 01:09:48, dmurph wrote: > ...
4 years, 5 months ago (2016-06-23 20:56:30 UTC) #14
dmurph
Looking close! Nice job with the WebIDBConnection, I know that was super confusing. https://codereview.chromium.org/2062203004/diff/140001/content/browser/indexed_db/indexed_db_connection.cc File ...
4 years, 5 months ago (2016-06-23 21:53:05 UTC) #15
palakj1
Post dmurph review. https://codereview.chromium.org/2062203004/diff/140001/content/browser/indexed_db/indexed_db_connection.cc File content/browser/indexed_db/indexed_db_connection.cc (right): https://codereview.chromium.org/2062203004/diff/140001/content/browser/indexed_db/indexed_db_connection.cc#newcode57 content/browser/indexed_db/indexed_db_connection.cc:57: active_observers_.emplace_back(std::move(pending_observers->at(i))); On 2016/06/23 at 21:53:04, dmurph ...
4 years, 5 months ago (2016-06-24 00:03:01 UTC) #16
Marijn Kruisselbrink
https://codereview.chromium.org/2062203004/diff/160001/content/browser/indexed_db/indexed_db_connection.cc File content/browser/indexed_db/indexed_db_connection.cc (right): https://codereview.chromium.org/2062203004/diff/160001/content/browser/indexed_db/indexed_db_connection.cc#newcode59 content/browser/indexed_db/indexed_db_connection.cc:59: active_observers_.push_back(std::move(pending_observers->at(i))); I think it's a bit of a weird ...
4 years, 5 months ago (2016-06-24 00:48:09 UTC) #17
Marijn Kruisselbrink
4 years, 5 months ago (2016-06-24 00:48:10 UTC) #18
palakj1
Please have a look at the modified design. https://codereview.chromium.org/2062203004/diff/160001/content/browser/indexed_db/indexed_db_connection.cc File content/browser/indexed_db/indexed_db_connection.cc (right): https://codereview.chromium.org/2062203004/diff/160001/content/browser/indexed_db/indexed_db_connection.cc#newcode59 content/browser/indexed_db/indexed_db_connection.cc:59: active_observers_.push_back(std::move(pending_observers->at(i))); ...
4 years, 5 months ago (2016-06-27 20:19:23 UTC) #19
dmurph
https://codereview.chromium.org/2062203004/diff/200001/content/browser/indexed_db/indexed_db_connection.cc File content/browser/indexed_db/indexed_db_connection.cc (right): https://codereview.chromium.org/2062203004/diff/200001/content/browser/indexed_db/indexed_db_connection.cc#newcode62 content/browser/indexed_db/indexed_db_connection.cc:62: // pending_observers->clear(); Probably safe to clear here. https://codereview.chromium.org/2062203004/diff/200001/content/browser/indexed_db/indexed_db_connection.cc#newcode74 content/browser/indexed_db/indexed_db_connection.cc:74: ...
4 years, 5 months ago (2016-06-27 21:20:51 UTC) #20
dmurph
https://codereview.chromium.org/2062203004/diff/200001/content/browser/indexed_db/indexed_db_connection.cc File content/browser/indexed_db/indexed_db_connection.cc (right): https://codereview.chromium.org/2062203004/diff/200001/content/browser/indexed_db/indexed_db_connection.cc#newcode74 content/browser/indexed_db/indexed_db_connection.cc:74: active_observers_.erase(active_observers_.begin() + j); On 2016/06/27 at 21:20:51, dmurph wrote: ...
4 years, 5 months ago (2016-06-27 21:44:06 UTC) #21
palakj1
Please have a look. The design doc's link has been updated. It's still a wip. ...
4 years, 5 months ago (2016-06-27 23:13:08 UTC) #23
palakj1
Please have a look.
4 years, 5 months ago (2016-06-27 23:25:44 UTC) #25
palakj1
Please have a look +cmumford for indexed_db/ +palmer for indexed_db_messages
4 years, 5 months ago (2016-06-28 18:32:19 UTC) #27
dmurph
Architecture looks good, last thing to do is to add some unittests to indexed_db_transaction_unittests.cc. https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_transaction.h ...
4 years, 5 months ago (2016-06-28 18:53:50 UTC) #28
Marijn Kruisselbrink
https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.h File content/browser/indexed_db/indexed_db_connection.h (right): https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.h#newcode31 content/browser/indexed_db/indexed_db_connection.h:31: void ActivatePendingObservers( I think some comments here could be ...
4 years, 5 months ago (2016-06-28 18:58:31 UTC) #29
cmumford
On 2016/06/28 18:32:19, palakj1 wrote: > Please have a look > > +cmumford for indexed_db/ ...
4 years, 5 months ago (2016-06-28 19:01:16 UTC) #30
cmumford
On 2016/06/28 19:01:16, cmumford wrote: > On 2016/06/28 18:32:19, palakj1 wrote: > > Please have ...
4 years, 5 months ago (2016-06-28 19:14:56 UTC) #31
palmer
https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.cc File content/browser/indexed_db/indexed_db_connection.cc (right): https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.cc#newcode59 content/browser/indexed_db/indexed_db_connection.cc:59: for (uint32_t i = 0; i < pending_observers.size(); i++) ...
4 years, 5 months ago (2016-06-28 19:34:31 UTC) #32
cmumford
I'll do another review after the tests are fixed, but here's my first quick pass. ...
4 years, 5 months ago (2016-06-28 20:26:23 UTC) #33
Marijn Kruisselbrink
https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.h File content/browser/indexed_db/indexed_db_connection.h (right): https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.h#newcode41 content/browser/indexed_db/indexed_db_connection.h:41: base::WeakPtr<IndexedDBConnection> GetWeakPtr() { On 2016/06/28 at 20:26:22, cmumford wrote: ...
4 years, 5 months ago (2016-06-28 20:37:30 UTC) #34
palmer
IPC security LGTM.
4 years, 5 months ago (2016-06-28 22:41:17 UTC) #35
palakj1
Added unit tests for observer and modified IndexedDBTransaction constructor. As suggested by +cmumford, I have ...
4 years, 5 months ago (2016-06-29 23:02:41 UTC) #36
dmurph
https://codereview.chromium.org/2062203004/diff/250001/content/browser/indexed_db/indexed_db_transaction.cc File content/browser/indexed_db/indexed_db_transaction.cc (right): https://codereview.chromium.org/2062203004/diff/250001/content/browser/indexed_db/indexed_db_transaction.cc#newcode71 content/browser/indexed_db/indexed_db_transaction.cc:71: IndexedDBConnection* connection, Please change back to WeakPtr here, based ...
4 years, 5 months ago (2016-06-30 00:14:06 UTC) #37
Marijn Kruisselbrink
https://codereview.chromium.org/2062203004/diff/250001/content/browser/indexed_db/indexed_db_database_unittest.cc File content/browser/indexed_db/indexed_db_database_unittest.cc (right): https://codereview.chromium.org/2062203004/diff/250001/content/browser/indexed_db/indexed_db_database_unittest.cc#newcode262 content/browser/indexed_db/indexed_db_database_unittest.cc:262: IndexedDBConnection* connection_; this should probably be a unique_ptr<IndexedDBConnection> to ...
4 years, 5 months ago (2016-06-30 00:17:25 UTC) #38
palakj1
Please have a look. https://codereview.chromium.org/2062203004/diff/250001/content/browser/indexed_db/indexed_db_database_unittest.cc File content/browser/indexed_db/indexed_db_database_unittest.cc (right): https://codereview.chromium.org/2062203004/diff/250001/content/browser/indexed_db/indexed_db_database_unittest.cc#newcode262 content/browser/indexed_db/indexed_db_database_unittest.cc:262: IndexedDBConnection* connection_; On 2016/06/30 at ...
4 years, 5 months ago (2016-06-30 01:07:04 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2062203004/270001
4 years, 5 months ago (2016-06-30 17:15:25 UTC) #41
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/46434)
4 years, 5 months ago (2016-06-30 17:24:35 UTC) #43
dmurph
lgtm with nits: Please edit your summary to follow what Chris said: <summary line> <blank ...
4 years, 5 months ago (2016-06-30 18:06:07 UTC) #44
palakj1
Changed some expected test results for observer interface. https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.h File content/browser/indexed_db/indexed_db_connection.h (right): https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.h#newcode41 content/browser/indexed_db/indexed_db_connection.h:41: base::WeakPtr<IndexedDBConnection> ...
4 years, 5 months ago (2016-06-30 18:11:44 UTC) #46
Marijn Kruisselbrink
lgtm
4 years, 5 months ago (2016-06-30 18:13:59 UTC) #47
haraken
https://codereview.chromium.org/2062203004/diff/290001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp (right): https://codereview.chromium.org/2062203004/diff/290001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp#newcode53 third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp:53: observerPtr->setId(observerId); Would you help me understand why you need ...
4 years, 5 months ago (2016-07-01 01:55:03 UTC) #49
cmumford
Not yet finished, but wanted to send out these comments/questions. https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.cc File content/browser/indexed_db/indexed_db_connection.cc (right): https://codereview.chromium.org/2062203004/diff/230001/content/browser/indexed_db/indexed_db_connection.cc#newcode65 ...
4 years, 5 months ago (2016-07-01 18:35:01 UTC) #50
dmurph
https://codereview.chromium.org/2062203004/diff/290001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp (right): https://codereview.chromium.org/2062203004/diff/290001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp#newcode53 third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp:53: observerPtr->setId(observerId); On 2016/07/01 at 01:55:02, haraken wrote: > Would ...
4 years, 5 months ago (2016-07-01 19:01:57 UTC) #51
palakj1
Please have a look. https://codereview.chromium.org/2062203004/diff/270001/content/browser/indexed_db/indexed_db_transaction.h File content/browser/indexed_db/indexed_db_transaction.h (right): https://codereview.chromium.org/2062203004/diff/270001/content/browser/indexed_db/indexed_db_transaction.h#newcode141 content/browser/indexed_db/indexed_db_transaction.h:141: // TODO(palakj): Eliminate callbacks_ and ...
4 years, 5 months ago (2016-07-02 00:48:14 UTC) #52
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2062203004/310001
4 years, 5 months ago (2016-07-02 00:49:29 UTC) #54
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/90989)
4 years, 5 months ago (2016-07-02 01:01:55 UTC) #56
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2062203004/330001
4 years, 5 months ago (2016-07-02 01:16:56 UTC) #58
palakj1
Please have a look.
4 years, 5 months ago (2016-07-02 01:26:03 UTC) #59
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-02 04:51:12 UTC) #61
dmurph
a few nits and one bug. Still lgtm w/ the bug fix. https://codereview.chromium.org/2062203004/diff/330001/content/browser/indexed_db/indexed_db_observer.h File content/browser/indexed_db/indexed_db_observer.h ...
4 years, 5 months ago (2016-07-06 18:25:11 UTC) #62
palakj1
https://codereview.chromium.org/2062203004/diff/330001/content/browser/indexed_db/indexed_db_observer.h File content/browser/indexed_db/indexed_db_observer.h (right): https://codereview.chromium.org/2062203004/diff/330001/content/browser/indexed_db/indexed_db_observer.h#newcode24 content/browser/indexed_db/indexed_db_observer.h:24: DISALLOW_COPY_AND_ASSIGN(IndexedDBObserver); On 2016/07/06 at 18:25:10, dmurph wrote: > nit: ...
4 years, 5 months ago (2016-07-06 18:58:44 UTC) #63
dmurph
https://codereview.chromium.org/2062203004/diff/330001/content/browser/indexed_db/indexed_db_transaction.cc File content/browser/indexed_db/indexed_db_transaction.cc (right): https://codereview.chromium.org/2062203004/diff/330001/content/browser/indexed_db/indexed_db_transaction.cc#newcode470 content/browser/indexed_db/indexed_db_transaction.cc:470: if (it != pending_observers_.end()) On 2016/07/06 at 18:58:44, palakj1 ...
4 years, 5 months ago (2016-07-06 19:03:32 UTC) #64
cmumford
https://codereview.chromium.org/2062203004/diff/330001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp (right): https://codereview.chromium.org/2062203004/diff/330001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp#newcode50 third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp:50: WebIDBObserverImpl* observerPtr = observer.get(); Can you remove observerPtr and ...
4 years, 5 months ago (2016-07-06 22:57:57 UTC) #65
dmurph
https://codereview.chromium.org/2062203004/diff/330001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h File third_party/WebKit/Source/modules/indexeddb/IDBObserver.h (right): https://codereview.chromium.org/2062203004/diff/330001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h#newcode42 third_party/WebKit/Source/modules/indexeddb/IDBObserver.h:42: std::set<int32_t> m_observerIds; On 2016/07/06 22:57:57, cmumford wrote: > So ...
4 years, 5 months ago (2016-07-06 23:34:24 UTC) #66
palakj1
Please have a look. https://codereview.chromium.org/2062203004/diff/330001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp (right): https://codereview.chromium.org/2062203004/diff/330001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp#newcode50 third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp:50: WebIDBObserverImpl* observerPtr = observer.get(); On ...
4 years, 5 months ago (2016-07-07 00:19:54 UTC) #67
cmumford
LGTM - with one minor comment. https://codereview.chromium.org/2062203004/diff/330001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h File third_party/WebKit/Source/modules/indexeddb/IDBObserver.h (right): https://codereview.chromium.org/2062203004/diff/330001/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h#newcode42 third_party/WebKit/Source/modules/indexeddb/IDBObserver.h:42: std::set<int32_t> m_observerIds; On ...
4 years, 5 months ago (2016-07-07 19:48:51 UTC) #68
palakj1
https://codereview.chromium.org/2062203004/diff/350001/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp File third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp (right): https://codereview.chromium.org/2062203004/diff/350001/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp#newcode27 third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp:27: DCHECK_NE(kInvalidObserverId, m_id); On 2016/07/07 at 19:48:51, cmumford wrote: > ...
4 years, 5 months ago (2016-07-07 21:14:48 UTC) #70
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2062203004/370001
4 years, 5 months ago (2016-07-07 21:15:21 UTC) #71
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gyp_rel on master.tryserver.chromium.mac (JOB_TIMED_OUT, no build URL)
4 years, 5 months ago (2016-07-07 23:17:26 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2062203004/370001
4 years, 5 months ago (2016-07-08 00:53:28 UTC) #76
commit-bot: I haz the power
Committed patchset #20 (id:370001)
4 years, 5 months ago (2016-07-08 00:59:44 UTC) #77
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 01:00:03 UTC) #78
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 01:01:08 UTC) #80
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/05f35eab096fe52eab3af2c6db191c1285dc5a68
Cr-Commit-Position: refs/heads/master@{#404283}

Powered by Google App Engine
This is Rietveld 408576698