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

Issue 1313383006: Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android (Closed)

Created:
5 years, 3 months ago by ki.stfu
Modified:
5 years, 3 months ago
CC:
chromium-reviews, tfarina, gcasto+watchlist_chromium.org, vabr+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android The SavePasswordInfoBarDelegate is used on Mac and Android only. There is no reason to compile save_password_infobar_delegate.cc on other platform. In addition, this patch excludes the k{Enable,Disable}SavePasswordBubble definitions on Aura platforms. BUG=526837 TEST= R=vabr@chromium.org,pkasting@chromium.org,tapted@chromium.org,sky@chromium.org Committed: https://crrev.com/5e669f04cbfb8655af0afe5854def2263018e1be Cr-Commit-Position: refs/heads/master@{#349370}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Refactor IsTheHotNewBubbleUIEnabled; Don't use LOG() #

Total comments: 3

Patch Set 3 : Fix a comment; Use NOTREACHED() instead of DCHECK() #

Patch Set 4 : Exclude kEnableSavePasswordBubble/kDisableSavePasswordBubble definitions on Aura platforms #

Total comments: 11

Patch Set 5 : Make a bit refactoring #

Total comments: 7

Patch Set 6 : Restore chrome/browser/ui/views/infobars/save_password_infobar.cc #

Patch Set 7 : Restore chrome/browser/ui/views/infobars/save_password_infobar.cc #

Patch Set 8 : Fix GN build #

Patch Set 9 : Rebase against ToT #

Total comments: 2

Patch Set 10 : Add TODO in chrome/browser/ui/views/infobars/save_password_infobar.cc #

Patch Set 11 : Rebase against ToT #

