OLD | NEW |
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/macros.h" | 8 #include "base/macros.h" |
9 #include "components/password_manager/core/browser/credential_manager_dispatcher
.h" | 9 #include "components/password_manager/core/browser/credential_manager_dispatcher
.h" |
10 #include "content/public/browser/web_contents_observer.h" | 10 #include "content/public/browser/web_contents_observer.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 public: | 25 public: |
26 // |client| isn't yet used by this class, but is necessary for the next step: | 26 // |client| isn't yet used by this class, but is necessary for the next step: |
27 // wiring this up as a subclass of PasswordStoreConsumer. | 27 // wiring this up as a subclass of PasswordStoreConsumer. |
28 ContentCredentialManagerDispatcher(content::WebContents* web_contents, | 28 ContentCredentialManagerDispatcher(content::WebContents* web_contents, |
29 PasswordManagerClient* client); | 29 PasswordManagerClient* client); |
30 virtual ~ContentCredentialManagerDispatcher(); | 30 virtual ~ContentCredentialManagerDispatcher(); |
31 | 31 |
32 // CredentialManagerDispatcher implementation. | 32 // CredentialManagerDispatcher implementation. |
33 virtual void OnNotifyFailedSignIn( | 33 virtual void OnNotifyFailedSignIn( |
34 int request_id, | 34 int request_id, |
35 const password_manager::CredentialInfo&) OVERRIDE; | 35 const password_manager::CredentialInfo&) override; |
36 virtual void OnNotifySignedIn( | 36 virtual void OnNotifySignedIn( |
37 int request_id, | 37 int request_id, |
38 const password_manager::CredentialInfo&) OVERRIDE; | 38 const password_manager::CredentialInfo&) override; |
39 virtual void OnNotifySignedOut(int request_id) OVERRIDE; | 39 virtual void OnNotifySignedOut(int request_id) override; |
40 virtual void OnRequestCredential( | 40 virtual void OnRequestCredential( |
41 int request_id, | 41 int request_id, |
42 bool zero_click_only, | 42 bool zero_click_only, |
43 const std::vector<GURL>& federations) OVERRIDE; | 43 const std::vector<GURL>& federations) override; |
44 | 44 |
45 // content::WebContentsObserver overrides. | 45 // content::WebContentsObserver overrides. |
46 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 46 virtual bool OnMessageReceived(const IPC::Message& message) override; |
47 | 47 |
48 private: | 48 private: |
49 PasswordManagerClient* client_; | 49 PasswordManagerClient* client_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(ContentCredentialManagerDispatcher); | 51 DISALLOW_COPY_AND_ASSIGN(ContentCredentialManagerDispatcher); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace password_manager | 54 } // namespace password_manager |
55 | 55 |
56 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE
R_DISPATCHER_H_ | 56 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_CREDENTIAL_MANAGE
R_DISPATCHER_H_ |
OLD | NEW |