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

Issue 1143963002: Split NTPLoginHandler across chrome://apps and chrome://history. (Closed)

Created:
5 years, 7 months ago by Dan Beam
Modified:
5 years, 7 months ago
Reviewers:
MAD
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, Patrick Dubroy, pam+watch_chromium.org, arv+watch_chromium.org, estade+watch_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split NTPLoginHandler across chrome://apps and chrome://history. NTPLoginHandler was originally used to handle login from the NTP. It now handles login on chrome://apps and chrome://history and employs a dirty little hack to be re-used. Undo that hack (exposing of ntp.updateLogin on chrome://history) and split the handler logically, slimming the history handler (which runs on mobile). R=mad@chromium.org BUG=329637 Committed: https://crrev.com/55191fa24c75b7f3b63bc4bd7a183cdcb27af8fb Cr-Commit-Position: refs/heads/master@{#330874}

Patch Set 1 : lower #

Total comments: 22

Patch Set 2 : mad@ review #

Patch Set 3 : gyp fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -439 lines) Patch
M chrome/browser/resources/history/other_devices.js View 3 chunks +4 lines, -16 lines 0 comments Download
A + chrome/browser/ui/webui/app_launcher_login_handler.h View 1 2 chunks +15 lines, -14 lines 0 comments Download
A + chrome/browser/ui/webui/app_launcher_login_handler.cc View 1 8 chunks +28 lines, -49 lines 0 comments Download
M chrome/browser/ui/webui/app_launcher_page_ui.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A chrome/browser/ui/webui/history_login_handler.h View 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/history_login_handler.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/history_ui.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/history_ui.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 2 chunks +0 lines, -4 lines 0 comments Download
D chrome/browser/ui/webui/ntp/ntp_login_handler.h View 1 chunk +0 lines, -72 lines 0 comments Download
D chrome/browser/ui/webui/ntp/ntp_login_handler.cc View 1 chunk +0 lines, -273 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A chrome/browser/ui/webui/profile_info_watcher.h View 1 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/profile_info_watcher.cc View 1 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 4 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Dan Beam
https://codereview.chromium.org/1143963002/diff/20002/chrome/browser/ui/webui/ntp/new_tab_ui.cc File chrome/browser/ui/webui/ntp/new_tab_ui.cc (left): https://codereview.chromium.org/1143963002/diff/20002/chrome/browser/ui/webui/ntp/new_tab_ui.cc#oldcode111 chrome/browser/ui/webui/ntp/new_tab_ui.cc:111: web_ui->AddMessageHandler(new NTPLoginHandler()); not necessary on chrome://newtab any more :) ...
5 years, 7 months ago (2015-05-20 02:44:04 UTC) #4
MAD
LGTM with a bunch of nits. BYE MAD https://codereview.chromium.org/1143963002/diff/20002/chrome/browser/ui/webui/app_launcher_login_handler.cc File chrome/browser/ui/webui/app_launcher_login_handler.cc (right): https://codereview.chromium.org/1143963002/diff/20002/chrome/browser/ui/webui/app_launcher_login_handler.cc#newcode13 chrome/browser/ui/webui/app_launcher_login_handler.cc:13: #include ...
5 years, 7 months ago (2015-05-20 19:33:02 UTC) #5
Dan Beam
https://codereview.chromium.org/1143963002/diff/20002/chrome/browser/ui/webui/app_launcher_login_handler.cc File chrome/browser/ui/webui/app_launcher_login_handler.cc (right): https://codereview.chromium.org/1143963002/diff/20002/chrome/browser/ui/webui/app_launcher_login_handler.cc#newcode13 chrome/browser/ui/webui/app_launcher_login_handler.cc:13: #include "base/prefs/pref_service.h" On 2015/05/20 19:33:02, MAD wrote: > I ...
5 years, 7 months ago (2015-05-20 21:53:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143963002/110001
5 years, 7 months ago (2015-05-21 01:19:55 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:110001)
5 years, 7 months ago (2015-05-21 01:52:00 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 01:53:45 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/55191fa24c75b7f3b63bc4bd7a183cdcb27af8fb
Cr-Commit-Position: refs/heads/master@{#330874}

Powered by Google App Engine
This is Rietveld 408576698