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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 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_PASSWORD_MANAGER_DRI VER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "components/autofill/content/common/autofill_agent.mojom.h" 13 #include "components/autofill/content/common/autofill_agent.mojom.h"
14 #include "components/autofill/content/common/autofill_driver.mojom.h" 14 #include "components/autofill/content/common/autofill_driver.mojom.h"
15 #include "components/autofill/core/common/password_form_field_prediction_map.h" 15 #include "components/autofill/core/common/password_form_field_prediction_map.h"
16 #include "components/autofill/core/common/password_form_generation_data.h" 16 #include "components/autofill/core/common/password_form_generation_data.h"
17 #include "components/password_manager/core/browser/password_autofill_manager.h" 17 #include "components/password_manager/core/browser/password_autofill_manager.h"
18 #include "components/password_manager/core/browser/password_generation_manager.h " 18 #include "components/password_manager/core/browser/password_generation_manager.h "
19 #include "components/password_manager/core/browser/password_manager.h" 19 #include "components/password_manager/core/browser/password_manager.h"
20 #include "components/password_manager/core/browser/password_manager_driver.h" 20 #include "components/password_manager/core/browser/password_manager_driver.h"
21 #include "mojo/public/cpp/bindings/binding.h" 21 #include "mojo/public/cpp/bindings/binding.h"
22 #include "mojo/public/cpp/bindings/binding_set.h" 22 #include "mojo/public/cpp/bindings/binding_set.h"
23 #include "third_party/WebKit/public/platform/modules/sensitive_input_visibility/ sensitive_input_visibility_service.mojom.h" 23 #include "third_party/WebKit/public/platform/modules/sensitive_input_visibility/ sensitive_input_visibility_service.mojom.h"
24 24
25 namespace autofill { 25 namespace autofill {
26 class AutofillManager;
27 struct PasswordForm; 26 struct PasswordForm;
28 } 27 }
29 28
30 namespace content { 29 namespace content {
31 struct FrameNavigateParams; 30 struct FrameNavigateParams;
32 struct LoadCommittedDetails; 31 struct LoadCommittedDetails;
33 class RenderFrameHost; 32 class RenderFrameHost;
34 class WebContents;
35 }
36
37 namespace IPC {
38 class Message;
39 } 33 }
40 34
41 namespace password_manager { 35 namespace password_manager {
42 enum class BadMessageReason; 36 enum class BadMessageReason;
43 37
44 // There is one ContentPasswordManagerDriver per RenderFrameHost. 38 // There is one ContentPasswordManagerDriver per RenderFrameHost.
45 // The lifetime is managed by the ContentPasswordManagerDriverFactory. 39 // The lifetime is managed by the ContentPasswordManagerDriverFactory.
46 class ContentPasswordManagerDriver 40 class ContentPasswordManagerDriver
47 : public PasswordManagerDriver, 41 : public PasswordManagerDriver,
48 public autofill::mojom::PasswordManagerDriver, 42 public autofill::mojom::PasswordManagerDriver,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 sensitive_input_visibility_bindings_; 150 sensitive_input_visibility_bindings_;
157 151
158 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_; 152 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_;
159 153
160 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); 154 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
161 }; 155 };
162 156
163 } // namespace password_manager 157 } // namespace password_manager
164 158
165 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_ 159 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698