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

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

Issue 723033002: Eliminate unnecessary forward declarations from components/password_manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_CREDENTIAL_MANAGER_PASSWORD_ FORM_MANAGER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWORD_ FORM_MANAGER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWORD_ FORM_MANAGER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWORD_ FORM_MANAGER_H_
7 7
8 #include "components/password_manager/core/browser/password_form_manager.h" 8 #include "components/password_manager/core/browser/password_form_manager.h"
9 9
10 namespace autofill { 10 namespace autofill {
11 struct PasswordForm; 11 struct PasswordForm;
12 } 12 }
13 13
14 namespace content {
15 class WebContents;
16 } // namespace content
17
18 namespace password_manager { 14 namespace password_manager {
19 15
20 class ContentCredentialManagerDispatcher; 16 class ContentCredentialManagerDispatcher;
21 class PasswordManager;
22 class PasswordManagerClient; 17 class PasswordManagerClient;
23 18
24 // A PasswordFormManager built to handle PassworForm objects synthesized 19 // A PasswordFormManager built to handle PassworForm objects synthesized
25 // by the Credential Manager API. 20 // by the Credential Manager API.
26 class CredentialManagerPasswordFormManager : public PasswordFormManager { 21 class CredentialManagerPasswordFormManager : public PasswordFormManager {
27 public: 22 public:
28 // Given a |client| and an |observed_form|, kick off the process of fetching 23 // Given a |client| and an |observed_form|, kick off the process of fetching
29 // matching logins from the password store; if |observed_form| doesn't map to 24 // matching logins from the password store; if |observed_form| doesn't map to
30 // a blacklisted origin, provisionally save it. Once saved, let the dispatcher 25 // a blacklisted origin, provisionally save it. Once saved, let the dispatcher
31 // know that it's safe to poke at the UI. 26 // know that it's safe to poke at the UI.
(...skipping 10 matching lines...) Expand all
42 37
43 private: 38 private:
44 ContentCredentialManagerDispatcher* dispatcher_; 39 ContentCredentialManagerDispatcher* dispatcher_;
45 40
46 DISALLOW_COPY_AND_ASSIGN(CredentialManagerPasswordFormManager); 41 DISALLOW_COPY_AND_ASSIGN(CredentialManagerPasswordFormManager);
47 }; 42 };
48 43
49 } // namespace password_manager 44 } // namespace password_manager
50 45
51 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWO RD_FORM_MANAGER_H_ 46 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CREDENTIAL_MANAGER_PASSWO RD_FORM_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/login/login_prompt.h ('k') | components/password_manager/content/renderer/credential_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698