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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_view_utils.h

Issue 1747003003: [Smart Lock, UI] Use correct string for the auto sign-in first run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 9
10 namespace autofill { 10 namespace autofill {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void GetBrandedTextAndLinkRange( 85 void GetBrandedTextAndLinkRange(
86 bool is_smartlock_branding_enabled, 86 bool is_smartlock_branding_enabled,
87 int smartlock_string_id, 87 int smartlock_string_id,
88 int default_string_id, 88 int default_string_id,
89 base::string16* out_string, 89 base::string16* out_string,
90 gfx::Range* link_range); 90 gfx::Range* link_range);
91 91
92 // Returns an username in the form that should be shown in the bubble. 92 // Returns an username in the form that should be shown in the bubble.
93 base::string16 GetDisplayUsername(const autofill::PasswordForm& form); 93 base::string16 GetDisplayUsername(const autofill::PasswordForm& form);
94 94
95 // Check if |profile| syncing settings. The view appearance might depend on it. 95 // Check if |profile| syncing the Auto sign-in settings (by checking that user
96 bool IsSyncingSettings(Profile* profile); 96 // syncs the PRIORITY_PREFERENCE). The view appearance might depend on it.
97 bool IsSyncingAutosignSetting(Profile* profile);
97 98
98 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_ 99 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_VIEW_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698