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

Side by Side Diff: chrome/browser/chromeos/dom_ui/accounts_options_handler.cc

Issue 3071013: Revert "Revert 53989 - Implement new mock for user options page per chromium-os:5028" (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/chromeos/dom_ui/accounts_options_handler.h" 5 #include "chrome/browser/chromeos/dom_ui/accounts_options_handler.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 10 matching lines...) Expand all
21 void AccountsOptionsHandler::GetLocalizedValues( 21 void AccountsOptionsHandler::GetLocalizedValues(
22 DictionaryValue* localized_strings) { 22 DictionaryValue* localized_strings) {
23 DCHECK(localized_strings); 23 DCHECK(localized_strings);
24 localized_strings->SetString(L"accountsPage", l10n_util::GetString( 24 localized_strings->SetString(L"accountsPage", l10n_util::GetString(
25 IDS_OPTIONS_ACCOUNTS_TAB_LABEL)); 25 IDS_OPTIONS_ACCOUNTS_TAB_LABEL));
26 26
27 localized_strings->SetString(L"allow_BWSI", l10n_util::GetString( 27 localized_strings->SetString(L"allow_BWSI", l10n_util::GetString(
28 IDS_OPTIONS_ACCOUNTS_ALLOW_BWSI_DESCRIPTION)); 28 IDS_OPTIONS_ACCOUNTS_ALLOW_BWSI_DESCRIPTION));
29 localized_strings->SetString(L"allow_guest",l10n_util::GetString( 29 localized_strings->SetString(L"allow_guest",l10n_util::GetString(
30 IDS_OPTIONS_ACCOUNTS_ALLOW_GUEST_DESCRIPTION)); 30 IDS_OPTIONS_ACCOUNTS_ALLOW_GUEST_DESCRIPTION));
31 localized_strings->SetString(L"user_list_title",l10n_util::GetString( 31 localized_strings->SetString(L"show_user_on_signin",l10n_util::GetString(
32 IDS_OPTIONS_ACCOUNTS_USER_LIST_TITLE)); 32 IDS_OPTIONS_ACCOUNTS_SHOW_USER_NAMES_ON_SINGIN_DESCRIPTION));
33 localized_strings->SetString(L"add_user",l10n_util::GetString( 33 localized_strings->SetString(L"username_edit_hint",l10n_util::GetString(
34 IDS_OPTIONS_ACCOUNTS_ADD_USER)); 34 IDS_OPTIONS_ACCOUNTS_USERNAME_EDIT_HINT));
35 localized_strings->SetString(L"remove_user",l10n_util::GetString( 35 localized_strings->SetString(L"username_format",l10n_util::GetString(
36 IDS_OPTIONS_ACCOUNTS_REMOVE_USER)); 36 IDS_OPTIONS_ACCOUNTS_USERNAME_FORMAT));
37 localized_strings->SetString(L"add_user_email",l10n_util::GetString( 37 localized_strings->SetString(L"add_users",l10n_util::GetString(
38 IDS_OPTIONS_ACCOUNTS_EMAIL_LABEL)); 38 IDS_OPTIONS_ACCOUNTS_ADD_USERS));
39
40 localized_strings->SetString(L"ok_label",l10n_util::GetString(
41 IDS_OK));
42 localized_strings->SetString(L"cancel_label",l10n_util::GetString(
43 IDS_CANCEL));
44 } 39 }
45 40
46 } // namespace chromeos 41 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros_settings_names.cc ('k') | chrome/browser/chromeos/mock_cros_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698