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

Side by Side Diff: ios/chrome/browser/passwords/credential_manager.h

Issue 1662843002: Revert of Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ 5 #ifndef IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_
6 #define IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ 6 #define IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #import "base/mac/scoped_nsobject.h" 11 #import "base/mac/scoped_nsobject.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/prefs/pref_member.h"
15 #include "components/password_manager/core/browser/credential_manager_password_f orm_manager.h" 16 #include "components/password_manager/core/browser/credential_manager_password_f orm_manager.h"
16 #include "components/password_manager/core/browser/credential_manager_pending_re quest_task.h" 17 #include "components/password_manager/core/browser/credential_manager_pending_re quest_task.h"
17 #include "components/password_manager/core/browser/credential_manager_pending_re quire_user_mediation_task.h" 18 #include "components/password_manager/core/browser/credential_manager_pending_re quire_user_mediation_task.h"
18 #include "components/password_manager/core/browser/password_manager_client.h" 19 #include "components/password_manager/core/browser/password_manager_client.h"
19 #include "components/password_manager/core/browser/password_store.h" 20 #include "components/password_manager/core/browser/password_store.h"
20 #include "components/prefs/pref_member.h"
21 #include "ios/web/public/web_state/web_state_observer.h" 21 #include "ios/web/public/web_state/web_state_observer.h"
22 22
23 @class JSCredentialManager; 23 @class JSCredentialManager;
24 24
25 // Implements the app-side of the CredentialManagement JavaScript API. 25 // Implements the app-side of the CredentialManagement JavaScript API.
26 // Injects and listens to the injected JavaScript, owns and drives the user 26 // Injects and listens to the injected JavaScript, owns and drives the user
27 // interface, and integrates with the password manager. This is the iOS 27 // interface, and integrates with the password manager. This is the iOS
28 // equivalent of the upstream class CredentialManagerDispatcher. Note: Only 28 // equivalent of the upstream class CredentialManagerDispatcher. Note: Only
29 // activates on iOS 8 and later. 29 // activates on iOS 8 and later.
30 class CredentialManager 30 class CredentialManager
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // Whether zero-click sign-in is enabled. 122 // Whether zero-click sign-in is enabled.
123 BooleanPrefMember zero_click_sign_in_enabled_; 123 BooleanPrefMember zero_click_sign_in_enabled_;
124 124
125 // Weak pointer factory for asynchronously resolving requests. 125 // Weak pointer factory for asynchronously resolving requests.
126 base::WeakPtrFactory<CredentialManager> weak_factory_; 126 base::WeakPtrFactory<CredentialManager> weak_factory_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(CredentialManager); 128 DISALLOW_COPY_AND_ASSIGN(CredentialManager);
129 }; 129 };
130 130
131 #endif // IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_ 131 #endif // IOS_CHROME_BROWSER_PASSWORDS_CREDENTIAL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698