summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/public
diff options
context:
space:
mode:
authormferreria@chromium.org <mferreria@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 19:50:30 +0000
committermferreria@chromium.org <mferreria@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-14 19:50:30 +0000
commit0706341097163814a7bacf89aec118ebfd5ba69c (patch)
treeb8b73237bb393fcf54f2c3410d3e08186e6ff819 /sync/internal_api/public
parente82a750a739a620495eaee902dd7759cdb1e20a1 (diff)
downloadchromium_src-0706341097163814a7bacf89aec118ebfd5ba69c.zip
chromium_src-0706341097163814a7bacf89aec118ebfd5ba69c.tar.gz
chromium_src-0706341097163814a7bacf89aec118ebfd5ba69c.tar.bz2
Removed redundant notifications info from about:sync-internals
This patch removes the tab 'Notifications' from about:sync-internals. This tab used to be useful for debugging notifications as they arrived, but now that its functionality has been replaced and augmented in the new about:invalidations, with more general functionality and extended logging information, it is no longer necessary to have it here. BUG=351559 Review URL: https://codereview.chromium.org/196373004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public')
-rw-r--r--sync/internal_api/public/sync_manager.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index b90c597..fa2e585 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -184,34 +184,6 @@ class SYNC_EXPORT SyncManager : public syncer::InvalidationHandler {
// notification is illegal!
// WARNING: Calling methods on the SyncManager before receiving this
// message, unless otherwise specified, produces undefined behavior.
- //
- // |js_backend| is what about:sync interacts with. It can emit
- // the following events:
-
- /**
- * @param {{ enabled: boolean }} details A dictionary containing:
- * - enabled: whether or not notifications are enabled.
- */
- // function onNotificationStateChange(details);
-
- /**
- * @param {{ changedTypes: Array.<string> }} details A dictionary
- * containing:
- * - changedTypes: a list of types (as strings) for which there
- are new updates.
- */
- // function onIncomingNotification(details);
-
- // Also, it responds to the following messages (all other messages
- // are ignored):
-
- /**
- * Gets the current notification state.
- *
- * @param {function(boolean)} callback Called with whether or not
- * notifications are enabled.
- */
- // function getNotificationState(callback);
virtual void OnInitializationComplete(
const WeakHandle<JsBackend>& js_backend,