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

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

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // database through the PasswordStore. The PasswordManager is a LoginModel 42 // database through the PasswordStore. The PasswordManager is a LoginModel
43 // for purposes of supporting HTTP authentication dialogs. 43 // for purposes of supporting HTTP authentication dialogs.
44 class PasswordManager : public LoginModel { 44 class PasswordManager : public LoginModel {
45 public: 45 public:
46 static const char kOtherPossibleUsernamesExperiment[]; 46 static const char kOtherPossibleUsernamesExperiment[];
47 47
48 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 48 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
49 #if defined(OS_WIN) 49 #if defined(OS_WIN)
50 static void RegisterLocalPrefs(PrefRegistrySimple* registry); 50 static void RegisterLocalPrefs(PrefRegistrySimple* registry);
51 #endif 51 #endif
52 explicit PasswordManager(PasswordManagerClient* client); 52 PasswordManager(PasswordManagerClient* client, PasswordManagerDriver* driver);
vabr (Chromium) 2014/11/13 14:01:33 Oh, and actually, having one PasswordManager per f
53 ~PasswordManager() override; 53 ~PasswordManager() override;
54 54
55 typedef base::Callback<void(const autofill::PasswordForm&)> 55 typedef base::Callback<void(const autofill::PasswordForm&)>
56 PasswordSubmittedCallback; 56 PasswordSubmittedCallback;
57 57
58 // There is no corresponding remove function as currently all of the 58 // There is no corresponding remove function as currently all of the
59 // owners of these callbacks have sufficient lifetimes so that the callbacks 59 // owners of these callbacks have sufficient lifetimes so that the callbacks
60 // should always be valid when called. 60 // should always be valid when called.
61 void AddSubmissionCallback(const PasswordSubmittedCallback& callback); 61 void AddSubmissionCallback(const PasswordSubmittedCallback& callback);
62 62
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // the recorded forms matches the login form from the previous page 200 // the recorded forms matches the login form from the previous page
201 // (to see if the login was a failure), and clears the vector. 201 // (to see if the login was a failure), and clears the vector.
202 std::vector<autofill::PasswordForm> all_visible_forms_; 202 std::vector<autofill::PasswordForm> all_visible_forms_;
203 203
204 DISALLOW_COPY_AND_ASSIGN(PasswordManager); 204 DISALLOW_COPY_AND_ASSIGN(PasswordManager);
205 }; 205 };
206 206
207 } // namespace password_manager 207 } // namespace password_manager
208 208
209 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_ 209 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698