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

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

Issue 977583003: Add app hashes to feedback whitelist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 5 /**
6 * @type {number} 6 * @type {number}
7 * @const 7 * @const
8 */ 8 */
9 var FEEDBACK_WIDTH = 500; 9 var FEEDBACK_WIDTH = 500;
10 /** 10 /**
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 '0F585FB1D0FDFBEBCE1FEB5E9DFFB6DA476B8C9B', // Hangouts Extension 45 '0F585FB1D0FDFBEBCE1FEB5E9DFFB6DA476B8C9B', // Hangouts Extension
46 '2D22CDB6583FD0A13758AEBE8B15E45208B4E9A7', // Hangouts Extension 46 '2D22CDB6583FD0A13758AEBE8B15E45208B4E9A7', // Hangouts Extension
47 '49DA0B9CCEEA299186C6E7226FD66922D57543DC', // Hangouts Extension 47 '49DA0B9CCEEA299186C6E7226FD66922D57543DC', // Hangouts Extension
48 'E7E2461CE072DF036CF9592740196159E2D7C089', // Hangouts Extension 48 'E7E2461CE072DF036CF9592740196159E2D7C089', // Hangouts Extension
49 'A74A4D44C7CFCD8844830E6140C8D763E12DD8F3', // Hangouts Extension 49 'A74A4D44C7CFCD8844830E6140C8D763E12DD8F3', // Hangouts Extension
50 '312745D9BF916161191143F6490085EEA0434997', // Hangouts Extension 50 '312745D9BF916161191143F6490085EEA0434997', // Hangouts Extension
51 '53041A2FA309EECED01FFC751E7399186E860B2C', // Hangouts Extension 51 '53041A2FA309EECED01FFC751E7399186E860B2C', // Hangouts Extension
52 '0F42756099D914A026DADFA182871C015735DD95', // Hangouts Extension 52 '0F42756099D914A026DADFA182871C015735DD95', // Hangouts Extension
53 '1B7734733E207CCE5C33BFAA544CA89634BF881F', // GLS nightly 53 '1B7734733E207CCE5C33BFAA544CA89634BF881F', // GLS nightly
54 'E2ACA3D943A3C96310523BCDFD8C3AF68387E6B7', // GLS stable 54 'E2ACA3D943A3C96310523BCDFD8C3AF68387E6B7', // GLS stable
55 '11B478CEC461C766A2DC1E5BEEB7970AE06DC9C2', // http://crbug.com/463552
56 '0EFB879311E9EFBB7C45251F89EC655711B1F6ED', // http://crbug.com/463552
57 '9193D3A51E2FE33B496CDA53EA330423166E7F02', // http://crbug.com/463552
58 'F9119B8B18C7C82B51E7BC6FF816B694F2EC3E89', // http://crbug.com/463552
55 ]; 59 ];
56 60
57 61
58 /** 62 /**
59 * Function to determine whether or not a given extension id is whitelisted to 63 * Function to determine whether or not a given extension id is whitelisted to
60 * invoke the feedback UI. If the extension is whitelisted, the callback to 64 * invoke the feedback UI. If the extension is whitelisted, the callback to
61 * start the Feedback UI will be called. 65 * start the Feedback UI will be called.
62 * @param {string} id the id of the sender extension. 66 * @param {string} id the id of the sender extension.
63 * @param {Function} startFeedbackCallback The callback function that will 67 * @param {Function} startFeedbackCallback The callback function that will
64 * will start the feedback UI. 68 * will start the feedback UI.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 width: FEEDBACK_WIDTH, 122 width: FEEDBACK_WIDTH,
119 height: FEEDBACK_HEIGHT, 123 height: FEEDBACK_HEIGHT,
120 hidden: true, 124 hidden: true,
121 resizable: false }, 125 resizable: false },
122 function(appWindow) {}); 126 function(appWindow) {});
123 } 127 }
124 128
125 chrome.runtime.onMessage.addListener(feedbackReadyHandler); 129 chrome.runtime.onMessage.addListener(feedbackReadyHandler);
126 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler); 130 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler);
127 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI); 131 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698