Patch Set 12 : Rebase against ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -16 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/infobars/save_password_infobar.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 65 (23 generated)
ki.stfu
5 years, 3 months ago (2015-09-08 07:31:58 UTC) #1
Peter Kasting
https://codereview.chromium.org/1313383006/diff/1/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/1313383006/diff/1/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode232 chrome/browser/password_manager/chrome_password_manager_client.cc:232: LOG(FATAL) << "New bubble UI should be used everywhere ...
5 years, 3 months ago (2015-09-08 08:20:00 UTC) #2
ki.stfu
https://codereview.chromium.org/1313383006/diff/1/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1313383006/diff/1/chrome/chrome_browser.gypi#newcode2051 chrome/chrome_browser.gypi:2051: # Used everywhere but Mac and Android. On 2015/09/08 ...
5 years, 3 months ago (2015-09-08 09:22:20 UTC) #3
vabr (Chromium)
First of all, thanks for joining Chromium contributors, and writing this CL! :) For the ...
5 years, 3 months ago (2015-09-08 12:52:50 UTC) #4
Evan Stade
does this break the mac views build?
5 years, 3 months ago (2015-09-08 19:20:48 UTC) #6
ki.stfu
On 2015/09/08 12:52:50, vabr (Chromium) wrote: > First of all, thanks for joining Chromium contributors, ...
5 years, 3 months ago (2015-09-08 20:39:22 UTC) #7
ki.stfu
https://codereview.chromium.org/1313383006/diff/1/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/1313383006/diff/1/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode232 chrome/browser/password_manager/chrome_password_manager_client.cc:232: LOG(FATAL) << "New bubble UI should be used everywhere ...
5 years, 3 months ago (2015-09-08 20:39:54 UTC) #8
ki.stfu
On 2015/09/08 19:20:48, Evan Stade wrote: > does this break the mac views build? I ...
5 years, 3 months ago (2015-09-08 20:48:13 UTC) #9
Peter Kasting
https://codereview.chromium.org/1313383006/diff/1/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/1313383006/diff/1/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode232 chrome/browser/password_manager/chrome_password_manager_client.cc:232: LOG(FATAL) << "New bubble UI should be used everywhere ...
5 years, 3 months ago (2015-09-08 20:50:33 UTC) #10
Evan Stade
On 2015/09/08 20:48:13, ki.stfu wrote: > On 2015/09/08 19:20:48, Evan Stade wrote: > > does ...
5 years, 3 months ago (2015-09-08 21:03:13 UTC) #12
vabr (Chromium)
https://codereview.chromium.org/1313383006/diff/1/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/1313383006/diff/1/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode518 chrome/browser/password_manager/chrome_password_manager_client.cc:518: #endif On 2015/09/08 20:39:54, ki.stfu wrote: > On 2015/09/08 ...
5 years, 3 months ago (2015-09-09 09:18:20 UTC) #13
ki.stfu
https://codereview.chromium.org/1313383006/diff/20001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/1313383006/diff/20001/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode214 chrome/browser/password_manager/chrome_password_manager_client.cc:214: DCHECK(is_the_hot_new_bubble_ui_enabled) << "New bubble UI should be used" Is ...
5 years, 3 months ago (2015-09-09 17:46:15 UTC) #14
ki.stfu
5 years, 3 months ago (2015-09-09 19:48:17 UTC) #15
ki.stfu
5 years, 3 months ago (2015-09-09 19:49:07 UTC) #16
pink (ping after 24hrs)
Pretty sure we don't have a bot, but tapted@ can answer (of course, he's OOTO ...
5 years, 3 months ago (2015-09-09 19:55:00 UTC) #18
Peter Kasting
LGTM https://codereview.chromium.org/1313383006/diff/60001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): https://codereview.chromium.org/1313383006/diff/60001/chrome/common/chrome_switches.cc#newcode1172 chrome/common/chrome_switches.cc:1172: const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; Nit: Remove extra ...
5 years, 3 months ago (2015-09-09 20:27:01 UTC) #19
tapted
On 2015/09/08 21:03:13, Evan Stade wrote: > On 2015/09/08 20:48:13, ki.stfu wrote: > > On ...
5 years, 3 months ago (2015-09-10 04:35:02 UTC) #20
vabr (Chromium)
Some more comments. Thanks, Vaclav https://codereview.chromium.org/1313383006/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1313383006/diff/60001/chrome/browser/about_flags.cc#newcode1581 chrome/browser/about_flags.cc:1581: #if !defined(USE_AURA) Note that ...
5 years, 3 months ago (2015-09-10 07:21:47 UTC) #21
ki.stfu
https://codereview.chromium.org/1313383006/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1313383006/diff/60001/chrome/browser/about_flags.cc#newcode1581 chrome/browser/about_flags.cc:1581: #if !defined(USE_AURA) On 2015/09/10 07:21:47, vabr (Chromium) wrote: > ...
5 years, 3 months ago (2015-09-10 18:21:01 UTC) #22
vabr (Chromium)
Thanks! Patch set 5 LGTM. @tapted -- if you hit problems related to this in ...
5 years, 3 months ago (2015-09-10 18:48:12 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313383006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313383006/80001
5 years, 3 months ago (2015-09-11 05:27:30 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/131184)
5 years, 3 months ago (2015-09-11 05:47:52 UTC) #30
tapted
Since you need some .gn changes, you may consider a simple change below that will ...
5 years, 3 months ago (2015-09-14 07:07:05 UTC) #31
ki.stfu
On 2015/09/14 07:07:05, tapted wrote: > Since you need some .gn changes, you may consider ...
5 years, 3 months ago (2015-09-15 07:16:22 UTC) #32
ki.stfu
https://codereview.chromium.org/1313383006/diff/80001/chrome/chrome_browser_ui.gypi File chrome/chrome_browser_ui.gypi (left): https://codereview.chromium.org/1313383006/diff/80001/chrome/chrome_browser_ui.gypi#oldcode2218 chrome/chrome_browser_ui.gypi:2218: 'browser/ui/views/infobars/save_password_infobar.cc', On 2015/09/14 07:07:05, tapted wrote: > To keep ...
5 years, 3 months ago (2015-09-15 07:19:05 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313383006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313383006/140001
5 years, 3 months ago (2015-09-15 07:21:13 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313383006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313383006/160001
5 years, 3 months ago (2015-09-15 07:40:13 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/99769)
5 years, 3 months ago (2015-09-15 07:49:29 UTC) #43
ki.stfu
https://codereview.chromium.org/1313383006/diff/80001/chrome/browser/ui/views/infobars/save_password_infobar.cc File chrome/browser/ui/views/infobars/save_password_infobar.cc (left): https://codereview.chromium.org/1313383006/diff/80001/chrome/browser/ui/views/infobars/save_password_infobar.cc#oldcode7 chrome/browser/ui/views/infobars/save_password_infobar.cc:7: Forgot to add tapted@'s comment here: // TODO(tapted): Delete ...
5 years, 3 months ago (2015-09-15 11:06:53 UTC) #44
tapted
lgtm fwiw, but I don't give you any OWNER tokens. I see you've added sky@ ...
5 years, 3 months ago (2015-09-15 23:55:33 UTC) #45
Evan Stade
https://codereview.chromium.org/1313383006/diff/160001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1313383006/diff/160001/chrome/chrome_browser.gypi#newcode2076 chrome/chrome_browser.gypi:2076: 'browser/password_manager/save_password_infobar_delegate.cc', optional nit: It doesn't seem like this configuration ...
5 years, 3 months ago (2015-09-16 00:05:06 UTC) #46
sky
LGTM
5 years, 3 months ago (2015-09-16 01:21:52 UTC) #47
ki.stfu
https://codereview.chromium.org/1313383006/diff/160001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1313383006/diff/160001/chrome/chrome_browser.gypi#newcode2076 chrome/chrome_browser.gypi:2076: 'browser/password_manager/save_password_infobar_delegate.cc', On 2015/09/16 00:05:06, Evan Stade (ooo) wrote: > ...
5 years, 3 months ago (2015-09-16 08:17:30 UTC) #48
ki.stfu
https://codereview.chromium.org/1313383006/diff/80001/chrome/browser/ui/views/infobars/save_password_infobar.cc File chrome/browser/ui/views/infobars/save_password_infobar.cc (left): https://codereview.chromium.org/1313383006/diff/80001/chrome/browser/ui/views/infobars/save_password_infobar.cc#oldcode7 chrome/browser/ui/views/infobars/save_password_infobar.cc:7: On 2015/09/15 23:55:32, tapted wrote: > On 2015/09/15 11:06:53, ...
5 years, 3 months ago (2015-09-16 09:21:04 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313383006/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313383006/180001
5 years, 3 months ago (2015-09-16 17:42:28 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/70017) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-09-16 17:44:51 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313383006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313383006/200001
5 years, 3 months ago (2015-09-16 21:01:07 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/100611)
5 years, 3 months ago (2015-09-16 21:09:31 UTC) #59
ki.stfu
5 years, 3 months ago (2015-09-16 21:22:52 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313383006/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313383006/220001
5 years, 3 months ago (2015-09-17 06:08:03 UTC) #63
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 3 months ago (2015-09-17 07:15:28 UTC) #64
commit-bot: I haz the power
5 years, 3 months ago (2015-09-17 07:16:08 UTC) #65
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/5e669f04cbfb8655af0afe5854def2263018e1be
Cr-Commit-Position: refs/heads/master@{#349370}

Powered by Google App Engine
This is Rietveld 408576698