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

Issue 287103002: Introduce ability to register callback with GoogleURLTracker (Closed)

Created:
6 years, 7 months ago by blundell
Modified:
6 years, 7 months ago
Reviewers:
brettw, Peter Kasting
CC:
chromium-reviews
Visibility:
Public.

Description

Introduce ability to register callback with GoogleURLTracker This callback interface will replace the NOTIFICATION_GOOGLE_URL_UPDATED notification once all clients have been converted. This CL converts TemplateURLService and SearchProviderInstallData. BUG=373236, 373254, 373258, 373260, 373253 TBR=brettw Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271257

Patch Set 1 #

Total comments: 15

Patch Set 2 : Response to review + fix for instant unittests #

Total comments: 4

Patch Set 3 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -64 lines) Patch
M chrome/browser/google/google_url_tracker.h View 1 2 5 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/google/google_url_tracker.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/search/instant_unittest_base.cc View 1 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/search_engines/search_provider_install_data.cc View 1 2 5 chunks +22 lines, -24 lines 0 comments Download
M chrome/browser/search_engines/search_provider_install_data_unittest.cc View 1 4 chunks +20 lines, -6 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.h View 1 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 1 2 4 chunks +21 lines, -16 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_test_util.cc View 2 chunks +3 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
blundell
https://codereview.chromium.org/287103002/diff/1/chrome/browser/search_engines/search_provider_install_data_unittest.cc File chrome/browser/search_engines/search_provider_install_data_unittest.cc (right): https://codereview.chromium.org/287103002/diff/1/chrome/browser/search_engines/search_provider_install_data_unittest.cc#newcode247 chrome/browser/search_engines/search_provider_install_data_unittest.cc:247: BrowserThread::PostTask( This was the most straightforward way that I ...
6 years, 7 months ago (2014-05-15 20:58:00 UTC) #1
Peter Kasting
https://codereview.chromium.org/287103002/diff/1/chrome/browser/google/google_url_tracker.h File chrome/browser/google/google_url_tracker.h (right): https://codereview.chromium.org/287103002/diff/1/chrome/browser/google/google_url_tracker.h#newcode135 chrome/browser/google/google_url_tracker.h:135: return callback_list_.Add(cb); Add() is not a cheap accessor (based ...
6 years, 7 months ago (2014-05-15 21:12:52 UTC) #2
blundell
Thanks! https://codereview.chromium.org/287103002/diff/1/chrome/browser/google/google_url_tracker.h File chrome/browser/google/google_url_tracker.h (right): https://codereview.chromium.org/287103002/diff/1/chrome/browser/google/google_url_tracker.h#newcode135 chrome/browser/google/google_url_tracker.h:135: return callback_list_.Add(cb); On 2014/05/15 21:12:52, Peter Kasting wrote: ...
6 years, 7 months ago (2014-05-16 09:09:55 UTC) #3
Peter Kasting
LGTM https://codereview.chromium.org/287103002/diff/1/chrome/browser/search_engines/search_provider_install_data.cc File chrome/browser/search_engines/search_provider_install_data.cc (right): https://codereview.chromium.org/287103002/diff/1/chrome/browser/search_engines/search_provider_install_data.cc#newcode154 chrome/browser/search_engines/search_provider_install_data.cc:154: if (google_url_tracker) { On 2014/05/16 09:09:55, blundell wrote: ...
6 years, 7 months ago (2014-05-16 22:24:23 UTC) #4
blundell
TBR=brettw for //chrome/browser/search https://codereview.chromium.org/287103002/diff/1/chrome/browser/search_engines/search_provider_install_data.cc File chrome/browser/search_engines/search_provider_install_data.cc (right): https://codereview.chromium.org/287103002/diff/1/chrome/browser/search_engines/search_provider_install_data.cc#newcode154 chrome/browser/search_engines/search_provider_install_data.cc:154: if (google_url_tracker) { On 2014/05/16 22:24:23, ...
6 years, 7 months ago (2014-05-17 11:32:53 UTC) #5
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-17 11:33:34 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/287103002/60001
6 years, 7 months ago (2014-05-17 11:34:03 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-17 19:13:19 UTC) #8
Message was sent while issue was closed.
Change committed as 271257

Powered by Google App Engine
This is Rietveld 408576698