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

Side by Side Diff: chrome/browser/android/password_authentication_manager.h

Issue 641753002: Remove Password Authentication code that is no longer used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_ANDROID_PASSWORD_AUTHENTICATION_MANAGER_H_
6 #define CHROME_BROWSER_ANDROID_PASSWORD_AUTHENTICATION_MANAGER_H_
7
8 #include "base/android/jni_android.h"
9 #include "base/callback.h"
10 #include "components/autofill/core/common/password_form_fill_data.h"
11
12 namespace content {
13 class WebContents;
14 }
15
16 // Manager for authenticating the use of stored passwords.
17 class PasswordAuthenticationManager {
18 public:
19 // JNI registration
20 static bool RegisterPasswordAuthenticationManager(JNIEnv* env);
21
22 // Request an authentication challenge for the specified webcontents to allow
23 // password autofill. If the authentication is successful, run the
24 // |success_callback|.
25 static void AuthenticatePasswordAutofill(
26 content::WebContents* web_contents,
27 const base::Closure& success_callback);
28
29 private:
30 PasswordAuthenticationManager();
31 ~PasswordAuthenticationManager();
32
33 DISALLOW_COPY_AND_ASSIGN(PasswordAuthenticationManager);
34 };
35
36 #endif // CHROME_BROWSER_ANDROID_PASSWORD_AUTHENTICATION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698