| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_PASSWORD_GENERATION_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "content/public/renderer/render_view_observer.h" | 13 #include "content/public/renderer/render_view_observer.h" |
| 14 #include "third_party/WebKit/public/web/WebInputElement.h" | 14 #include "third_party/WebKit/public/web/WebInputElement.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 class WebCString; | |
| 19 class WebDocument; | 18 class WebDocument; |
| 20 } | 19 } |
| 21 | 20 |
| 22 namespace autofill { | 21 namespace autofill { |
| 23 | 22 |
| 24 struct FormData; | 23 struct FormData; |
| 25 struct PasswordForm; | 24 struct PasswordForm; |
| 26 | 25 |
| 27 // This class is responsible for controlling communication for password | 26 // This class is responsible for controlling communication for password |
| 28 // generation between the browser (which shows the popup and generates | 27 // generation between the browser (which shows the popup and generates |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 108 |
| 110 // If this feature is enabled. Controlled by Finch. | 109 // If this feature is enabled. Controlled by Finch. |
| 111 bool enabled_; | 110 bool enabled_; |
| 112 | 111 |
| 113 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationAgent); | 112 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationAgent); |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 } // namespace autofill | 115 } // namespace autofill |
| 117 | 116 |
| 118 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_ | 117 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_ |
| OLD | NEW |