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

Issue 2899083003: Delete unused tutorial code from profile switcher/user manager. (Closed)

Created:
3 years, 7 months ago by Bret
Modified:
3 years, 6 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, extensions-reviews_chromium.org, Matt Giuca, michaelpg+watch-md-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, tfarina, Moe, msarda
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

It appears the tutorial mode is never set, and even if it were set the code that creates tutorial UI is never referenced anywhere. Review-Url: https://codereview.chromium.org/2899083003 Cr-Commit-Position: refs/heads/master@{#475755} Committed: https://chromium.googlesource.com/chromium/src/+/35ec955d7d925e1daa08b0944790cc689016add9

Patch Set 1 #

Patch Set 2 : fix compile #

Patch Set 3 : update cocoa #

Patch Set 4 : more cocoa sites #

Patch Set 5 : forgot enum namespace #

Patch Set 6 : fix cocoa tests #

Patch Set 7 : delete UserManagerTutorialMode enum #

Total comments: 3

Patch Set 8 : fix merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -789 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 2 3 4 5 6 7 4 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/apps/app_shim/extension_app_shim_handler_mac.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/background/background_mode_manager.cc View 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/profiles/avatar_menu.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_window.h View 1 2 3 4 5 6 4 chunks +3 lines, -26 lines 0 comments Download
M chrome/browser/profiles/profile_window.cc View 9 chunks +4 lines, -43 lines 0 comments Download
M chrome/browser/profiles/profile_window_browsertest.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_list_service_disabled.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/profile_loader.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm View 1 2 3 4 2 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h View 1 2 4 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 17 chunks +0 lines, -291 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 1 2 3 4 5 2 chunks +0 lines, -29 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/extension_enable_flow.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/profile_chooser_constants.h View 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/user_manager.h View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 5 chunks +0 lines, -47 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 7 13 chunks +2 lines, -286 lines 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/webui/profile_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/people_handler.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 53 (36 generated)
Bret
ellyjones@: cocoa changes sky@: views changes I'll do specific OWNERS after
3 years, 7 months ago (2017-05-25 00:27:54 UTC) #25
sky
Can you also add the person that adds this code to make sure it should ...
3 years, 7 months ago (2017-05-25 02:54:49 UTC) #30
Elly Fong-Jones
It looks like it was added in https://codereview.chromium.org/1120013003 on 2015-05-19 and then the feature it ...
3 years, 7 months ago (2017-05-25 12:49:36 UTC) #31
Elly Fong-Jones
chrome/browser/ui/cocoa lgtm
3 years, 7 months ago (2017-05-25 12:53:29 UTC) #32
sky
+anthonyvd
3 years, 7 months ago (2017-05-25 17:37:15 UTC) #34
anthonyvd
Awesome cleanup, lgtm +CC a couple of people involved in the User Manager as FYI
3 years, 7 months ago (2017-05-25 17:41:24 UTC) #35
Bret
Okay, just need some quick OWNERS approvals, all tiny changes: thakis@: c/b/app_controller_mac.mm dominickn@: c/b/apps/app_shim/extension_app_shim_handler_mac.cc rogerta@: ...
3 years, 7 months ago (2017-05-25 19:14:14 UTC) #37
Nico
chrome/browser/app_controller_mac.mm lgtm
3 years, 7 months ago (2017-05-25 19:14:55 UTC) #38
sky
One question. https://codereview.chromium.org/2899083003/diff/110001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (left): https://codereview.chromium.org/2899083003/diff/110001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#oldcode508 chrome/browser/ui/views/profiles/profile_chooser_view.cc:508: if (tutorial_mode != profiles::TUTORIAL_MODE_NONE) { Previously wouldn't ...
3 years, 7 months ago (2017-05-25 19:32:07 UTC) #39
Bret
https://codereview.chromium.org/2899083003/diff/110001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (left): https://codereview.chromium.org/2899083003/diff/110001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#oldcode508 chrome/browser/ui/views/profiles/profile_chooser_view.cc:508: if (tutorial_mode != profiles::TUTORIAL_MODE_NONE) { On 2017/05/25 19:32:07, sky ...
3 years, 7 months ago (2017-05-25 20:32:25 UTC) #40
sky
LGTM https://codereview.chromium.org/2899083003/diff/110001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (left): https://codereview.chromium.org/2899083003/diff/110001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#oldcode508 chrome/browser/ui/views/profiles/profile_chooser_view.cc:508: if (tutorial_mode != profiles::TUTORIAL_MODE_NONE) { On 2017/05/25 20:32:25, ...
3 years, 7 months ago (2017-05-25 22:56:13 UTC) #41
dominickn
extension_app_shim_handler lgtm
3 years, 7 months ago (2017-05-26 00:06:03 UTC) #42
Roger Tawa OOO till Jul 10th
chrome/browser/signin/chrome_signin_client.cc lgtm
3 years, 6 months ago (2017-05-30 18:45:14 UTC) #43
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/2899083003/110001
3 years, 6 months ago (2017-05-30 18:46:22 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/450965) ios-device on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-05-30 18:50:12 UTC) #47
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/2899083003/130001
3 years, 6 months ago (2017-05-31 01:18:16 UTC) #50
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 02:47:21 UTC) #53
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://chromium.googlesource.com/chromium/src/+/35ec955d7d925e1daa08b0944790...

Powered by Google App Engine
This is Rietveld 408576698