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_RENDERER_CREDENTIAL_MANAGER_CLIENT_H
_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIENT_H
_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIENT_H
_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIENT_H
_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
11 #include "content/public/renderer/render_view_observer.h" | 11 #include "content/public/renderer/render_view_observer.h" |
12 #include "ipc/ipc_listener.h" | 12 #include "ipc/ipc_listener.h" |
13 #include "third_party/WebKit/public/platform/WebCredentialManagerClient.h" | 13 #include "third_party/WebKit/public/platform/WebCredentialManagerClient.h" |
14 #include "third_party/WebKit/public/platform/WebCredentialManagerError.h" | 14 #include "third_party/WebKit/public/platform/WebCredentialManagerError.h" |
15 #include "third_party/WebKit/public/platform/WebVector.h" | 15 #include "third_party/WebKit/public/platform/WebVector.h" |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 class WebCredential; | 18 class WebCredential; |
19 class WebURL; | 19 class WebURL; |
20 } | 20 } |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 class RenderThread; | |
24 class RenderView; | 23 class RenderView; |
25 } | 24 } |
26 | 25 |
27 namespace password_manager { | 26 namespace password_manager { |
28 | 27 |
29 struct CredentialInfo; | 28 struct CredentialInfo; |
30 | 29 |
31 // The CredentialManagerClient implements the Blink platform interface | 30 // The CredentialManagerClient implements the Blink platform interface |
32 // WebCredentialManagerClient, and acts as an intermediary between Blink-side | 31 // WebCredentialManagerClient, and acts as an intermediary between Blink-side |
33 // calls to 'navigator.credential.*' and the password manager internals which | 32 // calls to 'navigator.credential.*' and the password manager internals which |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 NotificationCallbacksMap signed_in_callbacks_; | 91 NotificationCallbacksMap signed_in_callbacks_; |
93 NotificationCallbacksMap signed_out_callbacks_; | 92 NotificationCallbacksMap signed_out_callbacks_; |
94 RequestCallbacksMap request_callbacks_; | 93 RequestCallbacksMap request_callbacks_; |
95 | 94 |
96 DISALLOW_COPY_AND_ASSIGN(CredentialManagerClient); | 95 DISALLOW_COPY_AND_ASSIGN(CredentialManagerClient); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace password_manager | 98 } // namespace password_manager |
100 | 99 |
101 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIEN
T_H_ | 100 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_RENDERER_CREDENTIAL_MANAGER_CLIEN
T_H_ |
OLD | NEW |