1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/password_manager/save_password_infobar_delegate.h"
6 #include "chrome/browser/ui/views/infobars/confirm_infobar.h"
8 // TODO(tapted): Delete this file when Mac uses the password bubble by default.
10 scoped_ptr
<infobars::InfoBar
> CreateSavePasswordInfoBar(
11 scoped_ptr
<SavePasswordInfoBarDelegate
> delegate
) {
12 return make_scoped_ptr(new ConfirmInfoBar(delegate
.Pass()));