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

Side by Side Diff: components/password_manager/content/browser/credential_manager_dispatcher.h

Issue 1215653003: Remove the notifyFailedSignedIn callback from Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: components_browsertests Created 5 years, 5 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
« no previous file with comments | « no previous file | components/password_manager/content/browser/credential_manager_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D ISPATCHER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D ISPATCHER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D ISPATCHER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGER_D ISPATCHER_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 26 matching lines...) Expand all
37 : public content::WebContentsObserver, 37 : public content::WebContentsObserver,
38 public CredentialManagerPasswordFormManagerDelegate, 38 public CredentialManagerPasswordFormManagerDelegate,
39 public CredentialManagerPendingRequestTaskDelegate, 39 public CredentialManagerPendingRequestTaskDelegate,
40 public CredentialManagerPendingRequireUserMediationTaskDelegate { 40 public CredentialManagerPendingRequireUserMediationTaskDelegate {
41 public: 41 public:
42 CredentialManagerDispatcher(content::WebContents* web_contents, 42 CredentialManagerDispatcher(content::WebContents* web_contents,
43 PasswordManagerClient* client); 43 PasswordManagerClient* client);
44 ~CredentialManagerDispatcher() override; 44 ~CredentialManagerDispatcher() override;
45 45
46 // Called in response to an IPC from the renderer, triggered by a page's call 46 // Called in response to an IPC from the renderer, triggered by a page's call
47 // to 'navigator.credentials.notifyFailedSignIn'.
48 virtual void OnNotifyFailedSignIn(int request_id,
49 const password_manager::CredentialInfo&);
50
51 // Called in response to an IPC from the renderer, triggered by a page's call
52 // to 'navigator.credentials.notifySignedIn'. 47 // to 'navigator.credentials.notifySignedIn'.
53 virtual void OnNotifySignedIn(int request_id, 48 virtual void OnNotifySignedIn(int request_id,
54 const password_manager::CredentialInfo&); 49 const password_manager::CredentialInfo&);
55 50
56 // Called in response to an IPC from the renderer, triggered by a page's call 51 // Called in response to an IPC from the renderer, triggered by a page's call
57 // to 'navigator.credentials.requireUserMediation'. 52 // to 'navigator.credentials.requireUserMediation'.
58 virtual void OnRequireUserMediation(int request_id); 53 virtual void OnRequireUserMediation(int request_id);
59 54
60 // Called in response to an IPC from the renderer, triggered by a page's call 55 // Called in response to an IPC from the renderer, triggered by a page's call
61 // to 'navigator.credentials.request'. 56 // to 'navigator.credentials.request'.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 scoped_ptr<CredentialManagerPendingRequestTask> pending_request_; 98 scoped_ptr<CredentialManagerPendingRequestTask> pending_request_;
104 scoped_ptr<CredentialManagerPendingRequireUserMediationTask> 99 scoped_ptr<CredentialManagerPendingRequireUserMediationTask>
105 pending_require_user_mediation_; 100 pending_require_user_mediation_;
106 101
107 DISALLOW_COPY_AND_ASSIGN(CredentialManagerDispatcher); 102 DISALLOW_COPY_AND_ASSIGN(CredentialManagerDispatcher);
108 }; 103 };
109 104
110 } // namespace password_manager 105 } // namespace password_manager
111 106
112 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE R_DISPATCHER_H_ 107 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE R_DISPATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | components/password_manager/content/browser/credential_manager_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698