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

Issue 2790483002: Fixes History page keeps on loading when signed in with Passphrase (Closed)

Created:
3 years, 8 months ago by ramyasharma
Modified:
3 years, 8 months ago
CC:
chromium-reviews, marq+watch_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, sync-reviews_chromium.org, sdefresne+watch_chromium.org, skym, gracie
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes History page keeps on loading when signed in with Passphrase enabled account. This bug was exposed as a result of https://codereview.chromium.org/2589313002. There are two types of data types for sync: Preferred type - The sync service will try to make active exactly these types. Active: a preferred datatype that is actively being synchronized. On iOS sync service, when fetching the current state of a data type, we were looking up preferred data type, instead of active. Hence even though the passphrase is enabled, and HISTORY_DELETE_DIRECTIVES is disabled in this stage, it was being returned as true, since it was still a part of the preferred data types. TEST=Test with an account with secondary passphrase. The history view must only load local history when passphrase is enabled. Otherwise load synced history from across devices enabled BUG=679347 TBR=skym@chromium.org Review-Url: https://codereview.chromium.org/2790483002 Cr-Commit-Position: refs/heads/master@{#461642} Committed: https://chromium.googlesource.com/chromium/src/+/54106f055fcaed85a4cfd34d749eaf7ebf107137

Patch Set 1 : a #

Total comments: 4

Patch Set 2 : a #

Patch Set 3 : a #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M ios/chrome/browser/sync/sync_setup_service.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/history/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/history/history_collection_view_controller_unittest.mm View 1 5 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (39 generated)
ramyasharma
3 years, 8 months ago (2017-03-31 06:47:45 UTC) #15
sczs
Thanks for tackling this ramyasharma@ lgtm with a couple "TODO" format fixes https://codereview.chromium.org/2790483002/diff/80001/ios/chrome/browser/ui/history/history_collection_view_controller.mm File ios/chrome/browser/ui/history/history_collection_view_controller.mm ...
3 years, 8 months ago (2017-03-31 15:58:02 UTC) #23
pink (ping after 24hrs)
I'm not sure we can fix the issue where history isn't synced if there is ...
3 years, 8 months ago (2017-03-31 16:10:44 UTC) #24
ramyasharma
On 2017/03/31 16:10:44, pink wrote: > I'm not sure we can fix the issue where ...
3 years, 8 months ago (2017-04-01 01:13:49 UTC) #25
ramyasharma
On 2017/04/01 01:13:49, ramyasharma wrote: > On 2017/03/31 16:10:44, pink wrote: > > I'm not ...
3 years, 8 months ago (2017-04-03 07:38:31 UTC) #28
pink (ping after 24hrs)
lgtm
3 years, 8 months ago (2017-04-03 18:22:45 UTC) #31
pkl (ping after 24h if needed)
LGTM, but please update the CL description since it is still talking about the temporary ...
3 years, 8 months ago (2017-04-03 20:20:03 UTC) #33
ramyasharma
On 2017/04/03 20:20:03, pklpkl wrote: > LGTM, but please update the CL description since it ...
3 years, 8 months ago (2017-04-04 00:20:07 UTC) #37
ramyasharma
Adding skym@ for sync. https://codereview.chromium.org/2790483002/diff/80001/ios/chrome/browser/ui/history/history_collection_view_controller.mm File ios/chrome/browser/ui/history/history_collection_view_controller.mm (right): https://codereview.chromium.org/2790483002/diff/80001/ios/chrome/browser/ui/history/history_collection_view_controller.mm#newcode333 ios/chrome/browser/ui/history/history_collection_view_controller.mm:333: // TODO(ramyasharma): Remove this check ...
3 years, 8 months ago (2017-04-04 01:44:06 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2790483002/120001
3 years, 8 months ago (2017-04-04 06:01:12 UTC) #46
commit-bot: I haz the power
Committed patchset #3 (id:120001) as https://chromium.googlesource.com/chromium/src/+/54106f055fcaed85a4cfd34d749eaf7ebf107137
3 years, 8 months ago (2017-04-04 06:07:26 UTC) #49
skym
3 years, 8 months ago (2017-04-04 14:59:16 UTC) #50
Message was sent while issue was closed.
sync change lgtm!

Powered by Google App Engine
This is Rietveld 408576698