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

Side by Side Diff: chrome/browser/ui/views/infobars/save_password_infobar.cc

Issue 1313383006: Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase against ToT Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/chrome_password_manager_client.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698