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

Issue 23710022: Convert NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED to CallbackList (Closed)

Created:
7 years, 3 months ago by Cait (Slow)
Modified:
7 years, 2 months ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, rsimha+watch_chromium.org, tfarina, haitaol+watch_chromium.org, chromium-apps-reviews_chromium.org, markusheintz_, erikwright+watch_chromium.org, Avi (use Gerrit)
Visibility:
Public.

Description

Convert NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED to CallbackList. BUG=268984 TEST= no functional change Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227534

Patch Set 1 #

Patch Set 2 : stack #

Patch Set 3 : Make OmniboxAPI clear its sub sooner #

Patch Set 4 : ProfuileResetter #

Patch Set 5 : Rebase #

Patch Set 6 : Clean-up #

Total comments: 33

Patch Set 7 : Comments and cleanup #

Total comments: 3

Patch Set 8 : oops #

Total comments: 18

Patch Set 9 : nits #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -243 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.h View 1 2 3 4 5 6 9 chunks +23 lines, -25 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 2 3 4 5 6 7 8 4 chunks +21 lines, -17 lines 0 comments Download
M chrome/browser/chrome_notification_types.h View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/omnibox/omnibox_api.h View 1 2 3 4 5 6 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/omnibox/omnibox_api.cc View 1 2 3 4 4 chunks +20 lines, -11 lines 0 comments Download
M chrome/browser/importer/external_process_importer_host.h View 1 2 3 4 5 6 7 8 6 chunks +10 lines, -14 lines 0 comments Download
M chrome/browser/importer/external_process_importer_host.cc View 1 2 3 4 5 6 5 chunks +9 lines, -12 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter.cc View 1 2 3 4 5 6 7 8 6 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/search_engines/template_url_fetcher.cc View 1 2 3 4 5 6 7 8 7 chunks +8 lines, -23 lines 0 comments Download
M chrome/browser/search_engines/template_url_scraper_unittest.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -18 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.h View 1 2 3 4 5 6 7 8 6 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_android.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_android.cc View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -19 lines 0 comments Download
M chrome/browser/sync/glue/search_engine_data_type_controller.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/sync/glue/search_engine_data_type_controller.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -20 lines 0 comments Download
M chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc View 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 3 4 5 6 7 8 3 chunks +1 line, -9 lines 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Cait (Slow)
This is a second attempt at this CL (using CallbackList, now that we have it). ...
7 years, 2 months ago (2013-10-02 21:59:40 UTC) #1
Peter Kasting
c/b/search_engines LGTM https://codereview.chromium.org/23710022/diff/40001/chrome/browser/search_engines/template_url_service.cc File chrome/browser/search_engines/template_url_service.cc (right): https://codereview.chromium.org/23710022/diff/40001/chrome/browser/search_engines/template_url_service.cc#newcode786 chrome/browser/search_engines/template_url_service.cc:786: TemplateURLService::RegisterOnLoadedCallback( Nit: Indent 4 https://codereview.chromium.org/23710022/diff/40001/chrome/browser/search_engines/template_url_service.cc#newcode788 chrome/browser/search_engines/template_url_service.cc:788: if ...
7 years, 2 months ago (2013-10-02 22:22:03 UTC) #2
Avi (use Gerrit)
https://codereview.chromium.org/23710022/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java File chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java (right): https://codereview.chromium.org/23710022/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java#newcode164 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java:164: * Registers a listener for the callback once TemplateURLService ...
7 years, 2 months ago (2013-10-02 22:27:52 UTC) #3
Cait (Slow)
Thanks all for the speedy (and thorough) reviews! https://codereview.chromium.org/23710022/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java File chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java (right): https://codereview.chromium.org/23710022/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java#newcode164 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java:164: * ...
7 years, 2 months ago (2013-10-03 15:36:45 UTC) #4
Cait (Slow)
Brett: see comment in browsing_data_remover. https://codereview.chromium.org/23710022/diff/56001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/23710022/diff/56001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode226 chrome/browser/browsing_data/browsing_data_remover.cc:226: // clearing (what about ...
7 years, 2 months ago (2013-10-03 15:38:55 UTC) #5
Avi (use Gerrit)
https://codereview.chromium.org/23710022/diff/56001/chrome/browser/search_engines/template_url_scraper_unittest.cc File chrome/browser/search_engines/template_url_scraper_unittest.cc (right): https://codereview.chromium.org/23710022/diff/56001/chrome/browser/search_engines/template_url_scraper_unittest.cc#newcode31 chrome/browser/search_engines/template_url_scraper_unittest.cc:31: message_loop_runner->Run(); Er... this block of code is outside any ...
7 years, 2 months ago (2013-10-03 17:53:51 UTC) #6
Cait (Slow)
https://codereview.chromium.org/23710022/diff/56001/chrome/browser/search_engines/template_url_scraper_unittest.cc File chrome/browser/search_engines/template_url_scraper_unittest.cc (right): https://codereview.chromium.org/23710022/diff/56001/chrome/browser/search_engines/template_url_scraper_unittest.cc#newcode31 chrome/browser/search_engines/template_url_scraper_unittest.cc:31: message_loop_runner->Run(); On 2013/10/03 17:53:51, Avi wrote: > Er... this ...
7 years, 2 months ago (2013-10-03 20:39:14 UTC) #7
Avi (use Gerrit)
LGTM
7 years, 2 months ago (2013-10-03 20:53:08 UTC) #8
Cait (Slow)
thestig: PTAL. Avi has reviewed the whole CL, so it just needs a chrome/ OWNERS ...
7 years, 2 months ago (2013-10-03 21:19:49 UTC) #9
Lei Zhang
lgtm just nit picking: https://codereview.chromium.org/23710022/diff/93001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/23710022/diff/93001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode677 chrome/browser/browsing_data/browsing_data_remover.cc:677: DCHECK(model->profile() == profile_); DCHECK_EQ() ? ...
7 years, 2 months ago (2013-10-08 00:25:20 UTC) #10
Cait (Slow)
Thanks! https://codereview.chromium.org/23710022/diff/93001/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/23710022/diff/93001/chrome/browser/browsing_data/browsing_data_remover.cc#newcode677 chrome/browser/browsing_data/browsing_data_remover.cc:677: DCHECK(model->profile() == profile_); On 2013/10/08 00:25:20, Lei Zhang ...
7 years, 2 months ago (2013-10-08 15:09:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/caitkp@chromium.org/23710022/112001
7 years, 2 months ago (2013-10-08 15:10:21 UTC) #12
commit-bot: I haz the power
7 years, 2 months ago (2013-10-08 17:29:12 UTC) #13
Message was sent while issue was closed.
Change committed as 227534

Powered by Google App Engine
This is Rietveld 408576698