| 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_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 <string> | 10 #include <string> |
| 10 | 11 |
| 11 #include "base/memory/scoped_ptr.h" | |
| 12 #include "base/supports_user_data.h" | 12 #include "base/supports_user_data.h" |
| 13 #include "components/autofill/content/browser/request_autocomplete_manager.h" | 13 #include "components/autofill/content/browser/request_autocomplete_manager.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 IPC { | 21 namespace IPC { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 AutofillClient* client, | 66 AutofillClient* client, |
| 67 const std::string& app_locale, | 67 const std::string& app_locale, |
| 68 AutofillManager::AutofillDownloadManagerState enable_download_manager); | 68 AutofillManager::AutofillDownloadManagerState enable_download_manager); |
| 69 ~ContentAutofillDriverFactory() override; | 69 ~ContentAutofillDriverFactory() override; |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 AutofillClient* client_; | 72 AutofillClient* client_; |
| 73 std::string app_locale_; | 73 std::string app_locale_; |
| 74 AutofillManager::AutofillDownloadManagerState enable_download_manager_; | 74 AutofillManager::AutofillDownloadManagerState enable_download_manager_; |
| 75 | 75 |
| 76 std::map<content::RenderFrameHost*, scoped_ptr<ContentAutofillDriver>> | 76 std::map<content::RenderFrameHost*, std::unique_ptr<ContentAutofillDriver>> |
| 77 frame_driver_map_; | 77 frame_driver_map_; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace autofill | 80 } // namespace autofill |
| 81 | 81 |
| 82 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H
_ | 82 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_FACTORY_H
_ |
| OLD | NEW |