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

Side by Side Diff: components/autofill/content/renderer/password_generation_agent.h

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void set_enabled(bool enabled) { enabled_ = enabled; } 63 void set_enabled(bool enabled) { enabled_ = enabled; }
64 64
65 private: 65 private:
66 struct AccountCreationFormData { 66 struct AccountCreationFormData {
67 linked_ptr<PasswordForm> form; 67 linked_ptr<PasswordForm> form;
68 std::vector<blink::WebInputElement> password_elements; 68 std::vector<blink::WebInputElement> password_elements;
69 69
70 AccountCreationFormData( 70 AccountCreationFormData(
71 linked_ptr<PasswordForm> form, 71 linked_ptr<PasswordForm> form,
72 std::vector<blink::WebInputElement> password_elements); 72 std::vector<blink::WebInputElement> password_elements);
73 AccountCreationFormData(const AccountCreationFormData& other);
73 ~AccountCreationFormData(); 74 ~AccountCreationFormData();
74 }; 75 };
75 76
76 typedef std::vector<AccountCreationFormData> AccountCreationFormDataList; 77 typedef std::vector<AccountCreationFormData> AccountCreationFormDataList;
77 78
78 // RenderFrameObserver: 79 // RenderFrameObserver:
79 void DidFinishDocumentLoad() override; 80 void DidFinishDocumentLoad() override;
80 81
81 // Message handlers. 82 // Message handlers.
82 void OnFormNotBlacklisted(const PasswordForm& form); 83 void OnFormNotBlacklisted(const PasswordForm& form);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // Unowned pointer. Used to notify PassowrdAutofillAgent when values 153 // Unowned pointer. Used to notify PassowrdAutofillAgent when values
153 // in password fields are updated. 154 // in password fields are updated.
154 PasswordAutofillAgent* password_agent_; 155 PasswordAutofillAgent* password_agent_;
155 156
156 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationAgent); 157 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationAgent);
157 }; 158 };
158 159
159 } // namespace autofill 160 } // namespace autofill
160 161
161 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_ 162 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/content/renderer/password_generation_agent.cc » ('j') | components/url_matcher/url_matcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698