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

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

Issue 1393233002: Mac Energy Test Harness/Framework Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Snapshot of scripts for http://crbug.com/391646 Created 5 years, 2 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
« no previous file with comments | « chrome/browser/ui/energy_browsertest.cc ('k') | chrome/browser/ui/views/tabs/tab.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/translate/chrome_translate_client.h"
6 #include "chrome/browser/ui/views/infobars/confirm_infobar.h" 7 #include "chrome/browser/ui/views/infobars/confirm_infobar.h"
7 8
8 // TODO(tapted): Delete this file when Mac uses the password bubble by default. 9 // TODO(tapted): Delete this file when Mac uses the password bubble by default.
9 10
10 scoped_ptr<infobars::InfoBar> CreateSavePasswordInfoBar( 11 scoped_ptr<infobars::InfoBar> CreateSavePasswordInfoBar(
11 scoped_ptr<SavePasswordInfoBarDelegate> delegate) { 12 scoped_ptr<SavePasswordInfoBarDelegate> delegate) {
12 return make_scoped_ptr(new ConfirmInfoBar(delegate.Pass())); 13 return make_scoped_ptr(new ConfirmInfoBar(delegate.Pass()));
13 } 14 }
15
16 scoped_ptr<infobars::InfoBar> ChromeTranslateClient::CreateInfoBar(
17 scoped_ptr<translate::TranslateInfoBarDelegate> delegate) const {
18 NOTREACHED();
19 return nullptr;
20 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/energy_browsertest.cc ('k') | chrome/browser/ui/views/tabs/tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698