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

Side by Side Diff: components/autofill/browser/autofill_external_delegate.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_EXTERNAL_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // to be displayed. Called when an Autofill query result is available. 75 // to be displayed. Called when an Autofill query result is available.
76 virtual void OnSuggestionsReturned( 76 virtual void OnSuggestionsReturned(
77 int query_id, 77 int query_id,
78 const std::vector<base::string16>& autofill_values, 78 const std::vector<base::string16>& autofill_values,
79 const std::vector<base::string16>& autofill_labels, 79 const std::vector<base::string16>& autofill_labels,
80 const std::vector<base::string16>& autofill_icons, 80 const std::vector<base::string16>& autofill_icons,
81 const std::vector<int>& autofill_unique_ids); 81 const std::vector<int>& autofill_unique_ids);
82 82
83 // Show password suggestions in the popup. 83 // Show password suggestions in the popup.
84 void OnShowPasswordSuggestions(const std::vector<base::string16>& suggestions, 84 void OnShowPasswordSuggestions(const std::vector<base::string16>& suggestions,
85 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.
85 const FormFieldData& field, 86 const FormFieldData& field,
86 const gfx::RectF& bounds); 87 const gfx::RectF& bounds);
87 88
88 // Set the data list value associated with the current field. 89 // Set the data list value associated with the current field.
89 void SetCurrentDataListValues( 90 void SetCurrentDataListValues(
90 const std::vector<base::string16>& autofill_values, 91 const std::vector<base::string16>& autofill_values,
91 const std::vector<base::string16>& autofill_labels, 92 const std::vector<base::string16>& autofill_labels,
92 const std::vector<base::string16>& autofill_icons, 93 const std::vector<base::string16>& autofill_icons,
93 const std::vector<int>& autofill_unique_ids); 94 const std::vector<int>& autofill_unique_ids);
94 95
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 std::vector<int> data_list_unique_ids_; 191 std::vector<int> data_list_unique_ids_;
191 192
192 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; 193 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_;
193 194
194 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); 195 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate);
195 }; 196 };
196 197
197 } // namespace autofill 198 } // namespace autofill
198 199
199 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ 200 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698