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

Side by Side Diff: components/password_manager/core/browser/password_manager_client.h

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor PasswordAutofillManager in password_manager component. Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 #include "components/autofill/core/common/password_form.h" 9 #include "components/autofill/core/common/password_form.h"
10 #include "components/autofill/core/common/password_form_fill_data.h" 10 #include "components/autofill/core/common/password_form_fill_data.h"
11 11
12 class PasswordFormManager; 12 class PasswordFormManager;
13 class PasswordManagerDriver; 13 class PasswordManagerDriver;
14 class PasswordStore; 14 class PasswordStore;
15 class PrefService; 15 class PrefService;
16 16
17 namespace gfx {
18 class RectF;
19 }
20
17 // An abstraction of operations that depend on the embedders (e.g. Chrome) 21 // An abstraction of operations that depend on the embedders (e.g. Chrome)
18 // environment. 22 // environment.
19 class PasswordManagerClient { 23 class PasswordManagerClient {
20 public: 24 public:
21 PasswordManagerClient() {} 25 PasswordManagerClient() {}
22 virtual ~PasswordManagerClient() {} 26 virtual ~PasswordManagerClient() {}
23 27
24 // Informs the embedder of a password form that can be saved if the user 28 // Informs the embedder of a password form that can be saved if the user
25 // allows it. The embedder is not required to prompt the user if it decides 29 // allows it. The embedder is not required to prompt the user if it decides
26 // that this form doesn't need to be saved. 30 // that this form doesn't need to be saved.
(...skipping 24 matching lines...) Expand all
51 55
52 // Returns true if password sync is enabled in the embedder. The default 56 // Returns true if password sync is enabled in the embedder. The default
53 // implementation returns false. 57 // implementation returns false.
54 virtual bool IsPasswordSyncEnabled(); 58 virtual bool IsPasswordSyncEnabled();
55 59
56 private: 60 private:
57 DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient); 61 DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient);
58 }; 62 };
59 63
60 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_ 64 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698