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

Side by Side Diff: chrome/browser/password_manager/account_chooser_infobar_delegate_android.cc

Issue 1031253003: Move credential_manager_types.h to components/password_manager/core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('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/account_chooser_infobar_delegate_andro id.h" 5 #include "chrome/browser/password_manager/account_chooser_infobar_delegate_andro id.h"
6 6
7 #include "chrome/browser/infobars/infobar_service.h" 7 #include "chrome/browser/infobars/infobar_service.h"
8 #include "chrome/browser/ui/android/infobars/account_chooser_infobar.h" 8 #include "chrome/browser/ui/android/infobars/account_chooser_infobar.h"
9 #include "components/autofill/core/common/password_form.h" 9 #include "components/autofill/core/common/password_form.h"
10 #include "components/password_manager/content/common/credential_manager_types.h" 10 #include "components/password_manager/core/common/credential_manager_types.h"
11 11
12 // static 12 // static
13 void AccountChooserInfoBarDelegateAndroid::Create( 13 void AccountChooserInfoBarDelegateAndroid::Create(
14 InfoBarService* infobar_service, 14 InfoBarService* infobar_service,
15 ManagePasswordsUIController* ui_controller) { 15 ManagePasswordsUIController* ui_controller) {
16 infobar_service->AddInfoBar( 16 infobar_service->AddInfoBar(
17 make_scoped_ptr(new AccountChooserInfoBar(make_scoped_ptr( 17 make_scoped_ptr(new AccountChooserInfoBar(make_scoped_ptr(
18 new AccountChooserInfoBarDelegateAndroid(ui_controller))))); 18 new AccountChooserInfoBarDelegateAndroid(ui_controller)))));
19 } 19 }
20 20
(...skipping 26 matching lines...) Expand all
47 } 47 }
48 48
49 void AccountChooserInfoBarDelegateAndroid::InfoBarDismissed() { 49 void AccountChooserInfoBarDelegateAndroid::InfoBarDismissed() {
50 ChooseCredential(-1, password_manager::CredentialType::CREDENTIAL_TYPE_EMPTY); 50 ChooseCredential(-1, password_manager::CredentialType::CREDENTIAL_TYPE_EMPTY);
51 } 51 }
52 52
53 infobars::InfoBarDelegate::Type 53 infobars::InfoBarDelegate::Type
54 AccountChooserInfoBarDelegateAndroid::GetInfoBarType() const { 54 AccountChooserInfoBarDelegateAndroid::GetInfoBarType() const {
55 return PAGE_ACTION_TYPE; 55 return PAGE_ACTION_TYPE;
56 } 56 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698