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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/cloudMessagingV1.html

Issue 476883003: Add deprecation message in chrome.pushMessaging API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Applying update setting deprecation to Chrome 38, removal to Chrome 40. Created 6 years, 4 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
OLDNEW
1 <meta name="doc-family" content="apps"> 1 <meta name="doc-family" content="apps">
2 <h1>Google Cloud Messaging for Chrome V1</h1> 2 <h1>Google Cloud Messaging for Chrome V1</h1>
3 3
4 <p class="note"> 4 <p class="note">
5 Google Cloud Messaging for Chrome V1 will be legacy soon. 5 Google Cloud Messaging for Chrome V1 is deprecated since Chrome 38.
6 Use the new <a href="cloudMessaging">Google Cloud Messaging API</a>. 6 It will be removed in Chrome 40.
7 Use the new <a href="cloudMessaging">Google Cloud Messaging</a>.
7 </p> 8 </p>
8 9
9 <p> 10 <p>
10 Google Cloud Messaging for Chrome (GCM) is a service 11 Google Cloud Messaging for Chrome (GCM) is a service
11 for signed-in Chrome users 12 for signed-in Chrome users
12 that helps developers send message data from servers 13 that helps developers send message data from servers
13 to their Chrome apps and extensions. 14 to their Chrome apps and extensions.
14 The service is intended to wake up an app or extension, 15 The service is intended to wake up an app or extension,
15 and/or alert a user. 16 and/or alert a user.
16 For example, calendar updates could be pushed to users 17 For example, calendar updates could be pushed to users
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 </p> 110 </p>
110 111
111 <ol> 112 <ol>
112 <li>Register your app or extension: 113 <li>Register your app or extension:
113 <ul> 114 <ul>
114 <li>Create the client ID in the Google APIs Console.</li> 115 <li>Create the client ID in the Google APIs Console.</li>
115 <li>Get the refresh token to set up authorization to use the service.</li> 116 <li>Get the refresh token to set up authorization to use the service.</li>
116 </ul> 117 </ul>
117 </li> 118 </li>
118 <li>Set up your app or extension to use the service: 119 <li>Set up your app or extension to use the service:
119 » <ul> 120 <ul>
120 » <li>Add the permission to the manifest.</li> 121 <li>Add the permission to the manifest.</li>
121 » <li>Include a call to <code>getChannelId</code> 122 <li>Include a call to <code>getChannelId</code>
122 for any user who is to receive a message.</li> 123 for any user who is to receive a message.</li>
123 » <li>Register a handler to receive the 124 <li>Register a handler to receive the <code>onMessage</code> event.</li>
124 » <code>onMessage</code> event.</li>» 125 </ul>
125 » </ul> 126 </li>
126 </li>
127 <li>Publish your app in the Chrome Web Store. </li> 127 <li>Publish your app in the Chrome Web Store. </li>
128 <li>Use refresh token to get a valid access token.</li> 128 <li>Use refresh token to get a valid access token.</li>
129 <li>Send message to user.</li> 129 <li>Send message to user.</li>
130 </ol> 130 </ol>
131 131
132 <h2 id="two">Register app or extension</h2> 132 <h2 id="two">Register app or extension</h2>
133 133
134 <h3 id="clientid">Create client ID</h3> 134 <h3 id="clientid">Create client ID</h3>
135 135
136 <p> 136 <p>
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 you need to remove the key because the Store does not currently allow manifests 548 you need to remove the key because the Store does not currently allow manifests
549 with keys. 549 with keys.
550 </p> 550 </p>
551 551
552 <h2 id="feedback">Feedback</h2> 552 <h2 id="feedback">Feedback</h2>
553 553
554 <p>You can provide feedback about Google Cloud Messaging 554 <p>You can provide feedback about Google Cloud Messaging
555 and the pushMessaging API through the Google Group 555 and the pushMessaging API through the Google Group
556 <a target="_blank" href="https://groups.google.com/forum/#!forum/gcm-for-chrome- feedback">GCM for Chrome feedback</a>. 556 <a target="_blank" href="https://groups.google.com/forum/#!forum/gcm-for-chrome- feedback">GCM for Chrome feedback</a>.
557 Use this group to ask for help, file bug reports, and request features.</p> 557 Use this group to ask for help, file bug reports, and request features.</p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698