OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/dom_ui/sync_options_handler.h" | |
6 | |
7 #include "app/l10n_util.h" | |
8 #include "app/resource_bundle.h" | |
9 #include "base/basictypes.h" | |
10 #include "base/callback.h" | |
11 #include "base/i18n/time_formatting.h" | |
12 #include "base/stl_util-inl.h" | |
13 #include "base/time.h" | |
14 #include "base/utf_string_conversions.h" | |
15 #include "base/values.h" | |
16 #include "chrome/common/notification_service.h" | |
17 #include "grit/browser_resources.h" | |
18 #include "grit/chromium_strings.h" | |
19 #include "grit/generated_resources.h" | |
20 #include "grit/locale_settings.h" | |
21 #include "grit/theme_resources.h" | |
22 | |
23 SyncOptionsHandler::SyncOptionsHandler() {} | |
24 | |
25 SyncOptionsHandler::~SyncOptionsHandler() {} | |
26 | |
27 void SyncOptionsHandler::GetLocalizedValues( | |
28 DictionaryValue* localized_strings) { | |
29 DCHECK(localized_strings); | |
30 // Sync page - ChromeOS | |
31 localized_strings->SetString(L"syncPage", | |
32 l10n_util::GetString(IDS_SYNC_NTP_SYNC_SECTION_TITLE)); | |
33 localized_strings->SetString(L"sync_title", | |
34 l10n_util::GetString(IDS_CUSTOMIZE_SYNC_DESCRIPTION)); | |
35 localized_strings->SetString(L"syncsettings", | |
36 l10n_util::GetString(IDS_SYNC_DATATYPE_PREFERENCES)); | |
37 localized_strings->SetString(L"syncbookmarks", | |
38 l10n_util::GetString(IDS_SYNC_DATATYPE_BOOKMARKS)); | |
39 localized_strings->SetString(L"synctypedurls", | |
40 l10n_util::GetString(IDS_SYNC_DATATYPE_TYPED_URLS)); | |
41 localized_strings->SetString(L"syncpasswords", | |
42 l10n_util::GetString(IDS_SYNC_DATATYPE_PASSWORDS)); | |
43 localized_strings->SetString(L"syncextensions", | |
44 l10n_util::GetString(IDS_SYNC_DATATYPE_EXTENSIONS)); | |
45 localized_strings->SetString(L"syncautofill", | |
46 l10n_util::GetString(IDS_SYNC_DATATYPE_AUTOFILL)); | |
47 localized_strings->SetString(L"syncthemes", | |
48 l10n_util::GetString(IDS_SYNC_DATATYPE_THEMES)); | |
49 } | |
OLD | NEW |