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