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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_view_utils_desktop.cc

Issue 2289543004: Remove more unused grit includes in chrome/ (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/browser/ui/hung_plugin_tab_helper.cc ('k') | chrome/browser/ui/profile_error_dialog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/passwords/manage_passwords_view_utils_desktop.h" 5 #include "chrome/browser/ui/passwords/manage_passwords_view_utils_desktop.h"
6 6
7 #include "chrome/grit/chromium_strings.h"
8 #include "chrome/grit/generated_resources.h" 7 #include "chrome/grit/generated_resources.h"
9 #include "components/password_manager/core/browser/password_bubble_experiment.h" 8 #include "components/password_manager/core/browser/password_bubble_experiment.h"
10 #include "components/password_manager/core/browser/password_manager_settings_mig ration_experiment.h" 9 #include "components/password_manager/core/browser/password_manager_settings_mig ration_experiment.h"
11 10
12 int GetPasswordManagerSettingsStringId( 11 int GetPasswordManagerSettingsStringId(
13 const sync_driver::SyncService* sync_service) { 12 const sync_driver::SyncService* sync_service) {
14 int smart_lock_users_ids = IDS_OPTIONS_PASSWORD_MANAGER_SMART_LOCK_ENABLE; 13 int smart_lock_users_ids = IDS_OPTIONS_PASSWORD_MANAGER_SMART_LOCK_ENABLE;
15 int non_smart_lock_users_ids = IDS_OPTIONS_PASSWORD_MANAGER_ENABLE; 14 int non_smart_lock_users_ids = IDS_OPTIONS_PASSWORD_MANAGER_ENABLE;
16 15
17 if (password_bubble_experiment::IsSmartLockBrandingEnabled(sync_service)) 16 if (password_bubble_experiment::IsSmartLockBrandingEnabled(sync_service))
18 return smart_lock_users_ids; 17 return smart_lock_users_ids;
19 if (password_bubble_experiment::IsSmartLockUser(sync_service) && 18 if (password_bubble_experiment::IsSmartLockUser(sync_service) &&
20 password_manager::IsSettingsMigrationActive()) { 19 password_manager::IsSettingsMigrationActive()) {
21 return smart_lock_users_ids; 20 return smart_lock_users_ids;
22 } 21 }
23 return non_smart_lock_users_ids; 22 return non_smart_lock_users_ids;
24 } 23 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/hung_plugin_tab_helper.cc ('k') | chrome/browser/ui/profile_error_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698