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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_state.h

Issue 1151373006: Update Confirmation UI for saved password change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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_UI_PASSWORDS_MANAGE_PASSWORDS_STATE_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_STATE_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_STATE_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_STATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 25 matching lines...) Expand all
36 client_ = client; 36 client_ = client;
37 } 37 }
38 38
39 // The methods below discard the current state/data of the object and move it 39 // The methods below discard the current state/data of the object and move it
40 // to the specified state. 40 // to the specified state.
41 41
42 // Move to PENDING_PASSWORD_STATE. 42 // Move to PENDING_PASSWORD_STATE.
43 void OnPendingPassword( 43 void OnPendingPassword(
44 scoped_ptr<password_manager::PasswordFormManager> form_manager); 44 scoped_ptr<password_manager::PasswordFormManager> form_manager);
45 45
46 // Move to PENDING_PASSWORD_UPDATE_STATE.
47 void OnUpdatePassword(
48 scoped_ptr<password_manager::PasswordFormManager> form_manager);
49
46 // Move to CREDENTIAL_REQUEST_STATE. 50 // Move to CREDENTIAL_REQUEST_STATE.
47 void OnRequestCredentials( 51 void OnRequestCredentials(
48 ScopedVector<autofill::PasswordForm> local_credentials, 52 ScopedVector<autofill::PasswordForm> local_credentials,
49 ScopedVector<autofill::PasswordForm> federated_credentials, 53 ScopedVector<autofill::PasswordForm> federated_credentials,
50 const GURL& origin); 54 const GURL& origin);
51 55
52 // Move to AUTO_SIGNIN_STATE. |local_forms| can't be empty. 56 // Move to AUTO_SIGNIN_STATE. |local_forms| can't be empty.
53 void OnAutoSignin(ScopedVector<autofill::PasswordForm> local_forms); 57 void OnAutoSignin(ScopedVector<autofill::PasswordForm> local_forms);
54 58
55 // Move to CONFIRMATION_STATE. 59 // Move to CONFIRMATION_STATE.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // The current state of the password manager UI. 138 // The current state of the password manager UI.
135 password_manager::ui::State state_; 139 password_manager::ui::State state_;
136 140
137 // The client used for logging. 141 // The client used for logging.
138 password_manager::PasswordManagerClient* client_; 142 password_manager::PasswordManagerClient* client_;
139 143
140 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsState); 144 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsState);
141 }; 145 };
142 146
143 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_STATE_H_ 147 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_STATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698