Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android
commit5e669f04cbfb8655af0afe5854def2263018e1be
authorki.stfu <ki.stfu@gmail.com>
Thu, 17 Sep 2015 07:15:19 +0000 (17 00:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 17 Sep 2015 07:16:00 +0000 (17 07:16 +0000)
treef58efe7e90069353c59cbed973d1e78e20a3bcb5
parentb608a57227d0a27db10f9acef0467584c458848c
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

Review URL: https://codereview.chromium.org/1313383006

Cr-Commit-Position: refs/heads/master@{#349370}
chrome/browser/BUILD.gn
chrome/browser/about_flags.cc
chrome/browser/password_manager/chrome_password_manager_client.cc
chrome/browser/ui/views/infobars/save_password_infobar.cc
chrome/chrome_browser.gypi
chrome/chrome_browser_ui.gypi
chrome/chrome_tests_unit.gypi
chrome/common/chrome_switches.cc
chrome/common/chrome_switches.h
chrome/test/BUILD.gn