summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/sync_setup_handler.cc
diff options
context:
space:
mode:
authormunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 04:36:54 +0000
committermunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 04:36:54 +0000
commit8576d3230816c35b6e6b571a43b77d7270ff445e (patch)
treeeba7d1165302cd9691fd0de2d8a0339be42d7d41 /chrome/browser/ui/webui/sync_setup_handler.cc
parent5eddc3ed58ad893c3d1584c38dd27a48e197fb79 (diff)
downloadchromium_src-8576d3230816c35b6e6b571a43b77d7270ff445e.zip
chromium_src-8576d3230816c35b6e6b571a43b77d7270ff445e.tar.gz
chromium_src-8576d3230816c35b6e6b571a43b77d7270ff445e.tar.bz2
Remove app notifications checkbox and piggy back on Apps checkbox in sync UI.
Review URL: http://codereview.chromium.org/8387021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/sync_setup_handler.cc')
-rw-r--r--chrome/browser/ui/webui/sync_setup_handler.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index bd0dd7e..66b7de8 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -138,12 +138,6 @@ bool GetConfiguration(const std::string& json, SyncConfiguration* config) {
if (sync_apps)
config->data_types.insert(syncable::APPS);
- bool sync_app_notifications;
- if (!result->GetBoolean("syncAppNotifications", &sync_app_notifications))
- return false;
- if (sync_app_notifications)
- config->data_types.insert(syncable::APP_NOTIFICATIONS);
-
// Encryption settings.
if (!result->GetBoolean("encryptAllData", &config->encrypt_all))
return false;
@@ -285,7 +279,6 @@ void SyncSetupHandler::GetStaticLocalizedValues(
{ "apps", IDS_SYNC_DATATYPE_APPS },
{ "searchEngines", IDS_SYNC_DATATYPE_SEARCH_ENGINES },
{ "openTabs", IDS_SYNC_DATATYPE_TABS },
- { "appNotifications", IDS_SYNC_DATATYPE_APP_NOTIFICATIONS },
{ "syncZeroDataTypesError", IDS_SYNC_ZERO_DATA_TYPES_ERROR },
{ "serviceUnavailableError", IDS_SYNC_SETUP_ABORTED_BY_PENDING_CLEAR },
{ "encryptAllLabel", IDS_SYNC_ENCRYPT_ALL_LABEL },