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

Side by Side Diff: components/autofill/content/browser/content_autofill_driver_factory.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_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/supports_user_data.h" 12 #include "base/supports_user_data.h"
13 #include "components/autofill/content/common/autofill_driver.mojom.h" 13 #include "components/autofill/content/common/autofill_driver.mojom.h"
14 #include "components/autofill/core/browser/autofill_manager.h" 14 #include "components/autofill/core/browser/autofill_manager.h"
15 #include "content/public/browser/web_contents_observer.h" 15 #include "content/public/browser/web_contents_observer.h"
16 16
17 namespace content { 17 namespace content {
18 class RenderFrameHost; 18 class RenderFrameHost;
19 } 19 }
20 20
21 namespace autofill { 21 namespace autofill {
22 22
23 class AutofillDriver;
24 class ContentAutofillDriver; 23 class ContentAutofillDriver;
25 24
26 // Manages lifetime of ContentAutofillDriver. One Factory per WebContents 25 // Manages lifetime of ContentAutofillDriver. One Factory per WebContents
27 // creates one Driver per RenderFrame. 26 // creates one Driver per RenderFrame.
28 class ContentAutofillDriverFactory : public content::WebContentsObserver, 27 class ContentAutofillDriverFactory : public content::WebContentsObserver,
29 public base::SupportsUserData::Data { 28 public base::SupportsUserData::Data {
30 public: 29 public:
31 ~ContentAutofillDriverFactory() override; 30 ~ContentAutofillDriverFactory() override;
32 31
33 static void CreateForWebContentsAndDelegate( 32 static void CreateForWebContentsAndDelegate(
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::string app_locale_; 69 std::string app_locale_;
71 AutofillManager::AutofillDownloadManagerState enable_download_manager_; 70 AutofillManager::AutofillDownloadManagerState enable_download_manager_;
72 71
73 std::map<content::RenderFrameHost*, std::unique_ptr<ContentAutofillDriver>> 72 std::map<content::RenderFrameHost*, std::unique_ptr<ContentAutofillDriver>>
74 frame_driver_map_; 73 frame_driver_map_;
75 }; 74 };
76 75
77 } // namespace autofill 76 } // namespace autofill
78 77
79 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H _ 78 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H _
OLDNEW
« no previous file with comments | « components/autofill/content/browser/content_autofill_driver.h ('k') | components/autofill/content/browser/risk/fingerprint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698