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

Issue 2193333002: Setting Router Refactor: Implement RouteObserverBehavior. (Closed)

Created:
4 years, 4 months ago by tommycli
Modified:
4 years, 4 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Setting Router Refactor: Implement RouteObserverBehavior. This also removes most of the contents of settings-router. It still exists for now to propagate the property update, but will be removed once everything uses RouteObserverBehavior. BUG=608115 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/431600500292c1394cee9c76746395bf525bd1ec Cr-Commit-Position: refs/heads/master@{#409047}

Patch Set 1 #

Total comments: 19

Patch Set 2 : address comments #

Patch Set 3 : merge origin/master #

Patch Set 4 : small fix #

Patch Set 5 : Fix naming issue in route.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -56 lines) Patch
M chrome/browser/resources/settings/route.js View 1 2 3 4 2 chunks +59 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_router.js View 1 2 1 chunk +11 lines, -46 lines 0 comments Download

Messages

Total messages: 30 (22 generated)
tommycli
dbeam: PTAL, thanks!
4 years, 4 months ago (2016-07-29 19:07:03 UTC) #5
Dan Beam
https://codereview.chromium.org/2193333002/diff/1/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2193333002/diff/1/chrome/browser/resources/settings/route.js#newcode279 chrome/browser/resources/settings/route.js:279: routeObservers_.delete(this); assert(routeObservers_.delete(this)); https://codereview.chromium.org/2193333002/diff/1/chrome/browser/resources/settings/route.js#newcode281 chrome/browser/resources/settings/route.js:281: nit: /** @abstract */ https://codereview.chromium.org/2193333002/diff/1/chrome/browser/resources/settings/route.js#newcode282 ...
4 years, 4 months ago (2016-07-30 01:13:02 UTC) #8
tommycli
dbeam: Thanks! https://codereview.chromium.org/2193333002/diff/1/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2193333002/diff/1/chrome/browser/resources/settings/route.js#newcode279 chrome/browser/resources/settings/route.js:279: routeObservers_.delete(this); On 2016/07/30 01:13:02, Dan Beam wrote: ...
4 years, 4 months ago (2016-08-01 17:33:24 UTC) #10
Dan Beam
lgtm
4 years, 4 months ago (2016-08-01 19:25:38 UTC) #20
tommycli
dbeam: Thanks! https://codereview.chromium.org/2193333002/diff/1/chrome/browser/resources/settings/route.js File chrome/browser/resources/settings/route.js (right): https://codereview.chromium.org/2193333002/diff/1/chrome/browser/resources/settings/route.js#newcode303 chrome/browser/resources/settings/route.js:303: return Route[matchingKey]; On 2016/08/01 17:33:24, tommycli wrote: ...
4 years, 4 months ago (2016-08-01 20:06:35 UTC) #23
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/2193333002/80001
4 years, 4 months ago (2016-08-01 20:06:58 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-01 20:42:41 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-01 20:47:39 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/431600500292c1394cee9c76746395bf525bd1ec
Cr-Commit-Position: refs/heads/master@{#409047}

Powered by Google App Engine
This is Rietveld 408576698