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

Side by Side Diff: components/autofill/browser/autofill_manager.h

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated regexp, sanitized result, escaped form domain and added comments. Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_AUTOFILL_MANAGER_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 const gfx::RectF& bounding_box, 245 const gfx::RectF& bounding_box,
246 bool display_warning); 246 bool display_warning);
247 void OnDidEndTextFieldEditing(); 247 void OnDidEndTextFieldEditing();
248 void OnHideAutofillUi(); 248 void OnHideAutofillUi();
249 void OnAddPasswordFormMapping( 249 void OnAddPasswordFormMapping(
250 const FormFieldData& form, 250 const FormFieldData& form,
251 const PasswordFormFillData& fill_data); 251 const PasswordFormFillData& fill_data);
252 void OnShowPasswordSuggestions( 252 void OnShowPasswordSuggestions(
253 const FormFieldData& field, 253 const FormFieldData& field,
254 const gfx::RectF& bounds, 254 const gfx::RectF& bounds,
255 const std::vector<base::string16>& suggestions); 255 const std::vector<base::string16>& suggestions,
256 const std::vector<base::string16>& origins);
Ilya Sherman 2013/06/06 09:25:35 origins or realms?
nyquist 2013/06/07 22:51:10 Done.
256 void OnSetDataList(const std::vector<base::string16>& values, 257 void OnSetDataList(const std::vector<base::string16>& values,
257 const std::vector<base::string16>& labels, 258 const std::vector<base::string16>& labels,
258 const std::vector<base::string16>& icons, 259 const std::vector<base::string16>& icons,
259 const std::vector<int>& unique_ids); 260 const std::vector<int>& unique_ids);
260 261
261 // Requests an interactive autocomplete UI be shown. 262 // Requests an interactive autocomplete UI be shown.
262 void OnRequestAutocomplete(const FormData& form, 263 void OnRequestAutocomplete(const FormData& form,
263 const GURL& frame_url); 264 const GURL& frame_url);
264 265
265 // Passes return data for an OnRequestAutocomplete call back to the page. 266 // Passes return data for an OnRequestAutocomplete call back to the page.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, 427 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest,
427 UserHappinessFormLoadAndSubmission); 428 UserHappinessFormLoadAndSubmission);
428 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); 429 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction);
429 430
430 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 431 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
431 }; 432 };
432 433
433 } // namespace autofill 434 } // namespace autofill
434 435
435 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_ 436 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698