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

Side by Side Diff: Source/devtools/front_end/host/InspectorFrontendHost.js

Issue 1061503002: DevTools: use recordEnumeratedHistogram instead of recordActionTaken (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 * @param {!FileSystem} fileSystem 210 * @param {!FileSystem} fileSystem
211 */ 211 */
212 upgradeDraggedFileSystemPermissions: function(fileSystem) { }, 212 upgradeDraggedFileSystemPermissions: function(fileSystem) { },
213 213
214 /** 214 /**
215 * @return {string} 215 * @return {string}
216 */ 216 */
217 platform: function() { }, 217 platform: function() { },
218 218
219 /** 219 /**
220 * @param {string} actionName
221 * @param {number} actionCode
222 * @param {number} bucketSize
223 */
224 recordUMA: function(actionName, actionCode, bucketSize) { },
225
226 /**
220 * @param {number} actionCode 227 * @param {number} actionCode
221 */ 228 */
222 recordActionTaken: function(actionCode) { }, 229 recordActionTaken: function(actionCode) { },
dgozman 2015/04/03 14:23:48 Remove these.
lushnikov 2015/04/03 14:41:24 Done.
223 230
224 /** 231 /**
225 * @param {number} panelCode 232 * @param {number} panelCode
226 */ 233 */
227 recordPanelShown: function(panelCode) { }, 234 recordPanelShown: function(panelCode) { },
228 235
229 /** 236 /**
230 * @param {string} message 237 * @param {string} message
231 */ 238 */
232 sendMessageToBackend: function(message) { }, 239 sendMessageToBackend: function(message) { },
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 /** 450 /**
444 * @override 451 * @override
445 * @param {string} message 452 * @param {string} message
446 */ 453 */
447 sendMessageToBackend: function(message) 454 sendMessageToBackend: function(message)
448 { 455 {
449 }, 456 },
450 457
451 /** 458 /**
452 * @override 459 * @override
460 * @param {string} actionName
461 * @param {number} actionCode
462 * @param {number} bucketSize
463 */
464 recordUMA: function(actionName, actionCode, bucketSize)
465 {
466 },
467
468 /**
469 * @override
453 * @param {number} actionCode 470 * @param {number} actionCode
454 */ 471 */
455 recordActionTaken: function(actionCode) 472 recordActionTaken: function(actionCode)
dgozman 2015/04/03 14:23:48 Remove these.
lushnikov 2015/04/03 14:41:24 Done.
456 { 473 {
457 }, 474 },
458 475
459 /** 476 /**
460 * @override 477 * @override
461 * @param {number} panelCode 478 * @param {number} panelCode
462 */ 479 */
463 recordPanelShown: function(panelCode) 480 recordPanelShown: function(panelCode)
464 { 481 {
465 }, 482 },
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 // so the host instance should not initialized there. 739 // so the host instance should not initialized there.
723 initializeInspectorFrontendHost(); 740 initializeInspectorFrontendHost();
724 window.InspectorFrontendAPI = new InspectorFrontendAPIImpl(); 741 window.InspectorFrontendAPI = new InspectorFrontendAPIImpl();
725 if (!window.DevToolsHost) { 742 if (!window.DevToolsHost) {
726 WebInspector.setLocalizationPlatform(InspectorFrontendHost.platform()); 743 WebInspector.setLocalizationPlatform(InspectorFrontendHost.platform());
727 } else { 744 } else {
728 WebInspector.setLocalizationPlatform(DevToolsHost.platform()); 745 WebInspector.setLocalizationPlatform(DevToolsHost.platform());
729 } 746 }
730 747
731 })(); 748 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698