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

Side by Side Diff: chrome/browser/dom_ui/sync_options_handler.cc

Issue 3012007: Revert 52787 - Make the personal stuff page viewable.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/dom_ui/sync_options_handler.h ('k') | chrome/browser/resources/options.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/sync_options_handler.h ('k') | chrome/browser/resources/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698