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

Side by Side Diff: components/autofill/core/common/password_form.h

Issue 1220713005: Rename avatar_url to icon_url in PasswordForm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename2
Patch Set: Rebased. Created 5 years, 5 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_CORE_COMMON_PASSWORD_FORM_H__ 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // What information has been sent to the Autofill server about this form. 239 // What information has been sent to the Autofill server about this form.
240 GenerationUploadStatus generation_upload_status; 240 GenerationUploadStatus generation_upload_status;
241 241
242 // These following fields are set by a website using the Credential Manager 242 // These following fields are set by a website using the Credential Manager
243 // API. They will be empty and remain unused for sites which do not use that 243 // API. They will be empty and remain unused for sites which do not use that
244 // API. 244 // API.
245 // 245 //
246 // User friendly name to show in the UI. 246 // User friendly name to show in the UI.
247 base::string16 display_name; 247 base::string16 display_name;
248 248
249 // The URL of the user's avatar to display in the UI. Note that the 249 // The URL of this credential's icon, such as the user's avatar, to display
250 // corresponding property in the Credential Manager is called icon URL. 250 // in the UI.
251 // TODO(msramek): Rename |avatar_url| to |icon_url| to match the naming 251 // TODO(msramek): This field was previously named |avatar_url|. It is still
252 // in Credential Manager. 252 // named this way in the password store backends (e.g. the avatar_url column
253 GURL avatar_url; 253 // in the SQL DB of LoginDatabase) and for the purposes of syncing
254 // (i.e in PasswordSpecificsData). Rename these occurrences.
255 GURL icon_url;
254 256
255 // The URL of identity provider used for federated login. 257 // The URL of identity provider used for federated login.
256 GURL federation_url; 258 GURL federation_url;
257 259
258 // If true, Chrome will not return this credential to a site in response to 260 // If true, Chrome will not return this credential to a site in response to
259 // 'navigator.credentials.request()' without user interaction. 261 // 'navigator.credentials.request()' without user interaction.
260 // Once user selects this credential the flag is reseted. 262 // Once user selects this credential the flag is reseted.
261 bool skip_zero_click; 263 bool skip_zero_click;
262 264
263 // The layout as determined during parsing. Default value is LAYOUT_OTHER. 265 // The layout as determined during parsing. Default value is LAYOUT_OTHER.
(...skipping 28 matching lines...) Expand all
292 typedef std::map<base::string16, const PasswordForm*> ConstPasswordFormMap; 294 typedef std::map<base::string16, const PasswordForm*> ConstPasswordFormMap;
293 295
294 // For testing. 296 // For testing.
295 std::ostream& operator<<(std::ostream& os, PasswordForm::Layout layout); 297 std::ostream& operator<<(std::ostream& os, PasswordForm::Layout layout);
296 std::ostream& operator<<(std::ostream& os, const autofill::PasswordForm& form); 298 std::ostream& operator<<(std::ostream& os, const autofill::PasswordForm& form);
297 std::ostream& operator<<(std::ostream& os, autofill::PasswordForm* form); 299 std::ostream& operator<<(std::ostream& os, autofill::PasswordForm* form);
298 300
299 } // namespace autofill 301 } // namespace autofill
300 302
301 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ 303 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698