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

Issue 322503006: Remove deprecated extension notifications from state_store.*. (Closed)

Created:
6 years, 6 months ago by Ted Kim
Modified:
6 years, 6 months ago
Reviewers:
limasdf, Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Remove deprecated extension notifications from state_store.*. and use ExtensionRegisty instead. BUG=376293 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277305

Patch Set 1 #

Total comments: 10

Patch Set 2 : Added StateStore object to observer list #

Total comments: 24

Patch Set 3 : Edit wrong indent and odering #

Patch Set 4 : Move initializing extension_registry_observer_ #

Total comments: 8

Patch Set 5 : Add StateStore::OnExtensionUninstalled as reviewer's request #

Total comments: 1

Patch Set 6 : Remove empty line #

Total comments: 9

Patch Set 7 : Remove deprecated notification #

Total comments: 2

Patch Set 8 : Change class Profile position #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -38 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/state_store.h View 1 2 3 4 5 6 7 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/extensions/state_store.cc View 1 2 3 4 5 6 4 chunks +32 lines, -38 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Ted Kim
please review this. It's first time to try commit.
6 years, 6 months ago (2014-06-07 05:24:28 UTC) #1
limasdf
Nice try. We're using Observer pattern in here. that means we should add the instance ...
6 years, 6 months ago (2014-06-07 05:39:03 UTC) #2
Ted Kim
added statestore object to observer list https://codereview.chromium.org/322503006/diff/1/chrome/browser/extensions/state_store.cc File chrome/browser/extensions/state_store.cc (right): https://codereview.chromium.org/322503006/diff/1/chrome/browser/extensions/state_store.cc#newcode11 chrome/browser/extensions/state_store.cc:11: #include "content/public/browser/notification_types.h" On ...
6 years, 6 months ago (2014-06-07 08:08:22 UTC) #3
Ted Kim
On 2014/06/07 08:08:22, Ted Kim wrote: > added statestore object to observer list > > ...
6 years, 6 months ago (2014-06-07 08:12:28 UTC) #4
Ted Kim
I have added statestore object to observer list. And I initialized extension_registry_observer_ instance in StateStore ...
6 years, 6 months ago (2014-06-07 16:22:07 UTC) #5
limasdf
I think you saw some presubmit warning. https://codereview.chromium.org/322503006/diff/40001/chrome/browser/extensions/state_store.cc File chrome/browser/extensions/state_store.cc (right): https://codereview.chromium.org/322503006/diff/40001/chrome/browser/extensions/state_store.cc#newcode12 chrome/browser/extensions/state_store.cc:12: #include "chrome/browser/profiles/profile.h" ...
6 years, 6 months ago (2014-06-07 16:32:23 UTC) #6
Ted Kim
I edited code as your comment. It is very helpful to me like indent, ordering. ...
6 years, 6 months ago (2014-06-08 03:05:00 UTC) #7
limasdf
This code cannot be compiled. Because extension_registry_observer_ is initizlied after task_queue_. https://codereview.chromium.org/322503006/diff/40001/chrome/browser/extensions/state_store.cc File chrome/browser/extensions/state_store.cc (right): ...
6 years, 6 months ago (2014-06-08 05:42:34 UTC) #8
Ted Kim
Move initializing extension_registry_observer after initializing task_queue in StateStore. Check this out plz. Is it not ...
6 years, 6 months ago (2014-06-08 06:13:24 UTC) #9
limasdf
Looks good, I have one more request. Because we're here, and we don't want to ...
6 years, 6 months ago (2014-06-08 06:26:36 UTC) #10
Ted Kim
* Add OnExtensionWillBeInstalled as your request. * Your comment : I have one more request. ...
6 years, 6 months ago (2014-06-08 06:56:08 UTC) #11
limasdf
Added @devlin as a reviewer. Devlin, could you take a look? @ted is my Korean ...
6 years, 6 months ago (2014-06-08 07:01:35 UTC) #12
Ted Kim
Remove empty line
6 years, 6 months ago (2014-06-08 07:11:18 UTC) #13
Devlin
Looks pretty good overall! Thanks for the work! :) Please also update the CL title ...
6 years, 6 months ago (2014-06-09 15:17:31 UTC) #14
Ted Kim
On 2014/06/09 15:17:31, Devlin wrote: > Looks pretty good overall! Thanks for the work! :) ...
6 years, 6 months ago (2014-06-10 05:17:57 UTC) #15
Devlin
On 2014/06/10 05:17:57, Ted Kim wrote: > On 2014/06/09 15:17:31, Devlin wrote: > > Looks ...
6 years, 6 months ago (2014-06-10 15:53:07 UTC) #16
Ted Kim
Thanks for your comment again. 3. forward-declare : Because of your kind explanation, I totally ...
6 years, 6 months ago (2014-06-11 00:43:59 UTC) #17
limasdf
@Ted, I hope you use inline-comment to easily catch which one you're talking about.
6 years, 6 months ago (2014-06-11 00:57:15 UTC) #18
Devlin
On 2014/06/11 00:43:59, Ted Kim wrote: > Thanks for your comment again. > 3. forward-declare ...
6 years, 6 months ago (2014-06-11 21:43:48 UTC) #19
Ted Kim
review plz. https://codereview.chromium.org/322503006/diff/120001/chrome/browser/extensions/state_store.cc File chrome/browser/extensions/state_store.cc (right): https://codereview.chromium.org/322503006/diff/120001/chrome/browser/extensions/state_store.cc#newcode74 chrome/browser/extensions/state_store.cc:74: registrar_.Add(this, I can't understand your comment. How ...
6 years, 6 months ago (2014-06-14 03:36:48 UTC) #20
limasdf
https://codereview.chromium.org/322503006/diff/120001/chrome/browser/extensions/state_store.cc File chrome/browser/extensions/state_store.cc (right): https://codereview.chromium.org/322503006/diff/120001/chrome/browser/extensions/state_store.cc#newcode74 chrome/browser/extensions/state_store.cc:74: registrar_.Add(this, On 2014/06/14 03:36:48, Ted Kim wrote: > I ...
6 years, 6 months ago (2014-06-14 03:58:59 UTC) #21
Ted Kim
@limasdf : I think that I sent wrong review message. I removed 74-76 line in ...
6 years, 6 months ago (2014-06-14 04:47:22 UTC) #22
Ted Kim
review please https://codereview.chromium.org/322503006/diff/120001/chrome/browser/extensions/state_store.cc File chrome/browser/extensions/state_store.cc (right): https://codereview.chromium.org/322503006/diff/120001/chrome/browser/extensions/state_store.cc#newcode74 chrome/browser/extensions/state_store.cc:74: registrar_.Add(this, On 2014/06/14 03:36:48, Ted Kim wrote: ...
6 years, 6 months ago (2014-06-14 05:13:53 UTC) #23
Devlin
lgtm! Thanks for the work! :)
6 years, 6 months ago (2014-06-14 17:00:59 UTC) #24
Ted Kim
The CQ bit was checked by neot0000@gmail.com
6 years, 6 months ago (2014-06-15 00:39:00 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/neot0000@gmail.com/322503006/160001
6 years, 6 months ago (2014-06-15 00:40:01 UTC) #26
commit-bot: I haz the power
6 years, 6 months ago (2014-06-15 04:54:57 UTC) #27
Message was sent while issue was closed.
Change committed as 277305

Powered by Google App Engine
This is Rietveld 408576698