diff options
author | munjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 04:36:54 +0000 |
---|---|---|
committer | munjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-26 04:36:54 +0000 |
commit | 8576d3230816c35b6e6b571a43b77d7270ff445e (patch) | |
tree | eba7d1165302cd9691fd0de2d8a0339be42d7d41 /chrome/browser/ui/webui/sync_setup_handler.cc | |
parent | 5eddc3ed58ad893c3d1584c38dd27a48e197fb79 (diff) | |
download | chromium_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.cc | 7 |
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 }, |