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

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

Issue 872893004: Credential type enum from cpp to Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@yolo_account_chooser_infobar
Patch Set: Created 5 years, 10 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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_INFOBAR_DELEGATE_ANDROID _H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_INFOBAR_DELEGATE_ANDROID _H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_INFOBAR_DELEGATE_ANDROID _H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_INFOBAR_DELEGATE_ANDROID _H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h" 10 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h"
11 #include "components/infobars/core/infobar_delegate.h" 11 #include "components/infobars/core/infobar_delegate.h"
12 12
13 namespace content { 13 namespace content {
14 class WebContents; 14 class WebContents;
15 } 15 }
16 16
17 namespace password_manager { 17 namespace password_manager {
18 enum class CredentialType : unsigned int; 18 enum class CredentialType;
19 } 19 }
20 20
21 namespace autofill { 21 namespace autofill {
22 struct PasswordForm; 22 struct PasswordForm;
23 } 23 }
24 24
25 // Android-only infobar to notify that the generated password was saved. 25 // Android-only infobar to notify that the generated password was saved.
26 class AccountChooserInfoBarDelegateAndroid : public infobars::InfoBarDelegate { 26 class AccountChooserInfoBarDelegateAndroid : public infobars::InfoBarDelegate {
27 public: 27 public:
28 // Creates and shows the infobar. Implemented in the platform-specific file. 28 // Creates and shows the infobar. Implemented in the platform-specific file.
(...skipping 21 matching lines...) Expand all
50 // TODO(melandory): It looks like ManagePasswordUIController has logic which 50 // TODO(melandory): It looks like ManagePasswordUIController has logic which
51 // should be extracted from it (storing data, propagating user actions), as 51 // should be extracted from it (storing data, propagating user actions), as
52 // for example TranslateUIDelegate does it. 52 // for example TranslateUIDelegate does it.
53 // AccountChooserInfoBarDelegateAndroid doesn't own this pointer. 53 // AccountChooserInfoBarDelegateAndroid doesn't own this pointer.
54 ManagePasswordsUIController* ui_controller_; 54 ManagePasswordsUIController* ui_controller_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(AccountChooserInfoBarDelegateAndroid); 56 DISALLOW_COPY_AND_ASSIGN(AccountChooserInfoBarDelegateAndroid);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_INFOBAR_DELEGATE_ANDR OID_H_ 59 #endif // CHROME_BROWSER_PASSWORD_MANAGER_ACCOUNT_CHOOSER_INFOBAR_DELEGATE_ANDR OID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698