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

Issue 284343003: Elimate NOTIFICATION_GOOGLE_URL_UPDATED (Closed)

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

Description

Elimate NOTIFICATION_GOOGLE_URL_UPDATED This CL moves the remaining client of the NOTIFICATION_GOOGLE_URL_UPDATED notification to instead register a callback with GoogleURLTracker and eliminates the notification. It also migrate the GoogleURLTracker unittest from listening for the notification to listening for the callback. BUG=373261, 373237 TBR=thakis Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271313

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 4

Patch Set 3 : Response to review #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -111 lines) Patch
M chrome/browser/chrome_notification_types.h View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/google/google_url_tracker.h View 1 2 3 3 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/google/google_url_tracker.cc View 1 chunk +3 lines, -9 lines 0 comments Download
M chrome/browser/google/google_url_tracker_unittest.cc View 1 2 33 chunks +65 lines, -61 lines 0 comments Download
M chrome/browser/ui/navigation_correction_tab_observer.h View 1 2 4 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/ui/navigation_correction_tab_observer.cc View 1 2 3 3 chunks +11 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
blundell
6 years, 7 months ago (2014-05-16 13:45:44 UTC) #1
Peter Kasting
Do any listeners actually care what the old Google URL is? If none do, let's ...
6 years, 7 months ago (2014-05-16 23:23:45 UTC) #2
blundell
https://codereview.chromium.org/284343003/diff/20001/chrome/browser/google/google_url_tracker_unittest.cc File chrome/browser/google/google_url_tracker_unittest.cc (right): https://codereview.chromium.org/284343003/diff/20001/chrome/browser/google/google_url_tracker_unittest.cc#newcode64 chrome/browser/google/google_url_tracker_unittest.cc:64: On 2014/05/16 23:23:45, Peter Kasting wrote: > Nit: Preserve ...
6 years, 7 months ago (2014-05-17 11:25:36 UTC) #3
blundell
On 2014/05/16 23:23:45, Peter Kasting wrote: > Do any listeners actually care what the old ...
6 years, 7 months ago (2014-05-17 11:30:56 UTC) #4
blundell
TBR=thakis for chrome_notification_types
6 years, 7 months ago (2014-05-18 07:58:03 UTC) #5
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-18 07:58:08 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/284343003/40001
6 years, 7 months ago (2014-05-18 07:58:25 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-18 08:24:06 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-18 08:26:55 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/26234) linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/32726)
6 years, 7 months ago (2014-05-18 08:26:56 UTC) #10
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-18 09:25:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/284343003/60001
6 years, 7 months ago (2014-05-18 09:25:48 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-18 11:15:57 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-18 12:15:18 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/28239)
6 years, 7 months ago (2014-05-18 12:15:19 UTC) #15
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-18 18:57:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/284343003/60001
6 years, 7 months ago (2014-05-18 18:57:45 UTC) #17
commit-bot: I haz the power
Change committed as 271313
6 years, 7 months ago (2014-05-18 19:51:05 UTC) #18
Nico
6 years, 7 months ago (2014-05-19 00:51:20 UTC) #19
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/294563002/ by thakis@chromium.org.

The reason for reverting is: speculative, browser_tests stated timing out on all
non-dbg win main waterfall test bots, with a message such as


E:\b\depot_tools\python276_bin\python_slave.exe
E:\b\build\scripts\slave\runisolatedtest.py --test_name browser_tests
--builder_name "Win7 Tests (1)" --checkout_dir
E:\b\build\slave\Win7_Tests__1_\build
E:\b\build\slave\Win7_Tests__1_\build\src\out\Release\browser_tests.exe --
E:\b\build\slave\Win7_Tests__1_\build\src\out\Release\browser_tests.exe
--brave-new-test-launcher --test-launcher-bot-mode
--test-launcher-total-shards=3 --test-launcher-shard-index=0 --lib=browser_tests
--gtest_print_time
--gtest_output=xml:E:\b\build\slave\Win7_Tests__1_\build\gtest-results\browser_tests\browser_tests.xml
--test-launcher-summary-output=c:\users\chrome~2\appdata\local\temp\tmpfbmzn9

E:\b\depot_tools\python276_bin\python_slave.exe
E:\b\build\slave\Win7_Tests__1_\build\src\tools\swarming_client\isolate.py run
--isolated
E:\b\build\slave\Win7_Tests__1_\build\src\out\Release\browser_tests.isolated -v
-- --no-cr --test-launcher-bot-mode --test-launcher-total-shards=3
--test-launcher-shard-index=0
--gtest_output=xml:E:\b\build\slave\Win7_Tests__1_\build\gtest-results\browser_tests\browser_tests.xml
--test-launcher-summary-output=c:\users\chrome~2\appdata\local\temp\tmpfbmzn9
 INFO         isolate(685):
CompleteState.load_isolate(E:\b\build\slave\Win7_Tests__1_\build,
E:\b\build\slave\Win7_Tests__1_\build\src\chrome\browser_tests.isolate, {}, {},
{'EXECUTABLE_SUFFIX': '.exe'}, False)
 INFO         isolate(156):
normalize_path_variables(E:\b\build\slave\Win7_Tests__1_\build, {},
E:\b\build\slave\Win7_Tests__1_\build\src\chrome)
 INFO  isolate_format( 57):
determine_root_dir(E:\b\build\slave\Win7_Tests__1_\build\src\chrome, 80 files)
-> E:\b\build\slave\Win7_Tests__1_\build\src
 INFO         isolate( 84):
recreate_tree(outdir=E:\b\build\slave\Win7_Tests__1_\isolate-2014-05-18gqemnl,
indir=E:\b\build\slave\Win7_Tests__1_\build\src, files=9443, action=4,
as_hash=False)
 INFO         isolate(1266): Running
['E:\\b\\depot_tools\\python276_bin\\python_slave.exe',
'../testing/test_env.py', u'..\\out\\Release/browser_tests.exe',
'--test-launcher-bot-mode', '--no-cr', '--test-launcher-bot-mode',
'--test-launcher-total-shards=3', '--test-launcher-shard-index=0',
'--gtest_output=xml:E:\\b\\build\\slave\\Win7_Tests__1_\\build\\gtest-results\\browser_tests\\browser_tests.xml',
'--test-launcher-summary-output=c:\\users\\chrome~2\\appdata\\local\\temp\\tmpfbmzn9'],
cwd=E:\b\build\slave\Win7_Tests__1_\isolate-2014-05-18gqemnl\chrome

command timed out: 600 seconds without output, attempting to kill
program finished with exit code 1.

Powered by Google App Engine
This is Rietveld 408576698