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

Side by Side Diff: chrome/browser/resources/feedback/js/event_handler.js

Issue 2297113002: Whitelist the APIs for chromeos/onhub recovery untility extensions. (Closed)
Patch Set: Whitelist the APIs for chromeos/onhub recovery untility extensions. Created 4 years, 3 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 <include src="data.js"> 5 <include src="data.js">
6 6
7 /** 7 /**
8 * @type {number} 8 * @type {number}
9 * @const 9 * @const
10 */ 10 */
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 'BA007D8D52CC0E2632EFCA03ACD003B0F613FD71', // http://crbug.com/470411 65 'BA007D8D52CC0E2632EFCA03ACD003B0F613FD71', // http://crbug.com/470411
66 '5260FA31DE2007A837B7F7B0EB4A47CE477018C8', // http://crbug.com/470411 66 '5260FA31DE2007A837B7F7B0EB4A47CE477018C8', // http://crbug.com/470411
67 '4F4A25F31413D9B9F80E61D096DEB09082515267', // http://crbug.com/470411 67 '4F4A25F31413D9B9F80E61D096DEB09082515267', // http://crbug.com/470411
68 'FBA0DE4D3EFB5485FC03760F01F821466907A743', // http://crbug.com/470411 68 'FBA0DE4D3EFB5485FC03760F01F821466907A743', // http://crbug.com/470411
69 'E216473E4D15C5FB14522D32C5F8DEAAB2CECDC6', // http://crbug.com/470411 69 'E216473E4D15C5FB14522D32C5F8DEAAB2CECDC6', // http://crbug.com/470411
70 '676A08383D875E51CE4C2308D875AE77199F1413', // http://crbug.com/473845 70 '676A08383D875E51CE4C2308D875AE77199F1413', // http://crbug.com/473845
71 '869A23E11B308AF45A68CC386C36AADA4BE44A01', // http://crbug.com/473845 71 '869A23E11B308AF45A68CC386C36AADA4BE44A01', // http://crbug.com/473845
72 'E9CE07C7EDEFE70B9857B312E88F94EC49FCC30F', // http://crbug.com/473845 72 'E9CE07C7EDEFE70B9857B312E88F94EC49FCC30F', // http://crbug.com/473845
73 'A4577D8C2AF4CF26F40CBCA83FFA4251D6F6C8F8', // http://crbug.com/478929 73 'A4577D8C2AF4CF26F40CBCA83FFA4251D6F6C8F8', // http://crbug.com/478929
74 'A8208CCC87F8261AFAEB6B85D5E8D47372DDEA6B', // http://crbug.com/478929 74 'A8208CCC87F8261AFAEB6B85D5E8D47372DDEA6B', // http://crbug.com/478929
75 // TODO (ntang) Removes after deprecation.
Rahul Chaturvedi 2016/09/09 17:06:27 TODO(ntang): Remove the following hashes by <inser
75 'B620CF4203315F9F2E046EDED22C7571A935958D', // http://crbug.com/510270 76 'B620CF4203315F9F2E046EDED22C7571A935958D', // http://crbug.com/510270
76 'B206D8716769728278D2D300349C6CB7D7DE2EF9', // http://crbug.com/510270 77 'B206D8716769728278D2D300349C6CB7D7DE2EF9', // http://crbug.com/510270
77 'EFCF5358672FEE04789FD2EC3638A67ADEDB6C8C', // http://crbug.com/514696 78 'EFCF5358672FEE04789FD2EC3638A67ADEDB6C8C', // http://crbug.com/514696
78 'FAD85BC419FE00995D196312F53448265EFA86F1', // http://crbug.com/516527 79 'FAD85BC419FE00995D196312F53448265EFA86F1', // http://crbug.com/516527
79 'F33B037DEDA65F226B7409C2ADB0CF3F8565AB03', // http://crbug.com/541769 80 'F33B037DEDA65F226B7409C2ADB0CF3F8565AB03', // http://crbug.com/541769
80 '969C788BCBC82FBBE04A17360CA165C23A419257', // http://crbug.com/541769 81 '969C788BCBC82FBBE04A17360CA165C23A419257', // http://crbug.com/541769
81 '3BC3740BFC58F06088B300274B4CFBEA20136342', // http://crbug.com/541769 82 '3BC3740BFC58F06088B300274B4CFBEA20136342', // http://crbug.com/541769
83 '2B6C6A4A5940017146F3E58B7F90116206E84685', // http://crbug.com/642141
84 '96FF2FFA5C9173C76D47184B3E86D267B37781DE', // http://crbug.com/642141
82 ]; 85 ];
83 86
84 /** 87 /**
85 * Used to generate unique IDs for FeedbackRequest objects. 88 * Used to generate unique IDs for FeedbackRequest objects.
86 * @type {number} 89 * @type {number}
87 */ 90 */
88 var lastUsedId = 0; 91 var lastUsedId = 0;
89 92
90 /** 93 /**
91 * A FeedbackRequest object represents a unique feedback report, requested by an 94 * A FeedbackRequest object represents a unique feedback report, requested by an
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // Observe when the window is closed. 293 // Observe when the window is closed.
291 appWindow.onClosed.addListener(function() { 294 appWindow.onClosed.addListener(function() {
292 request.onWindowClosed(); 295 request.onWindowClosed();
293 }); 296 });
294 }); 297 });
295 } 298 }
296 299
297 chrome.runtime.onMessage.addListener(feedbackReadyHandler); 300 chrome.runtime.onMessage.addListener(feedbackReadyHandler);
298 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler); 301 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler);
299 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI); 302 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698