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

Unified Diff: sync/tools/testserver/synced_notifications_app_info.html

Issue 780363003: Delete deprecated synced notifications code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More cleanup Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/tools/testserver/synced_notifications.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/testserver/synced_notifications_app_info.html
diff --git a/sync/tools/testserver/synced_notifications_app_info.html b/sync/tools/testserver/synced_notifications_app_info.html
deleted file mode 100644
index 42cbd12e80f532a1baa3e8105b9f4d532d339270..0000000000000000000000000000000000000000
--- a/sync/tools/testserver/synced_notifications_app_info.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <title>Synced notification App Info</title>
-
- <script type="text/javascript">
- // Creates link (appended to the bottom of the page body) to trigger a
- // new synced notification app info. The link's title will be |title|
- // and the ASCII-serialized app info will be
- // |synced_notification_app_info|.
- function appendSyncedNotificationAppInfoLink(title, app_info) {
- var link = document.createElement('a');
- link.innerHTML = title;
- link.setAttribute('target', '_blank');
- link.setAttribute('href', 'triggersyncednotificationappinfo?' +
- 'synced_notification_app_info=' +
- encodeURIComponent(app_info));
- document.body.appendChild(link);
- }
- </script>
- </head>
-
- <body>
- <h1>Synced Notification App Info</h1>
-
- <h2>Step 0: Sign in to the browser and set up Sync</h2>
-
- <h2>Step 1: Click this link (only required once per server lifetime)</h2>
-
- <a href="/customizeclientcommand?sessions_commit_delay_seconds=0">
- Make synced notification app info triggering instant</a>
-
- <h2>Step 2: Ctrl-Click the link below to send a synced notification app info</h2>
-
- <script type="text/javascript">
- // JSON version of an app info protobuf
- appendSyncedNotificationAppInfoLink(
- 'Simple SyncedNotificationAppInfo',
- 'settings_display_name: \"Google Maps\"\n' +
- 'icon: {\n' +
- ' alt_text: \"Google Maps\"\n' +
- ' preferred_height: 80\n' +
- ' preferred_width: 80\n' +
- ' url: \"https://ssl.gstatic.com/s2/oz/images/notifications/app_icons/system-gplus_62d72f2ec5e1ef193f0dfa600eabcfeb.png\"\n' +
- '}\n' +
- 'app_id: \"maps_street_view\"\n' +
- 'app_id: \"maps_earth_view\"\n');
- </script>
- </body>
-</html>
« no previous file with comments | « sync/tools/testserver/synced_notifications.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698