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

Issue 2517243002: [Sync] Removing complexity around PROXY_TABS now that empty sessions are provided when disabled. (Closed)

Created:
4 years, 1 month ago by skym
Modified:
4 years ago
Reviewers:
calamity, jyquinn, Dan Beam
CC:
chromium-reviews, asanka, pkl (ping after 24h if needed), Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, dbeam+watch-downloads_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Removing complexity around PROXY_TABS now that empty sessions are provided when disabled. Now that https://codereview.chromium.org/2504433002/ has landed, sessions data is always empty when PROXY_TABS aka open tabs is disabled. This makes the isTabSyncEnabled boolean that is passed through the UI logic unnecessary. It is imaginable to have a scenario where you would want to differentiate between having no sessions data and have PROXY_TABS being disabled. However, it doesn't seem that we currently do this anywhere, and the percentage of the population that disables PROXY_TABS is so small, it may never make sense to do this. Worst case we can add this logic back. BUG=665532 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b43a8d106da8d916b4edc7c10da350cc2a11585a Cr-Commit-Position: refs/heads/master@{#436345}

Patch Set 1 #

Patch Set 2 : Reverted ios change. #

Total comments: 2

Patch Set 3 : Rebase and vulcanize with 1.14.8 #

Patch Set 4 : Rebase and re-vulcanize after conflict. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -95 lines) Patch
M chrome/browser/resources/history/other_devices.js View 1 chunk +2 lines, -8 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 3 1 chunk +1 line, -14 lines 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/history.js View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_history/lazy_load.crisper.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/synced_device_manager.js View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/foreign_session_handler.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/foreign_session_handler.cc View 2 chunks +1 line, -10 lines 0 comments Download
M chrome/test/data/webui/md_history/history_metrics_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_synced_tabs_test.js View 1 2 1 chunk +0 lines, -45 lines 0 comments Download

Messages

Total messages: 44 (29 generated)
skym
PTAL. jyquinn@ for ios file, dbeam@ for everything else. I'm a little bit surprised at ...
4 years, 1 month ago (2016-11-21 20:05:03 UTC) #9
Dan Beam
note: the ios/ stuff is being removed https://codereview.chromium.org/2494853003/
4 years, 1 month ago (2016-11-21 20:23:36 UTC) #10
Dan Beam
I think calamity@ is more familiar with synced tab on the MD history page. I ...
4 years, 1 month ago (2016-11-21 20:26:21 UTC) #12
Jackie Quinn
On 2016/11/21 20:26:21, Dan Beam wrote: > I think calamity@ is more familiar with synced ...
4 years, 1 month ago (2016-11-22 17:16:56 UTC) #13
calamity
Mostly lg. It looks like you have a new version of vulcanize. Can you please ...
4 years ago (2016-11-24 00:29:09 UTC) #18
tsergeant
On 2016/11/24 00:29:09, calamity wrote: > Mostly lg. > > It looks like you have ...
4 years ago (2016-11-24 02:29:34 UTC) #19
skym
Vulcanized with correct versions. https://codereview.chromium.org/2517243002/diff/20001/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (left): https://codereview.chromium.org/2517243002/diff/20001/chrome/browser/resources/md_history/app.js#oldcode276 chrome/browser/resources/md_history/app.js:276: syncedDeviceManagerElem.tabSyncDisabled(); On 2016/11/24 00:29:09, calamity ...
4 years ago (2016-11-29 18:30:55 UTC) #23
calamity
md_history lgtm.
4 years ago (2016-11-30 03:35:09 UTC) #26
Dan Beam
lgtm
4 years ago (2016-12-02 00:15:28 UTC) #27
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/2517243002/40001
4 years ago (2016-12-02 17:09:24 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/326211)
4 years ago (2016-12-02 17:12:06 UTC) #31
skym
Rebase and re-vulcanize after conflict
4 years ago (2016-12-02 22:02:42 UTC) #33
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/2517243002/60001
4 years ago (2016-12-05 16:53:26 UTC) #39
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-05 17:57:03 UTC) #42
commit-bot: I haz the power
4 years ago (2016-12-05 18:00:36 UTC) #44
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b43a8d106da8d916b4edc7c10da350cc2a11585a
Cr-Commit-Position: refs/heads/master@{#436345}

Powered by Google App Engine
This is Rietveld 408576698