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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc

Issue 2915053002: Replace profile statistics preference count with AutofillCounter (Closed)
Patch Set: change to SetBooleanWithoutPathExpansion Created 3 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 IDS_LOGIN_PUBLIC_ACCOUNT_MONITORING_INFO_ITEM_3); 527 IDS_LOGIN_PUBLIC_ACCOUNT_MONITORING_INFO_ITEM_3);
528 builder->Add("publicAccountMonitoringInfoItem4", 528 builder->Add("publicAccountMonitoringInfoItem4",
529 IDS_LOGIN_PUBLIC_ACCOUNT_MONITORING_INFO_ITEM_4); 529 IDS_LOGIN_PUBLIC_ACCOUNT_MONITORING_INFO_ITEM_4);
530 builder->Add("publicSessionSelectLanguage", IDS_LANGUAGE_SELECTION_SELECT); 530 builder->Add("publicSessionSelectLanguage", IDS_LANGUAGE_SELECTION_SELECT);
531 builder->Add("publicSessionSelectKeyboard", IDS_KEYBOARD_SELECTION_SELECT); 531 builder->Add("publicSessionSelectKeyboard", IDS_KEYBOARD_SELECTION_SELECT);
532 builder->Add("removeUserWarningTextNonSyncNoStats", base::string16()); 532 builder->Add("removeUserWarningTextNonSyncNoStats", base::string16());
533 builder->Add("removeUserWarningTextNonSyncCalculating", base::string16()); 533 builder->Add("removeUserWarningTextNonSyncCalculating", base::string16());
534 builder->Add("removeUserWarningTextHistory", base::string16()); 534 builder->Add("removeUserWarningTextHistory", base::string16());
535 builder->Add("removeUserWarningTextPasswords", base::string16()); 535 builder->Add("removeUserWarningTextPasswords", base::string16());
536 builder->Add("removeUserWarningTextBookmarks", base::string16()); 536 builder->Add("removeUserWarningTextBookmarks", base::string16());
537 builder->Add("removeUserWarningTextSettings", base::string16()); 537 builder->Add("removeUserWarningTextAutofill", base::string16());
538 builder->Add("removeUserWarningTextCalculating", base::string16()); 538 builder->Add("removeUserWarningTextCalculating", base::string16());
539 builder->Add("removeUserWarningTextSyncNoStats", base::string16()); 539 builder->Add("removeUserWarningTextSyncNoStats", base::string16());
540 builder->Add("removeUserWarningTextSyncCalculating", base::string16()); 540 builder->Add("removeUserWarningTextSyncCalculating", base::string16());
541 builder->AddF("removeLegacySupervisedUserWarningText", 541 builder->AddF("removeLegacySupervisedUserWarningText",
542 IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING, 542 IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING,
543 base::UTF8ToUTF16( 543 base::UTF8ToUTF16(
544 chrome::kLegacySupervisedUserManagementDisplayURL)); 544 chrome::kLegacySupervisedUserManagementDisplayURL));
545 builder->Add("removeNonOwnerUserWarningText", 545 builder->Add("removeNonOwnerUserWarningText",
546 IDS_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING); 546 IDS_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING);
547 builder->Add("removeUserWarningButtonTitle", 547 builder->Add("removeUserWarningButtonTitle",
(...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 rate.initial_delay_in_ms = auto_repeat_delay; 1707 rate.initial_delay_in_ms = auto_repeat_delay;
1708 rate.repeat_interval_in_ms = auto_repeat_interval; 1708 rate.repeat_interval_in_ms = auto_repeat_interval;
1709 input_method::InputMethodManager::Get() 1709 input_method::InputMethodManager::Get()
1710 ->GetImeKeyboard() 1710 ->GetImeKeyboard()
1711 ->SetAutoRepeatEnabled(true); 1711 ->SetAutoRepeatEnabled(true);
1712 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate( 1712 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate(
1713 rate); 1713 rate);
1714 } 1714 }
1715 1715
1716 } // namespace chromeos 1716 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_statistics_unittest.cc ('k') | chrome/browser/ui/webui/settings/profile_info_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698