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

Issue 1087773002: Sync typed urls with typed_cont() == 0 (Closed)

Created:
5 years, 8 months ago by mpawlowski
Modified:
5 years, 8 months ago
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sync typed urls with typed_cont() == 0 When the user types "google.com" into the address bar, the server will redirect him to "www.google.com" (or a regional equivalent). The redirected URL will have PAGE_TRANSITION_TYPED but typed_count() == 0. We still want to Sync such URL, otherwise the receiving client will only see "google.com" with PAGE_TRANSITION_CHAIN_START and without the matching _CHAIN_END. Additionally, the history view won't show that "google.com" URL because VisitDatabase::GetVisibleVisitsInRange filters out results that don't match PAGE_TRANSITION_CHAIN_END. BUG= Committed: https://crrev.com/7f5588cf33aa5e6a793382387058935a579421b8 Cr-Commit-Position: refs/heads/master@{#325990}

Patch Set 1 #

Patch Set 2 : Add unit test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -3 lines) Patch
M chrome/browser/sync/glue/typed_url_change_processor.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc View 1 1 chunk +46 lines, -0 lines 1 comment Download
M chrome/browser/sync/test/integration/typed_urls_helper.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/typed_urls_helper.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
mpawlowski
5 years, 8 months ago (2015-04-14 08:26:35 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087773002/1
5 years, 8 months ago (2015-04-14 14:43:12 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/56198)
5 years, 8 months ago (2015-04-14 14:52:47 UTC) #6
Nicolas Zea
What's to prevent Sync from syncing all urls here, even those not part of a ...
5 years, 8 months ago (2015-04-14 17:47:38 UTC) #7
mpawlowski
On 2015/04/14 17:47:38, Nicolas Zea wrote: > What's to prevent Sync from syncing all urls ...
5 years, 8 months ago (2015-04-15 07:03:33 UTC) #8
Nicolas Zea
I see, makes sense. I think the only thing I'd like to see then is ...
5 years, 8 months ago (2015-04-16 15:52:08 UTC) #9
mpawlowski
On 2015/04/16 15:52:08, Nicolas Zea wrote: > I see, makes sense. I think the only ...
5 years, 8 months ago (2015-04-17 09:35:14 UTC) #10
Nicolas Zea
LGTM, thanks for adding the test! https://codereview.chromium.org/1087773002/diff/20001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc File chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc (right): https://codereview.chromium.org/1087773002/diff/20001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc#newcode380 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc:380: IN_PROC_BROWSER_TEST_F(TwoClientTypedUrlsSyncTest, SyncTypedRedirects) { ...
5 years, 8 months ago (2015-04-20 19:46:03 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087773002/20001
5 years, 8 months ago (2015-04-21 00:16:34 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-21 01:45:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087773002/20001
5 years, 8 months ago (2015-04-21 07:01:01 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-21 07:02:51 UTC) #18
commit-bot: I haz the power
5 years, 8 months ago (2015-04-21 07:03:35 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7f5588cf33aa5e6a793382387058935a579421b8
Cr-Commit-Position: refs/heads/master@{#325990}

Powered by Google App Engine
This is Rietveld 408576698