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

Issue 2220303002: MD History: Show 'no synced tabs' when tab sync is disabled (Closed)

Created:
4 years, 4 months ago by lshang
Modified:
4 years, 4 months ago
CC:
chromium-reviews, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Show 'no synced tabs' when tab sync is disabled When user signs in and disables tab sync, setForeignSessions will return directly, leaving "Loading" message shown in synced tabs page. This CL notifies synced device manager to change message from "Loading" to "No synced devices" when tab sync is disabled. BUG=633558 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/aaca255abd350f4d3b85ccff3d3dec1358255313 Cr-Commit-Position: refs/heads/master@{#410943}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : address review comments #

Total comments: 2

Patch Set 3 : revise test #

Total comments: 2

Patch Set 4 : minor change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -12 lines) Patch
M chrome/browser/resources/md_history/app.js View 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/synced_device_manager.js View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/history_synced_tabs_test.js View 1 2 3 4 chunks +40 lines, -11 lines 0 comments Download

Messages

Total messages: 34 (22 generated)
lshang
PTAL thanks!
4 years, 4 months ago (2016-08-08 04:19:04 UTC) #7
tsergeant
https://codereview.chromium.org/2220303002/diff/20001/chrome/browser/resources/md_history/synced_device_manager.js File chrome/browser/resources/md_history/synced_device_manager.js (right): https://codereview.chromium.org/2220303002/diff/20001/chrome/browser/resources/md_history/synced_device_manager.js#newcode195 chrome/browser/resources/md_history/synced_device_manager.js:195: this.fetchingSyncedTabs_ = false; This doesn't quite work as intended ...
4 years, 4 months ago (2016-08-08 04:49:15 UTC) #8
richardsonfamily79dimmy
lgtm
4 years, 4 months ago (2016-08-08 08:59:44 UTC) #12
lshang
https://codereview.chromium.org/2220303002/diff/20001/chrome/browser/resources/md_history/synced_device_manager.js File chrome/browser/resources/md_history/synced_device_manager.js (right): https://codereview.chromium.org/2220303002/diff/20001/chrome/browser/resources/md_history/synced_device_manager.js#newcode195 chrome/browser/resources/md_history/synced_device_manager.js:195: this.fetchingSyncedTabs_ = false; On 2016/08/08 04:49:15, tsergeant wrote: > ...
4 years, 4 months ago (2016-08-09 00:39:29 UTC) #17
tsergeant
https://codereview.chromium.org/2220303002/diff/40001/chrome/test/data/webui/md_history/history_synced_tabs_test.js File chrome/test/data/webui/md_history/history_synced_tabs_test.js (right): https://codereview.chromium.org/2220303002/diff/40001/chrome/test/data/webui/md_history/history_synced_tabs_test.js#newcode46 chrome/test/data/webui/md_history/history_synced_tabs_test.js:46: assertFalse(element.$['no-synced-tabs'].hidden); I had intended that you could pull out ...
4 years, 4 months ago (2016-08-09 04:07:00 UTC) #18
lshang
https://codereview.chromium.org/2220303002/diff/40001/chrome/test/data/webui/md_history/history_synced_tabs_test.js File chrome/test/data/webui/md_history/history_synced_tabs_test.js (right): https://codereview.chromium.org/2220303002/diff/40001/chrome/test/data/webui/md_history/history_synced_tabs_test.js#newcode46 chrome/test/data/webui/md_history/history_synced_tabs_test.js:46: assertFalse(element.$['no-synced-tabs'].hidden); On 2016/08/09 04:06:59, tsergeant wrote: > I had ...
4 years, 4 months ago (2016-08-09 05:08:38 UTC) #20
tsergeant
lgtm, but let calamity@ review as well. https://codereview.chromium.org/2220303002/diff/80001/chrome/test/data/webui/md_history/history_synced_tabs_test.js File chrome/test/data/webui/md_history/history_synced_tabs_test.js (right): https://codereview.chromium.org/2220303002/diff/80001/chrome/test/data/webui/md_history/history_synced_tabs_test.js#newcode51 chrome/test/data/webui/md_history/history_synced_tabs_test.js:51: } Nit: ...
4 years, 4 months ago (2016-08-09 05:17:23 UTC) #21
calamity
lgtm
4 years, 4 months ago (2016-08-09 05:58:49 UTC) #22
lshang
Thanks all! https://codereview.chromium.org/2220303002/diff/80001/chrome/test/data/webui/md_history/history_synced_tabs_test.js File chrome/test/data/webui/md_history/history_synced_tabs_test.js (right): https://codereview.chromium.org/2220303002/diff/80001/chrome/test/data/webui/md_history/history_synced_tabs_test.js#newcode51 chrome/test/data/webui/md_history/history_synced_tabs_test.js:51: } On 2016/08/09 05:17:23, tsergeant wrote: > ...
4 years, 4 months ago (2016-08-10 03:23:24 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/2220303002/100001
4 years, 4 months ago (2016-08-10 03:24:00 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 4 months ago (2016-08-10 03:28:48 UTC) #32
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 03:31:49 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/aaca255abd350f4d3b85ccff3d3dec1358255313
Cr-Commit-Position: refs/heads/master@{#410943}

Powered by Google App Engine
This is Rietveld 408576698